Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Signed-off-by: Zhenchi <[email protected]>
  • Loading branch information
zhongzc committed Jan 16, 2025
1 parent 3333215 commit b43998b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/src/bloom_filter/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl<R: RangeReader> BloomFilterMetaReader<R> {
.await
.context(IoSnafu)?;
let suffix_len = suffix.len();
let length: u64 = u32::from_le_bytes(Self::read_tailing_four_bytes(&suffix)?) as u64;
let length = u32::from_le_bytes(Self::read_tailing_four_bytes(&suffix)?) as u64;
self.validate_meta_size(length)?;

if length > suffix_len as u64 - BLOOM_META_LEN_SIZE {
Expand Down

0 comments on commit b43998b

Please sign in to comment.