Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.17] [UA] Remove noisey warn when deleting from `.tasks` (#…
…204720) (#204758) # Backport This will backport the following commits from `main` to `8.17`: - [[UA] Remove noisey warn when deleting from `.tasks` (#204720)](#204720) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jean-Louis Leysens","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-18T13:14:57Z","message":"[UA] Remove noisey warn when deleting from `.tasks` (#204720)\n\n## Summary\r\n\r\nReduce the number of `warn` logs reindexing will create due to failed\r\nattempts to delete from `.tasks`. In this PR we only log for responses\r\nthat do not have status code 403 or 401.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"ff3a600d5eca300c769f67ce144364b5de3a2409","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","Feature:Upgrade Assistant","v9.0.0","backport:version","v8.18.0","v8.17.1"],"title":"[UA] Remove noisey warn when deleting from `.tasks`","number":204720,"url":"https://github.com/elastic/kibana/pull/204720","mergeCommit":{"message":"[UA] Remove noisey warn when deleting from `.tasks` (#204720)\n\n## Summary\r\n\r\nReduce the number of `warn` logs reindexing will create due to failed\r\nattempts to delete from `.tasks`. In this PR we only log for responses\r\nthat do not have status code 403 or 401.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"ff3a600d5eca300c769f67ce144364b5de3a2409"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204720","number":204720,"mergeCommit":{"message":"[UA] Remove noisey warn when deleting from `.tasks` (#204720)\n\n## Summary\r\n\r\nReduce the number of `warn` logs reindexing will create due to failed\r\nattempts to delete from `.tasks`. In this PR we only log for responses\r\nthat do not have status code 403 or 401.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"ff3a600d5eca300c769f67ce144364b5de3a2409"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Jean-Louis Leysens <[email protected]>
- Loading branch information