Paginated replay (delegates to standalone `replay_from_limit_dir`).
(
&self,
from_lsn: u64,
max_records: usize,
)
| 223 | |
| 224 | /// Paginated replay (delegates to standalone `replay_from_limit_dir`). |
| 225 | pub fn replay_from_limit( |
| 226 | &self, |
| 227 | from_lsn: u64, |
| 228 | max_records: usize, |
| 229 | ) -> Result<(Vec<WalRecord>, bool)> { |
| 230 | replay_from_limit_dir(&self.wal_dir, from_lsn, max_records) |
| 231 | } |
| 232 | |
| 233 | /// List all segment metadata (for monitoring / operational tooling). |
| 234 | pub fn list_segments(&self) -> Result<Vec<SegmentMeta>> { |