Iterate all (tenant, partition) pairs. Used for checkpointing, memory accounting, and administrative views that genuinely need to see every tenant's state.
(&self)
| 122 | /// memory accounting, and administrative views that genuinely |
| 123 | /// need to see every tenant's state. |
| 124 | pub fn iter(&self) -> Iter<'_, TenantId, CsrIndex> { |
| 125 | self.partitions.iter() |
| 126 | } |
| 127 | |
| 128 | /// Mutable iteration over all partitions. Used by `compact()` and |
| 129 | /// similar maintenance passes that apply per-partition without |
no outgoing calls