-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] cancellation_time_millis is not getting added in .tasks index #16060
Comments
Merged
3 tasks
Hello! I have fixed the bug and tested it. The PR has been submitted here: #16201. |
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 11, 2024
…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 <inpink@kakao.com>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 11, 2024
…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 <inpink@kakao.com> Signed-off-by: inpink <inpink@kakao.com>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 11, 2024
…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 <inpink@kakao.com>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 13, 2024
…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` 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: inpink <inpink@kakao.com>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 13, 2024
…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` 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>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 18, 2024
…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` 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>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 18, 2024
…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` 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>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 18, 2024
…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` 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>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 19, 2024
…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` 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.
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 19, 2024
…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` 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>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 19, 2024
…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` 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>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 19, 2024
…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` 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>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 20, 2024
…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` 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>
inpink
added a commit
to inpink/OpenSearch
that referenced
this issue
Oct 20, 2024
…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` 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>
dbwiddis
added a commit
that referenced
this issue
Oct 21, 2024
…tasks index (#16060) (#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>
dbwiddis
added a commit
to dbwiddis/OpenSearch
that referenced
this issue
Oct 21, 2024
…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>
dbwiddis
added a commit
that referenced
this issue
Oct 22, 2024
…tasks index (#16060) (#16201) (#16414) - 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: inpink <108166692+inpink@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a task is cancelled, the
.tasks
index fails to update because this index has strict dynamic mapping enabled andcancellation_time_millis
field is not present in the mappings.The exception logged is below:
Related component
Other
To Reproduce
Expected behavior
.tasks
index should get updated correctly.I see that the
.tasks
index is created using the mappings defined here: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/resources/org/opensearch/tasks/task-index-mapping.jsonThese mappings should contain
cancellation_time_millis
fields as well.Additional Details
Plugins
Please list all plugins currently enabled.
cross-cluster-replication
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: