mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-03 13:30:38 +00:00
Update pageserver/src/tenant/layer_map.rs
Co-authored-by: Joonas Koivunen <joonas@neon.tech>
This commit is contained in:
committed by
GitHub
parent
5f39328a06
commit
6b35f3307f
@@ -285,7 +285,7 @@ where
|
||||
}
|
||||
warn!("Replace duplicate layer {} in layer map", layer.short_id());
|
||||
}
|
||||
Replacement::Unexpected(_) => bail!("Replace layer with itslef is prohibited"),
|
||||
Replacement::Unexpected(_) => bail!("Replace layer with itself is prohibited"),
|
||||
Replacement::NotFound | Replacement::RemovalBuffered => {
|
||||
self.historic.insert(key, Arc::clone(&layer));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user