This commit is contained in:
Vlad Lazar
2024-04-14 18:50:38 +01:00
parent 8b042622cf
commit 597375c874

View File

@@ -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?;