-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/SettingsSettings infrastructure and APIsSettings infrastructure and APIs:Distributed Coordination/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIsMeta
Description
Today we have multiple ways to define settings when a user needs to create a repository:
- in
elasticsearch.ymlfile usingrepositories.xxxprefix wherexxxis the implementation name likes3,hdfs... - when creating the repository itself with
PUT _snaphot/repo
Based on discussion we have on #22762 and on #22301 and also internally, I think we should reduce the overall complexity and completely remove support for global settings like this.
Actually, the creation of a repository is most of the time a unique manual operation so providing settings at repository creation time does not bring a lot of complexity for the end user.
And that will simplify a lot our code and our tests.
The plan would be:
- Deprecate
repositories.xxxsettings in 5.x:
- Azure plugin (Deprecate global
repositories.azuresettings #22856) - S3 plugin (Deprecate repositories.s3 settings #23278)
- Remove
repositories.xxxsettings in 6.x (master branch):
- Azure plugin (Remove global
repositories.azuresettings #23262) - S3 plugin ([WIP] Remove repositories.s3 settings and deprecated settings #23276 has been closed. It will be done within another PR)
- Check other plugins:
- GCS plugin (not needed as already not supported)
- HDFS plugin (not needed as already not supported)
Metadata
Metadata
Assignees
Labels
:Core/Infra/SettingsSettings infrastructure and APIsSettings infrastructure and APIs:Distributed Coordination/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIsMeta