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

[Backport 2.x] [BUGFIX] Fix missing fields to resolve Strict Dynamic Mapping issue when saving task result #16414

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

dbwiddis
Copy link
Member

Backport 322bdc4 from #16201

…tasks index (opensearch-project#16060) (opensearch-project#16201)

- Fixed issue where `.tasks` index failed to update due to StrictDynamicMappingException when a task was cancelled.
- Added missing `cancellation_time_millis` and `resource_stats` fields to `task-index-mapping.json`.
- Ensured proper task result storage by updating the mappings.
- Changed the version in the meta field from 4 to 5 to reflect the updated mappings.

Signed-off-by: inpink <inpink@kakao.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Co-authored-by: Daniel Widdis <widdis@gmail.com>
Copy link
Contributor

❕ Gradle check result for 5ea2fca: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.72%. Comparing base (5617340) to head (329df39).
Report is 8 commits behind head on 2.x.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #16414      +/-   ##
============================================
- Coverage     71.75%   71.72%   -0.04%     
- Complexity    65231    65304      +73     
============================================
  Files          5312     5312              
  Lines        304646   304907     +261     
  Branches      44324    44420      +96     
============================================
+ Hits         218604   218685      +81     
- Misses        67796    67983     +187     
+ Partials      18246    18239       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Daniel Widdis <widdis@gmail.com>
Copy link
Contributor

✅ Gradle check result for d3a5070: SUCCESS

Signed-off-by: Daniel Widdis <widdis@gmail.com>
Copy link
Contributor

✅ Gradle check result for 329df39: SUCCESS

@dbwiddis dbwiddis merged commit 06c1a5a into opensearch-project:2.x Oct 22, 2024
38 of 39 checks passed
@dbwiddis dbwiddis deleted the backport-16201-to-2.x branch October 22, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants