You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[7.x] Default index.shard.check_on_startup to false for searchable snapshots (elastic#74279)
Today a searchable snapshot index inherits the
index.shard.check_on_startup index setting from
the snapshot it is mounted from. But this setting
can require some expensive processing as
documented in elastic#74233, so we decided in elastic#73147
to default the value of this setting to false but
allow the user to override this in the mount request.
Backport of elastic#74235Closeselastic#73147
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/BaseSearchableSnapshotsIntegTestCase.java
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/ClusterStateApplierOrderingTests.java
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/FrozenSearchableSnapshotsIntegTests.java
+14-4Lines changed: 14 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,11 @@ public void testCreateAndRestorePartialSearchableSnapshot() throws Exception {
86
86
87
87
// Peer recovery always copies .liv files but we do not permit writing to searchable snapshot directories so this doesn't work, but
88
88
// we can bypass this by forcing soft deletes to be used. TODO this restriction can be lifted when #55142 is resolved.
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsCanMatchOnCoordinatorIntegTests.java
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsIntegTests.java
+66-11Lines changed: 66 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,11 @@ public void testCreateAndRestoreSearchableSnapshot() throws Exception {
111
111
112
112
// Peer recovery always copies .liv files but we do not permit writing to searchable snapshot directories so this doesn't work, but
113
113
// we can bypass this by forcing soft deletes to be used. TODO this restriction can be lifted when #55142 is resolved.
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsLicenseIntegTests.java
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsSettingValidationIntegTests.java
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/allocation/AllocationFilteringIntegTests.java
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/cache/shared/PartiallyCachedShardAllocationIntegTests.java
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/action/TransportMountSearchableSnapshotAction.java
0 commit comments