From 4ea3faf0f04db4b6a277ae0681f71fa447b6e02c Mon Sep 17 00:00:00 2001 From: Daniel Boll Date: Tue, 25 Mar 2025 21:46:17 -0300 Subject: [PATCH] Remove unnecessary TODO comment in wal.rs --- core/storage/wal.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/storage/wal.rs b/core/storage/wal.rs index af0c8f11d..9fb665edf 100644 --- a/core/storage/wal.rs +++ b/core/storage/wal.rs @@ -509,8 +509,7 @@ impl Wal for WalFile { match state { CheckpointState::Start => { // TODO(pere): check what frames are safe to checkpoint between many readers! - self.ongoing_checkpoint.min_frame = self.min_frame; // TODO(daniel): Check if 1 - // is needed here + self.ongoing_checkpoint.min_frame = self.min_frame; let mut shared = self.shared.write(); let mut max_safe_frame = shared.max_frame; for (read_lock_idx, read_lock) in shared.read_locks.iter_mut().enumerate() {