Skip to content

Commit

Permalink
Add debug message about segment indices length
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Apr 30, 2024
1 parent 5caa240 commit 77fb5d6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ where
let internal_result = match req {
SegmentHeaderRequest::SegmentIndexes { segment_indexes } => {
if segment_indexes.len() as u64 > SEGMENT_HEADER_NUMBER_LIMIT {
debug!(
"segment_indexes length exceed the limit: {} ",
segment_indexes.len()
);

return None;
}

Expand Down

0 comments on commit 77fb5d6

Please sign in to comment.