This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Faster room joins: Try other destinations when resyncing the state of a partial-state room #12812
Faster room joins: Try other destinations when resyncing the state of a partial-state room #12812
Changes from 4 commits
dd3e926
2d63f45
83a9310
808ad43
356f0c3
c713c47
ab3ccf7
55460da
972a021
ed290b2
4363bd3
3efe1df
dd6bf3f
af79717
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might not be the best thing to do. We might reach here in the event of a temporary network outage. Then the resync would be stuck until the next restart.
Retrying all destinations indefinitely is also not the best thing to do, eg. if we can successfully reach all homeservers and they all claim they don't have the data we want.
Nonetheless, this PR is an improvement and doesn't introduce any failure modes that didn't exist before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed. This is one of my "big unanswered questions" for faster joins. Let's leave it like this for now.
could you add a
# TODO(faster_joins)
alluding to this?