Skip to content

Commit

Permalink
Increase timeout while checking for no snapshotted commit (#49461)
Browse files Browse the repository at this point in the history
If some replica is performing a file-based recovery, then the check 
assertNoSnapshottedIndexCommit would fail. We should increase the
timeout for this check so that we can wait until all recoveries done
or aborted.

Closes #49403
  • Loading branch information
dnhatn committed Nov 24, 2019
1 parent 7a50aff commit 3a96f4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ private void assertNoSnapshottedIndexCommit() throws Exception {
}
}
}
});
}, 60, TimeUnit.SECONDS);
}

/**
Expand Down

0 comments on commit 3a96f4e

Please sign in to comment.