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

don't (re)link fragments in fill, close gap if overlap w linked fragment #508

Merged
merged 4 commits into from
Sep 24, 2021

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Sep 23, 2021

Fixes #393, alternative to #505

Having reached the conclusion that we might not be able to determine overlap when storing /context responses in the timeline event store, this PR assumes all fragments are sync fragments and don't need to be linked up when backfilling. Thus the solution to find overlap becomes simpler and we close the gap when at least one event with the expected fragment id is found in the /messages response.

@bwindels bwindels marked this pull request as draft September 23, 2021 16:07
@bwindels bwindels marked this pull request as ready for review September 24, 2021 13:42
@bwindels bwindels merged commit a7b6fe4 into master Sep 24, 2021
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.

History is swallowed before point of joining room
1 participant