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

Feat/exchange object meta signatures #2936

Closed
wants to merge 5 commits into from

Commits on Sep 12, 2024

  1. node/meta: store tombstone's expiration in graveyard

    It takes too much of network/disk to handle tombstones expiration and removal,
    so it is better to store it when tombstone is being indexed in metabase.
    Additional little-endian expiration suffix was added to graveyard values.
    Metabase version was increased as it is a non-compatible change. Relates #2929.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    99a59ac View commit details
    Browse the repository at this point in the history
  2. node/shard: allow tombstones expire naturally

    They do not differ from the other objects (e.g. locks do). Initial logic has
    changed much, graveyard now allows to handle expired tombstones marks (do not
    confuse it with the lists of regular indexes) independently, while disk can be
    cleared with the other types of object. Also, add tests for it.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    e741d1b View commit details
    Browse the repository at this point in the history
  3. node/meta,shard: use tombstone expiration index instead of network

    Graveyard now has tombstone expiration marks in epochs, there is no need to use
    any network requests, just drop records if an epoch is big enough.
    Closes #2929.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    cd7d5fa View commit details
    Browse the repository at this point in the history
  4. *: drop unused code related to the old tombstones handling

    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    90d5cfe View commit details
    Browse the repository at this point in the history
  5. lens, meta: support both graveyard version

    It may or may not index tombstone's expiration in graveyard.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    28fd1e7 View commit details
    Browse the repository at this point in the history