Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhZs committed Aug 27, 2024
1 parent 98871b8 commit 65a2f78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/meta/src/hummock/manager/versioning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ impl HummockManager {
.get(&TableId::new(table_id))
{
let table_change_log = table_change_log.clone();
table_change_log.get_epochs(min_epoch, max_count as usize)
table_change_log.get_non_empty_epochs(min_epoch, max_count as usize)
} else {
vec![]
}
Expand Down
2 changes: 1 addition & 1 deletion src/storage/hummock_sdk/src/change_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl TableChangeLog {
}

/// Returns epochs where value is non-null and >= `min_epoch`.
pub fn get_epochs(&self, min_epoch: u64, max_count: usize) -> Vec<u64> {
pub fn get_non_empty_epochs(&self, min_epoch: u64, max_count: usize) -> Vec<u64> {
self.filter_epoch((min_epoch, u64::MAX))
.iter()
.filter(|epoch_change_log| {
Expand Down

0 comments on commit 65a2f78

Please sign in to comment.