Skip to content
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

[Remote Store] Validate that remote cluster state is enabled while setting migration direction to remote-store #13366

Closed
astute-decipher opened this issue Apr 24, 2024 · 1 comment
Assignees
Labels
enhancement Enhancement or improvement to existing feature or request Storage:Remote

Comments

@astute-decipher
Copy link
Contributor

Is your feature request related to a problem? Please describe

We want to disallow migration direction to be set remote-store in mixed compatibility mode case remote cluster state is not already enabled. This is to ensure that we garbage collect the stale data uploaded to s3 while migrating and we fallback to DocRep due to some failure.

Describe the solution you'd like

We will add a validation in TransportClusterUpdateSettingsAction to check if cluster.remote_store.state.enabled is true in cluster settings if the update setting request is trying to set migration direction to remote-store and cluster is either already in mixed mode or being requested along with.

Related component

Storage:Remote

Describe alternatives you've considered

No response

Additional context

No response

@astute-decipher astute-decipher added enhancement Enhancement or improvement to existing feature or request untriaged labels Apr 24, 2024
@astute-decipher astute-decipher self-assigned this Apr 24, 2024
@astute-decipher
Copy link
Contributor Author

Not required now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Storage:Remote
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant