Skip to content

Commit

Permalink
[Remote Store] Fix shard failure on flush due to upload timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Singh <[email protected]>
  • Loading branch information
ashking94 committed Oct 25, 2023
1 parent 6779633 commit 42ce752
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public boolean transferSnapshot(TransferSnapshot transferSnapshot, TranslogTrans

try {
if (latch.await(TRANSFER_TIMEOUT_IN_MILLIS, TimeUnit.MILLISECONDS) == false) {
Exception ex = new TimeoutException("Timed out waiting for transfer of snapshot " + transferSnapshot + " to complete");
Exception ex = new TranslogUploadFailedException("Timed out waiting for transfer of snapshot " + transferSnapshot + " to complete");
exceptionList.forEach(ex::addSuppressed);
throw ex;
}
Expand Down

0 comments on commit 42ce752

Please sign in to comment.