List all segment metadata (for monitoring / operational tooling).
(&self)
| 232 | |
| 233 | /// List all segment metadata (for monitoring / operational tooling). |
| 234 | pub fn list_segments(&self) -> Result<Vec<SegmentMeta>> { |
| 235 | discover_segments(&self.wal_dir) |
| 236 | } |
| 237 | |
| 238 | /// Total WAL size on disk across all segments. |
| 239 | pub fn total_size_bytes(&self) -> Result<u64> { |