Skip to content

Commit 7ad2188

Browse files
committed
fixup! add more logging
1 parent c5210f2 commit 7ad2188

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

libsql-wal/src/segment/list.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ where
136136
let mut last_replication_index = 0;
137137
while let Some((k, v)) = union.next() {
138138
let page_no = u32::from_be_bytes(k.try_into().unwrap());
139-
tracing::debug!(page_no);
139+
tracing::trace!(page_no);
140140
let v = v.iter().min_by_key(|i| i.index).unwrap();
141141
let offset = v.value as u32;
142142

@@ -198,6 +198,8 @@ where
198198

199199
self.len.fetch_sub(segs.len(), Ordering::Relaxed);
200200

201+
tracing::debug!(until = last_replication_index, "checkpointed");
202+
201203
Ok(Some(last_replication_index))
202204
}
203205

0 commit comments

Comments
 (0)