-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] Handle cluster_block_exception during reindexing the TM index (#…
…201297) (#203609) # Backport This will backport the following commits from `main` to `8.x`: - [Handle cluster_block_exception during reindexing the TM index (#201297)](#201297) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ersin Erdal","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T15:17:27Z","message":"Handle cluster_block_exception during reindexing the TM index (#201297)\n\nResolves: https://github.com/elastic/response-ops-team/issues/249\r\n\r\nThis PR increases task claiming interval in case of\r\n`cluster_block_exception` to avoid generating too many error during TM\r\nindex reindexing.\r\n\r\n## To verify:\r\n\r\n- Run your local Kibana,\r\n- Create a user with `kibana_system` and `kibana_admin` roles\r\n- Logout and login with your new user\r\n- Use below request to put a write block on TM index.\r\n `PUT /.kibana_task_manager_9.0.0_001/_block/write`\r\n- Observe the error messages and their occurring interval on your\r\nterminal.\r\n- Use below request on the Kibana console to halt write block.\r\n```\r\nPUT /.kibana_task_manager_9.0.0_001/_settings\r\n{\r\n \"index\": {\r\n \"blocks.write\": false\r\n }\r\n}\r\n```","sha":"7aa80ce53027df7ac0e5fc01d206ef38ac3f9575","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-minor"],"title":"Handle cluster_block_exception during reindexing the TM index","number":201297,"url":"https://github.com/elastic/kibana/pull/201297","mergeCommit":{"message":"Handle cluster_block_exception during reindexing the TM index (#201297)\n\nResolves: https://github.com/elastic/response-ops-team/issues/249\r\n\r\nThis PR increases task claiming interval in case of\r\n`cluster_block_exception` to avoid generating too many error during TM\r\nindex reindexing.\r\n\r\n## To verify:\r\n\r\n- Run your local Kibana,\r\n- Create a user with `kibana_system` and `kibana_admin` roles\r\n- Logout and login with your new user\r\n- Use below request to put a write block on TM index.\r\n `PUT /.kibana_task_manager_9.0.0_001/_block/write`\r\n- Observe the error messages and their occurring interval on your\r\nterminal.\r\n- Use below request on the Kibana console to halt write block.\r\n```\r\nPUT /.kibana_task_manager_9.0.0_001/_settings\r\n{\r\n \"index\": {\r\n \"blocks.write\": false\r\n }\r\n}\r\n```","sha":"7aa80ce53027df7ac0e5fc01d206ef38ac3f9575"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201297","number":201297,"mergeCommit":{"message":"Handle cluster_block_exception during reindexing the TM index (#201297)\n\nResolves: https://github.com/elastic/response-ops-team/issues/249\r\n\r\nThis PR increases task claiming interval in case of\r\n`cluster_block_exception` to avoid generating too many error during TM\r\nindex reindexing.\r\n\r\n## To verify:\r\n\r\n- Run your local Kibana,\r\n- Create a user with `kibana_system` and `kibana_admin` roles\r\n- Logout and login with your new user\r\n- Use below request to put a write block on TM index.\r\n `PUT /.kibana_task_manager_9.0.0_001/_block/write`\r\n- Observe the error messages and their occurring interval on your\r\nterminal.\r\n- Use below request on the Kibana console to halt write block.\r\n```\r\nPUT /.kibana_task_manager_9.0.0_001/_settings\r\n{\r\n \"index\": {\r\n \"blocks.write\": false\r\n }\r\n}\r\n```","sha":"7aa80ce53027df7ac0e5fc01d206ef38ac3f9575"}}]}] BACKPORT--> Co-authored-by: Ersin Erdal <[email protected]>
- Loading branch information
1 parent
ebd2ef3
commit af76299
Showing
7 changed files
with
241 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.