Expand description
Dropped region GC handling.
This module handles garbage collection for “dropped regions”. A dropped region is:
- Recorded in
table_repartmetadata (the only place that still remembers it) - No longer exists in
table_routemetadata (removed from region routing) - No longer present in any datanode’s heartbeat (physically closed)
This differs from “active regions” which exist in both metadata and heartbeats.
The table_repart entry serves as a tombstone that tracks which regions were
merged/split and need their files cleaned up.
Structs§
- Dropped
Region 🔒Assignment - Result of collecting and assigning dropped regions to peers.
- Dropped
Region 🔒Collector - Collector for dropped regions that need GC.
- Dropped
Region 🔒Info - Information about a dropped region ready for GC.