Skip to content

[7.14] Move some constants from SearchableSnapshotsConstants to server#75366

Merged
tlrx merged 4 commits intoelastic:7.14from
tlrx:move-to-server-7.14
Jul 15, 2021
Merged

[7.14] Move some constants from SearchableSnapshotsConstants to server#75366
tlrx merged 4 commits intoelastic:7.14from
tlrx:move-to-server-7.14

Conversation

@tlrx
Copy link
Copy Markdown
Member

@tlrx tlrx commented Jul 15, 2021

Elasticsearch's server sometimes has to do things
differently in order to handle searchable snapshots
shards. In such cases it relies on index settings
and hard coded values to know if a shard is a
searchable snapshot one.

This commit adds a new SearchableSnapshotsSettings
class in server that provides methods to check if
an index is a searchable snapshot index. This class
also contains the names of some index settings
related to searchable snapshots that are required
by the server.

Backport of #75308

tlrx added 3 commits July 15, 2021 10:41
…tic#75308)

Elasticsearch's server sometimes has to do things
differently in order to handle searchable snapshots
shards. In such cases it relies on index settings
and hard coded values to know if a shard is a
searchable snapshot one.

This commit adds a new SearchableSnapshotsSettings
class in server that provides methods to check if
an index is a searchable snapshot index. This class
also contains the names of some index settings
related to searchable snapshots that are required
by the server.
@tlrx tlrx added >non-issue :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport v7.14.1 labels Jul 15, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Jul 15, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@tlrx tlrx merged commit 10a1204 into elastic:7.14 Jul 15, 2021
@tlrx tlrx deleted the move-to-server-7.14 branch July 15, 2021 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >non-issue Team:Distributed Meta label for distributed team. v7.14.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants