Upgrade the mappings on .tasks index if needed - #5377
Conversation
Signed-off-by: Przemek Bruski <pbruskispam@op.pl>
Gradle Check (Jenkins) Run Completed with:
|
|
Is it possible to add test around this scenario so we more confident that it will not break in future releases? |
How I'd do it?
|
| - Fix 'org.apache.hc.core5.http.ParseException: Invalid protocol version' under JDK 16+ ([#4827](https://github.com/opensearch-project/OpenSearch/pull/4827)) | ||
| - Fixed compression support for h2c protocol ([#4944](https://github.com/opensearch-project/OpenSearch/pull/4944)) | ||
| - Reject bulk requests with invalid actions ([#5299](https://github.com/opensearch-project/OpenSearch/issues/5299)) | ||
| - after upgrade to OpenSearch 2.0, finished tasks no longer get stored in .tasks index ([#5376](https://github.com/opensearch-project/OpenSearch/issues/5376)) |
There was a problem hiding this comment.
Let's make this look like the other lines, please?
"Fixed storing finished tasks in .tasks index"
We have bcw tests exactly for this scenario! I've never written one myself, but if you can't figure it out we'll find someone to help. Start here: https://opensearch.org/blog/technical-post/2021/11/bwc-testing-for-opensearch/ |
|
@andrross Thanks for taking this over - honestly, I have no idea when I'd find the time to dig into the test infra and write that test... |
Signed-off-by: Przemek Bruski pbruskispam@op.pl
Description
Upgrade the mappings on .tasks index if needed. This fixes an regression introduced in #1732
Issues Resolved
#5376
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.