Skip to content

Commit

Permalink
[BUG] Add cancellation_time_millis to resolve Strict Dynamic Mappin…
Browse files Browse the repository at this point in the history
…g issue in .tasks index (opensearch-project#16060)

- Fixed issue where `.tasks` index failed to update due to StrictDynamicMappingException when a task was cancelled.
- Added missing `cancellation_time_millis` field to `task-index-mapping.json`.
- Ensured proper handling of task cancellation events in Cross-Cluster Replication (CCR) by updating the mappings.
- Verified by creating and deleting an auto follow rule without StrictDynamicMappingException.
- Changed the version in the meta field from 4 to 5 to reflect the updated mappings

Signed-off-by: inpink <[email protected]>
  • Loading branch information
inpink committed Oct 11, 2024
1 parent 78860ac commit 11fea12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"_doc" : {
"_meta": {
"version": 4
"version": 5
},
"dynamic" : "strict",
"properties" : {
Expand Down

0 comments on commit 11fea12

Please sign in to comment.