This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Repository navigation
Catch-up after Federation Outage (split, 4): catch-up loop #8272
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d97533a
Introduce idea of catching-up
reivilibre bc76476
Cache the last successful stream ordering as we are the sole writer
reivilibre 0559b08
Add DB query to get PDUs for catch-up
reivilibre 43f71e6
Add a catch-up loop
reivilibre d45062a
Handle the case of not knowing if we are in catch-up on first run
reivilibre b7886cc
Don't enqueue PDUs during catch-up
reivilibre 931a140
Typo fixes
reivilibre 0e752af
Fix bug in catchup loop
reivilibre 9481f5f
Add tests for catchup
reivilibre eda7713
Antilint
reivilibre b226bb6
Newsfile; wordsmithing please
reivilibre 13a108e
Fix typing tests
reivilibre 07b2527
Actually track last skipped
reivilibre 3744201
Remove icky tristateness
reivilibre a2ca953
Make catch-up skip counter zero on start, not None
reivilibre f85236a
Log when we catch up a room.
reivilibre b0fb2b2
Update/clarify comment
reivilibre d19ae8c
Log that at info
reivilibre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix messages over federation being lost until an event is sent into the same room. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.