diff --git a/src/index/src/bloom_filter/reader.rs b/src/index/src/bloom_filter/reader.rs index 90db44ffdffa..037eb6b3db1e 100644 --- a/src/index/src/bloom_filter/reader.rs +++ b/src/index/src/bloom_filter/reader.rs @@ -162,7 +162,7 @@ impl BloomFilterMetaReader { .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 {