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

[sys-6435] make DeleteLocalInvisibleFiles public #298

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

seckcoder
Copy link

@seckcoder seckcoder commented Oct 24, 2023

This is to help with #sys-6435, in which live mount replicas never purge local manifest files.

My plan is to call DeleteLocalInvisibleFiles after follower applies kNewEpoch. This will delete both invisible MANIFEST and CLOUDMANIFEST files. NOTE that there is only one single CLOUDMANFIEST file locally since we never override the one in local disk once it's loaded. Also It's ok to delete local CLOUDMANIFEST files with live db. We only read it when opening rocksdb.

@seckcoder seckcoder merged commit dfaa89b into master Oct 25, 2023
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants