Skip to content

Deprecate and remove shared and per index data path #73168

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

Open
rjernst opened this issue May 17, 2021 · 1 comment
Open

Deprecate and remove shared and per index data path #73168

rjernst opened this issue May 17, 2021 · 1 comment
Labels
:Core/Infra/Core Core issues without another label Meta Team:Core/Infra Meta label for core/infra team

Comments

@rjernst
Copy link
Member

rjernst commented May 17, 2021

The shared data path is a feature within Elasticsearch that was previously used by shadow replicas. While shadow replicas were removed in 6.0, the shared data path was kept, for an undocumented capability: to allow per index paths.

The per index data path is a setting which must be relative to the shared data path, and has been used by some (again, undocumented) with multi tenant clusters to provide on disk isolation (in particular, for unique encryption at rest per index). While the desire for such a capability is understandable, Elasticsearch was not designed for multi tenant isolation. This feature doesn't actually provide these users what they desire. There are other indexes and on disk data structures that are outside of the index directory, for example async search results. Additionally, the feature presents similar internal problems as Multiple Data Paths since the system must still track and monitor several disk mounts.

Given the above, we plan to deprecate and remove the shared data path and per index data paths. The feature will be deprecated in 7.x, and blocked from new indices using it in 8.x (though reading indexes from 7.x with the setting will continue to work). Finally the feature will be removed in 9.0. This is a meta issue to track that deprecation and removal.

@rjernst rjernst added :Core/Infra/Core Core issues without another label Meta labels May 17, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label May 17, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

rjernst added a commit to rjernst/elasticsearch that referenced this issue May 17, 2021
This commit adds deprecation warnings for use of the path.shared_data
setting as well as the index setting index.data_path.

relates elastic#73168
rjernst added a commit that referenced this issue May 18, 2021
This commit adds deprecation warnings for use of the path.shared_data
setting as well as the index setting index.data_path.

relates #73168
rjernst added a commit to rjernst/elasticsearch that referenced this issue May 18, 2021
This commit adds deprecation warnings for use of the path.shared_data
setting as well as the index setting index.data_path.

relates elastic#73168
rjernst added a commit that referenced this issue May 18, 2021
This commit adds deprecation warnings for use of the path.shared_data
setting as well as the index setting index.data_path.

relates #73168
rjernst added a commit that referenced this issue May 18, 2021
This commit adds deprecation warnings for use of the path.shared_data
setting as well as the index setting index.data_path.

relates #73168
rjernst added a commit to rjernst/elasticsearch that referenced this issue Aug 20, 2021
Custom per-index data paths were deprecated in 7.14. This commit blocks
creation of indices in 8.0 from configuring custom data paths.

relates elastic#73168
rjernst added a commit that referenced this issue Sep 10, 2021
Custom per-index data paths were deprecated in 7.14. This commit blocks
creation of indices in 8.0 from configuring custom data paths.

relates #73168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label Meta Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

No branches or pull requests

2 participants