Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zwang28 committed Sep 12, 2024
1 parent 9631102 commit 56cb908
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/storage/src/hummock/store/hummock_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,11 @@ impl HummockStorage {
let ret = if let Some(info) = info
&& epoch <= info.committed_epoch
{
if epoch < info.committed_epoch {
return Err(
HummockError::expired_epoch(table_id, info.committed_epoch, epoch).into(),
);
}
// read committed_version directly without build snapshot
get_committed_read_version_tuple(pinned_version, table_id, key_range, epoch)
} else {
Expand Down

0 comments on commit 56cb908

Please sign in to comment.