Whether this segment needs compaction (high tombstone ratio).
(&self, threshold: f64)
| 72 | |
| 73 | /// Whether this segment needs compaction (high tombstone ratio). |
| 74 | pub fn needs_compaction(&self, threshold: f64) -> bool { |
| 75 | self.tombstone_ratio() > threshold |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | /// Result of a compaction pass. |
no test coverage detected