feat: Add info log to wal replay (#25752)

pull/25704/head
Paul Dix 2025-01-06 13:22:26 -05:00 committed by GitHub
parent d78756f02f
commit 74605ffa5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -132,6 +132,14 @@ impl WalObjectStore {
Timestamp::new(wal_contents.max_timestamp_ns),
));
info!(
n_ops = %wal_contents.ops.len(),
min_timestamp_ns = %wal_contents.min_timestamp_ns,
max_timestamp_ns = %wal_contents.max_timestamp_ns,
wal_file_number = %wal_contents.wal_file_number,
"replaying WAL file"
);
match wal_contents.snapshot {
// This branch uses so much time
None => self.file_notifier.notify(wal_contents).await,