Skip to content
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

Segment Replication - Fix ShardLockObtained error during corruption cases #10370

Merged
merged 12 commits into from
Oct 5, 2023
Prev Previous commit
Next Next commit
Remove exra logs
Signed-off-by: Marc Handalian <handalm@amazon.com>
  • Loading branch information
mch2 committed Oct 4, 2023
commit 2d9262e18debf6f3c64816fa186e481f77f33c51
Original file line number Diff line number Diff line change
Expand Up @@ -1883,9 +1883,7 @@ public void testWipeSegmentBetweenSyncs() throws Exception {

final IndexShard indexShard = getIndexShard(replicaNode, INDEX_NAME);
waitForSearchableDocs(INDEX_NAME, 100, List.of(replicaNode));
logger.info("All files {}", List.of(indexShard.store().directory().listAll()));
indexShard.store().directory().deleteFile("_0.si");
logger.info("post files {}", List.of(indexShard.store().directory().listAll()));

for (int i = 101; i < 201; i++) {
client().prepareIndex(INDEX_NAME)
Expand Down