Skip to content

Commit

Permalink
cleanup doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiantia committed Jan 16, 2025
1 parent ec3ca83 commit 537190a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/src/log_segment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ fn list_log_files_with_version(
}
}

// Group and find the first complete checkpoint found for this version,
// no matter how many exist as they are all equivalent.
// Group and find the first complete checkpoint for this version.
// All checkpoints for the same version are equivalent, so we only take one.
if let Some((_, complete_checkpoint)) = group_checkpoint_parts(new_checkpoint_parts)
.into_iter()
.find(|(num_parts, part_files)| part_files.len() == *num_parts as usize)
Expand Down

0 comments on commit 537190a

Please sign in to comment.