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

Add in support for segmented binary stream snapshots. #4284

Merged
merged 1 commit into from Jul 5, 2023

Commits on Jul 3, 2023

  1. Add in support for segmented binary stream snapshots.

    Streams with many interior deletes was causing issues due to the fact that the interior deletes were represented as a sorted []uint64.
    This approach introduces 3 sub types of delete blocks, avl bitmask tree, a run length encoding, and the legacy format above.
    We also take into account large interior deletes such that on receiving a snapshot we can skip things we already know about.
    
    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    4d7cd26 View commit details
    Browse the repository at this point in the history