-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Default index.shard.check_on_startup to false for searchable snapshots #74235
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
Conversation
|
Pinging @elastic/es-distributed (Team:Distributed) |
DaveCTurner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Tanguy, I left a couple of comments on the tests.
...sterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsIntegTests.java
Outdated
Show resolved
Hide resolved
...st/java/org/elasticsearch/xpack/searchablesnapshots/FrozenSearchableSnapshotsIntegTests.java
Show resolved
Hide resolved
DaveCTurner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thanks David! |
elastic#74235) 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. Closes elastic#73147
|
I just realised we missed a bit of tidy-up here, with this change we no longer need to set |
|
I also noticed that we need to always set at least to I'll open a follow up |
|
I raised #74282 since |
Now the Mount API overrides the index.shard.check_on_startup setting value to false, there's no need for MountSnapshotStep to set it explicitly. Backport of elastic#74283 Relates elastic#74235
…apshots (#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 #74233, so we decided in #73147 to default the value of this setting to false but allow the user to override this in the mount request. Backport of #74235 Closes #73147
Today a searchable snapshot index inherits the
index.shard.check_on_startupindex setting from the snapshot it is mounted from. But this setting can require some expensive processing as documented in #74233, so we decided in #73147 to default the value of this setting tofalsebut allow the user to override this in the mount request.Closes #73147
Note to reviewer: I don't see this as a breaking change neither I think it should deserve a mention in the Mount API as the setting is "expert only", so I did not update documentation. Let me know if you think I should.