pageserver: add remote storarge scan API

This commit is contained in:
John Spray
2024-04-18 20:30:57 +01:00
parent aba81434ce
commit 695e5b9fce
7 changed files with 129 additions and 15 deletions
+2
View File
@@ -34,6 +34,8 @@ pub enum Generation {
/// scenarios where pageservers might otherwise issue conflicting writes to
/// remote storage
impl Generation {
pub const MAX: Self = Self::Valid(u32::MAX);
/// Create a new Generation that represents a legacy key format with
/// no generation suffix
pub fn none() -> Self {