Skip to content

Commit

Permalink
added debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunwangs committed Jan 30, 2025
1 parent b3fbb0c commit 76ba9b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions local-cluster/src/local_cluster_snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ impl LocalCluster {
if let Some(full_snapshot_archive_info) =
snapshot_utils::get_highest_full_snapshot_archive_info(&full_snapshot_archives_dir)
{
trace!("Got snapshot info: {:?}", full_snapshot_archive_info);
match next_snapshot_type {
NextSnapshotType::FullSnapshot => {
if full_snapshot_archive_info.slot() >= last_slot {
Expand All @@ -115,6 +116,11 @@ impl LocalCluster {
}
}
}
} else {
trace!(
"Could not get snapshot info from {:?}",
full_snapshot_archives_dir.as_ref()
);
}
if let Some(max_wait_duration) = max_wait_duration {
assert!(
Expand Down

0 comments on commit 76ba9b8

Please sign in to comment.