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

WIP: create new state snapshots on join #248

Closed
wants to merge 5 commits into from

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented Aug 11, 2023

Fixes #211 by implementing #232.

As per #211 - this combines Initialise and Accumulate into a single
ProcessRoomEvents functions which can do snapshots / timelines.

Implements the "brand new snapshot on create event" logic, which
currently does not correctly invalidate caches.

E2E tests pass, but integ tests are broken.
@kegsay kegsay marked this pull request as draft August 11, 2023 15:49
DMRobertson pushed a commit that referenced this pull request Aug 17, 2023
Described in #211 (comment).

This is essentially cherry picked from #248, in particular the commit
    8c7046e

This should prevent creating new snapshots that don't reflect the state
of the room. We'll need a followup task to clean up bad snapshots.
@kegsay
Copy link
Member Author

kegsay commented Sep 26, 2023

Closing as dmr has ended up doing something different here.

@kegsay kegsay closed this Sep 26, 2023
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.

Persist large gappy state blocks as a single snapshot
1 participant