You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a minor bug where the raft snapshot file is not deleted if the leader fails to send it out. I'll link a PR with an integration test that will demonstrate this.
The text was updated successfully, but these errors were encountered:
close#16976
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. The commit ensures
that the snapshot file is also deleted on the error path. A new integration
test was added which would fail without the fix.
Signed-off-by: Bisheng Huang <hbisheng@gmail.com>
Co-authored-by: lucasliang <nkcs_lykx@hotmail.com>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Bug Report
There is a minor bug where the raft snapshot file is not deleted if the leader fails to send it out. I'll link a PR with an integration test that will demonstrate this.
The text was updated successfully, but these errors were encountered: