FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Update merge-tree snapshot to include segments between MSN and snapshot sequence number

Open kurtb opened this issue 7 years ago • 4 comments

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.

kurtb avatar Feb 05 '19 03:02 kurtb

@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?

DLehenbauer avatar Oct 01 '19 17:10 DLehenbauer

...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.

DLehenbauer avatar Oct 01 '19 17:10 DLehenbauer

The work for this is in. Need to come up with a flighting plan to test this before rolling out broadly

anthony-murphy avatar May 28 '20 17:05 anthony-murphy

Closing per conversation with Tony

danielroney avatar Sep 03 '20 22:09 danielroney