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

- 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.
  • Loading branch information
inpink committed Oct 5, 2024
1 parent 78860ac commit 55bfc4e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
"start_time_in_millis": {
"type": "long"
},
"cancellation_time_millis": {
"type": "long"
},
"type": {
"type": "keyword"
},
Expand Down

0 comments on commit 55bfc4e

Please sign in to comment.