Skip to content

Commit

Permalink
remove debug assert
Browse files Browse the repository at this point in the history
  • Loading branch information
wcy-fdu committed Oct 30, 2023
1 parent 157b83f commit 90c38bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/storage/hummock_sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ impl EpochWithGap {
}

pub fn new_from_epoch(epoch: u64) -> Self {
#[cfg(not(feature = "enable_test_epoch"))]
{
debug_assert_eq!(epoch & EPOCH_MASK, 0);
}
// #[cfg(not(feature = "enable_test_epoch"))]
// {
// debug_assert_eq!(epoch & EPOCH_MASK, 0);
// }

EpochWithGap::new(epoch, 0)
}
Expand Down

0 comments on commit 90c38bb

Please sign in to comment.