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

Add schema_version to .opensearch-notifications-config index mappings and automatically upgrade logic #677

Closed
zhichao-aws opened this issue May 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@zhichao-aws
Copy link
Member

Is your feature request related to a problem?
Currently we only have one version of mappings for .opensearch-notifications-config index. However, as we plan to support more notification channels, we will have new mappings. Current code doesn't check the version of index mappings, neither update the mappings. This will cause problems for clusters upgraded from older notifications versions.

What solution would you like?
Like ism plugin, add schema_version to .opensearch-notifications-config index mappings and automatically upgrade logic. The upgrade logic is triggerred by CRUD request of .opensearch-notifications-config.

What alternatives have you considered?
N/A

Do you have any additional context?
N/A

@zhichao-aws zhichao-aws added the enhancement New feature or request label May 16, 2023
@zhichao-aws zhichao-aws self-assigned this May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant