Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perf improvement to getting auth chains #17169

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented May 8, 2024

Let's see if this helps.

--

Regression introduced in #17044

Fixes: #17129

Replaces: #17154

@erikjohnston erikjohnston marked this pull request as ready for review May 8, 2024 15:33
@erikjohnston erikjohnston requested a review from a team as a code owner May 8, 2024 15:33
@csett86
Copy link

csett86 commented May 9, 2024

@erikjohnston I applied this patch on 1.106.0 and unfortunately it does not really improve. Very long get_auth_chain_difference_chains are back:

Bildschirmfoto 2024-05-09 um 16 39 14

@heftig
Copy link

heftig commented May 15, 2024

The old code also removed the chains that _materialize adds to the chains from the chains_to_fetch. Is this behavior covered again?

@@ -581,7 +592,7 @@ def fetch_chain_info(events_to_fetch: Collection[str]) -> None:
# are reachable from any event.

# (We need to take a copy of `seen_chains` as the function mutates it)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment no longer applies.

@reivilibre reivilibre removed the request for review from a team May 29, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Very long query times for get_auth_chain_difference_chains
3 participants