Skip to content

Commit

Permalink
fix(issues2193): retry 2 times to cover most of BlockNotContinuousExc…
Browse files Browse the repository at this point in the history
…eption (#2194)

Signed-off-by: Robin Han <hanxvdovehx@gmail.com>
  • Loading branch information
superhx authored Nov 29, 2024
1 parent fba35b6 commit d6641d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public CompletableFuture<ReadDataBlock> read(long startOffset, long endOffset, i
}
reading = true;
try {
return read(startOffset, endOffset, maxBytes, 1).whenComplete((rst, ex) -> reading = false);
return read(startOffset, endOffset, maxBytes, 2).whenComplete((rst, ex) -> reading = false);
} catch (Throwable e) {
reading = false;
return FutureUtil.failedFuture(e);
Expand Down

0 comments on commit d6641d7

Please sign in to comment.