-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] SharedClusterSnapshotRestoreIT.testAbortedSnapshotDuringInitDoesNotStart Fails #38489
Comments
Pinging @elastic/es-distributed |
Seems like a problem with the mock repository block. If I put a sleep before the busy assert: TimeUnit.SECONDS.sleep(2L);
// The deletion must set the snapshot in the ABORTED state
assertBusy(() -> {
SnapshotsStatusResponse status =
client.admin().cluster().prepareSnapshotStatus("repository").setSnapshots("snap").get();
assertThat(status.getSnapshots().iterator().next().getState(), equalTo(State.ABORTED));
}); it fails every time, seems the snapshot is deleted already even without unblocking the master node in the next lines: // Now unblock the repository
unblockNode("repository", internalCluster().getMasterName());
blocked = false;
assertAcked(delete.get());
expectThrows(SnapshotMissingException.class, () ->
client.admin().cluster().prepareGetSnapshots("repository").setSnapshots("snap").get()); |
Failed again to day on 7.0: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.0+internalClusterTest/139/console |
* Fix Issue with Concurrent Snapshot Init + Delete by ensuring that we're not finalizing a snapshot in the repository while it is initializing on another thread * Closes #38489
@original-brownbear do we want to port this over to 7.0? looks like it is continuing to fail in 7.0 CI |
@talevy sorry didn't get to backporting this yet, will do shortly. |
* Fix Issue with Concurrent Snapshot Init + Delete by ensuring that we're not finalizing a snapshot in the repository while it is initializing on another thread * Closes elastic#38489
* Fix Issue with Concurrent Snapshot Init + Delete by ensuring that we're not finalizing a snapshot in the repository while it is initializing on another thread * Closes #38489
Happened here:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+internalClusterTest/606/
fails with:
relates #38368 , #38226
Seems like it's the same failure that happened was supposed to be fixed in #38368 but at a much lower rate.
The text was updated successfully, but these errors were encountered: