-
Notifications
You must be signed in to change notification settings - Fork 522
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
Update merge-tree snapshot to include segments between MSN and snapshot sequence number #84
Comments
@anthony-murphy - Is this as simple as changing extractSegment to include all segments and deleting the code that maintains the list of messages since MSN? |
...I ask because I probably need to duplicate or refactor the code in question in order to move SparseMatrix to using 2D ops instead of piggy backing on MergeTree's ops... which I think is probably necessary for efficient dependency tracking / invalidation. |
* MergeTree: Remove unused 'EmptyChunk' * MergeTree: Add new Snapshot format which includes ACKed segments * MergeTree: Add unit tests for new snapshot format * MergeTree: Update comment on `walkAllSegments` * MergeTree: CR feedback
The work for this is in. Need to come up with a flighting plan to test this before rolling out broadly |
Closing per conversation with Tony |
The current merge tree snapshot includes all zamboni'd segments. And then plays tardis'd messages between the min sequence number and the snapshot sequence number. This requires us to create, load and replay these tardis'd operations. Load can be simplified and storage decreased by including segments that haven't been zamboni'd in the snapshot.
The text was updated successfully, but these errors were encountered: