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 Migration] Remote store settings are not reflected in IndexShard after index migration #14765

Closed
shourya035 opened this issue Jul 16, 2024 · 0 comments · Fixed by #14764
Assignees
Labels
bug Something isn't working Storage:Remote

Comments

@shourya035
Copy link
Member

Describe the bug

After a remote-store migration, the IndexMetadataUpdater applies all remote store based index settings after all assigned shard copies of an index gets moved over to remote store enabled nodes. However, those remote store based settings does not have any consumers defined in IndexSettings. Because of this, even though the index metadata is updated in the cluster state, the corresponding instances of IndexSettings being held by each IndexShard copy does not get updated with the latest values.

Related component

Storage:Remote

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

We need to add consumers to the following index settings to ensure that changes in those values are reflected automatically after the index metadata is changed in the cluster state. The settings are already marked as PrivateIndex, so adding the consumer would still keep the Opensearch managed nature of the setting.

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Storage:Remote
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant