Skip to content

How major GC handles orphan segments and blocks? #9149

Answered by dantengsky
zwang28 asked this question in Q&A
Discussion options

You must be logged in to vote

IIUC major GC refers to do_gc

the "major GC" is still under development.

But I cannot figure out how segments and blocks that is not tracked by any snapshot files...

for the first iteration, the "major GC' will be implemented in a straightforward way, listing all the data files we are interested in, if they are not referenced by the current snapshot (or the GC root specified), and out of the retention period, they should be collected.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zwang28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants