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

raftstore: fix a bug where snapshot file is not deleted in time #16977

Merged
merged 3 commits into from
May 16, 2024

Commits on May 9, 2024

  1. raftstore: fix a bug where snapshot file is not deleted in time

    The issue is that if a leader fails to send a snapshot, it doesn't delete the
    snapshot file which may accumulate and waste disk space. The idle snapshot
    files will eventually be GCed, but that might take hours.
    
    Test Plan:
    Added a new integration test that would fail without the fix.
    
    Signed-off-by: Bisheng Huang <hbisheng@gmail.com>
    hbisheng committed May 9, 2024
    Configuration menu
    Copy the full SHA
    5e9a46d View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    cd65d5b View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Configuration menu
    Copy the full SHA
    9bc8686 View commit details
    Browse the repository at this point in the history