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
Support triggering compaction of all files under a given directory
design
what we have
meta.engine.compact(inode Ino, index uint32, force bool)
what we should do
Iterate entries under specific path, get all set (inode, type, length)
For a file, calculate the chunk count based on its length. The chunk index ranges from 0 to (chunk count-1). Perform 'compact' operation on all chunks(maybe not exists).
What would you like to be added:
Support triggering compaction of all files under a given directory
Why is this needed:
An alternative light way of
gc --compact
for large clusters.The text was updated successfully, but these errors were encountered: