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

Index mapping schema versioning #60

Closed
ylwu-amzn opened this issue May 20, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@ylwu-amzn
Copy link
Contributor

commented May 20, 2019

Unrelated to this specific PR, but:
Adding Throttling introduced an update to our mappings. We need to add "schema_version" to the mappings and set it to 1 with this update. And in the code if schema_version does not exist on the document we'll assume it's 0 (ie initial release/before throttling was added).

We also need to add a way to update the mappings on each cluster. Currently none of the index mappings will be updated since we only do that once on initial use of alerting.

All of this needs to happen ASAP before we cut a release for 7.0

Originally posted by @dbbaughe in #59 (comment)

@ylwu-amzn ylwu-amzn referenced this issue May 20, 2019

Merged

Throttle #59

@ylwu-amzn ylwu-amzn self-assigned this May 22, 2019

@ylwu-amzn ylwu-amzn changed the title Schema versioning Index mapping schema versioning May 23, 2019

@ylwu-amzn

This comment has been minimized.

Copy link
Contributor Author

commented May 31, 2019

Code change merged.

@ylwu-amzn ylwu-amzn closed this May 31, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.