Skip to content

Commit 9312426

Browse files
committed
update comments
1 parent 17553c3 commit 9312426

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

kernel/src/log_replay/deduplicator.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
//! - **JSON commit files** (`is_log_batch = true`): Tracks (path, dv_unique_id) and updates
66
//! the hashmap as files are seen. Implementation: [`FileActionDeduplicator`]
77
//!
8-
//! - **Checkpoint files** (`is_log_batch = false`): Uses a read-only Tracks (path, dv_unique_id)
9-
//! hashmap pre-populated from the commit log phase. Future implementation.
8+
//! - **Checkpoint files** (`is_log_batch = false`): Uses (path, dv_unique_id) to filter actions
9+
//! using a read-only hashmap pre-populated from the commit log phase. Future implementation.
1010
//!
1111
//! [`FileActionDeduplicator`]: crate::log_replay::FileActionDeduplicator
1212
@@ -17,8 +17,7 @@ use crate::{
1717
};
1818

1919
pub(crate) trait Deduplicator {
20-
/// Key type for identifying file actions. JSON deduplicators use `FileActionKey`
21-
/// (path + dv_unique_id), checkpoint deduplicators may use path-only keys.
20+
/// Key type for identifying file actions.
2221
type Key;
2322

2423
/// Extracts a file action key from the data. Returns `(key, is_add)` if found.

0 commit comments

Comments
 (0)