Skip to content

Fix shard size of initializing restored shard #126783

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

Merged
Prev Previous commit
Next Next commit
Update server/src/internalClusterTest/java/org/elasticsearch/cluster/…
…routing/allocation/decider/DiskThresholdDeciderIT.java

Co-authored-by: Jeremy Dahlgren <[email protected]>
  • Loading branch information
DaveCTurner and JeremyDahlgren authored Apr 14, 2025
commit f36ed4bc2b145c6348608710b69eeaa1cc12d4a8
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public void testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleResto

final String indexName = randomIdentifier();
createIndex(indexName, indexSettings(6, 0).put(INDEX_STORE_STATS_REFRESH_INTERVAL_SETTING.getKey(), "0ms").build());
var shardSizes = createReasonableSizedShards(indexName);
final var shardSizes = createReasonableSizedShards(indexName);

final CreateSnapshotResponse createSnapshotResponse = clusterAdmin().prepareCreateSnapshot(TEST_REQUEST_TIMEOUT, "repo", "snap")
.setIndices(indexName)
Expand Down
Loading