gc is the maintenance command for cleaning up Rinne data under .rinne. It can delete unreachable CAS objects and maintain cache databases used by the workspace.
Use --dry-run first when you want to inspect what would be removed without changing any data under .rinne.
Usage
rinne gc [--dry-run] [--vacuum] [--parallel <N>] [--no-cas] [--no-db]Options
--dry-run
Report what would be removed without deleting anything.
--vacuum
Run VACUUM for the cache database. This can be heavy.
--parallel <N>
Override parallelism for CAS deletion.
--no-cas
Skip CAS cleanup.
--no-db
Skip cache database maintenance.
Examples
Preview cleanup only
rinne gc --dry-runRun normal cleanup
rinne gcClean CAS only with custom parallelism
rinne gc --no-db --parallel 8Maintain databases only and vacuum
rinne gc --no-cas --vacuumNotes
- Use gc after delete when you want unreachable chunks and staged trash data to be cleaned up.
- --vacuum is intentionally optional because it can be expensive.