mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 10:22:56 +00:00
sq
This commit is contained in:
@@ -4670,6 +4670,7 @@ impl<'a> TimelineWriter<'a> {
|
||||
action: OpenLayerAction,
|
||||
) -> anyhow::Result<&Arc<InMemoryLayer>> {
|
||||
match action {
|
||||
// TODO: Move this into InMemoryLayer
|
||||
OpenLayerAction::Roll => {
|
||||
let freeze_at = self.write_guard.as_ref().unwrap().max_lsn.unwrap();
|
||||
self.roll_layer(freeze_at).await?;
|
||||
|
||||
Reference in New Issue
Block a user