Skip to content

Commit

Permalink
Update block_cache.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 authored Jan 26, 2025
1 parent 77fb2a9 commit ee26ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::sync::Arc;

type Item = Either<Arc<ValueBlock>, Arc<IndexBlock>>;

// (Type (disk or index), Segment ID, Block offset)
// (Segment ID, Block offset)
#[derive(Eq, std::hash::Hash, PartialEq)]
struct CacheKey(GlobalSegmentId, BlockOffset);

Expand Down

0 comments on commit ee26ba5

Please sign in to comment.