[ML] Removing removeIfExists from sync task scheduler#228783
Conversation
|
Pinging @elastic/ml-ui (:ml) |
💚 Build Succeeded
Metrics [docs]
|
The call to `removeIfExists` is not necessary and can result in a possible race condition when the sync task is claimed. Fixes elastic#226554 Related to elastic#226481
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
The call to `removeIfExists` is not necessary and can result in a possible race condition when the sync task is claimed. Fixes elastic#226554 Related to elastic#226481
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
The call to `removeIfExists` is not necessary and can result in a possible race condition when the sync task is claimed. Fixes elastic#226554 Related to elastic#226481
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Starting backport for target branches: 8.18, 9.0 |
The call to `removeIfExists` is not necessary and can result in a possible race condition when the sync task is claimed. Fixes elastic#226554 Related to elastic#226481 (cherry picked from commit c346834)
The call to `removeIfExists` is not necessary and can result in a possible race condition when the sync task is claimed. Fixes elastic#226554 Related to elastic#226481 (cherry picked from commit c346834)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
#229684) # Backport This will backport the following commits from `main` to `8.18`: - [[ML] Removing removeIfExists from sync task scheduler (#228783)](#228783) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2025-07-21T15:33:36Z","message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport pending",":ml","backport:version","v9.2.0","v9.0.5","v8.18.5"],"title":"[ML] Removing removeIfExists from sync task scheduler","number":228783,"url":"https://github.com/elastic/kibana/pull/228783","mergeCommit":{"message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228783","number":228783,"mergeCommit":{"message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: James Gowdy <jgowdy@elastic.co>
…#229686) # Backport This will backport the following commits from `main` to `9.0`: - [[ML] Removing removeIfExists from sync task scheduler (#228783)](#228783) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2025-07-21T15:33:36Z","message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport pending",":ml","backport:version","v9.2.0","v9.0.5","v8.18.5"],"title":"[ML] Removing removeIfExists from sync task scheduler","number":228783,"url":"https://github.com/elastic/kibana/pull/228783","mergeCommit":{"message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228783","number":228783,"mergeCommit":{"message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: James Gowdy <jgowdy@elastic.co>
|
Starting backport for target branches: 8.18, 8.19, 9.0, 9.1 |
The call to `removeIfExists` is not necessary and can result in a possible race condition when the sync task is claimed. Fixes elastic#226554 Related to elastic#226481 (cherry picked from commit c346834)
The call to `removeIfExists` is not necessary and can result in a possible race condition when the sync task is claimed. Fixes elastic#226554 Related to elastic#226481 (cherry picked from commit c346834)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
#229916) # Backport This will backport the following commits from `main` to `8.19`: - [[ML] Removing removeIfExists from sync task scheduler (#228783)](#228783) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2025-07-21T15:33:36Z","message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","backport:version","v9.2.0","v9.0.5","v9.1.1","v8.18.5","v8.19.1"],"title":"[ML] Removing removeIfExists from sync task scheduler","number":228783,"url":"https://github.com/elastic/kibana/pull/228783","mergeCommit":{"message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228783","number":228783,"mergeCommit":{"message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/229686","number":229686,"state":"MERGED","mergeCommit":{"sha":"cdd1d7dd1c9e8f0e816d6133b5bf62db164efecf","message":"[9.0] [ML] Removing removeIfExists from sync task scheduler (#228783) (#229686)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [[ML] Removing removeIfExists from sync task scheduler\n(#228783)](https://github.com/elastic/kibana/pull/228783)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: James Gowdy <jgowdy@elastic.co>"}},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/229684","number":229684,"state":"MERGED","mergeCommit":{"sha":"e8dd72e7489f6b2f7dad4d3a6a93b7b0601bdb35","message":"[8.18] [ML] Removing removeIfExists from sync task scheduler (#228783) (#229684)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.18`:\n- [[ML] Removing removeIfExists from sync task scheduler\n(#228783)](https://github.com/elastic/kibana/pull/228783)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: James Gowdy <jgowdy@elastic.co>"}},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: James Gowdy <jgowdy@elastic.co>
…#229917) # Backport This will backport the following commits from `main` to `9.1`: - [[ML] Removing removeIfExists from sync task scheduler (#228783)](#228783) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2025-07-21T15:33:36Z","message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","backport:version","v9.2.0","v9.0.5","v9.1.1","v8.18.5","v8.19.1"],"title":"[ML] Removing removeIfExists from sync task scheduler","number":228783,"url":"https://github.com/elastic/kibana/pull/228783","mergeCommit":{"message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228783","number":228783,"mergeCommit":{"message":"[ML] Removing removeIfExists from sync task scheduler (#228783)\n\nThe call to `removeIfExists` is not necessary and can result in a\npossible race condition when the sync task is claimed.\nFixes https://github.com/elastic/kibana/issues/226554\nRelated to https://github.com/elastic/kibana/pull/226481","sha":"c346834223f93a62f377d3d245b60a0390c5ed3e"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/229686","number":229686,"state":"MERGED","mergeCommit":{"sha":"cdd1d7dd1c9e8f0e816d6133b5bf62db164efecf","message":"[9.0] [ML] Removing removeIfExists from sync task scheduler (#228783) (#229686)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [[ML] Removing removeIfExists from sync task scheduler\n(#228783)](https://github.com/elastic/kibana/pull/228783)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: James Gowdy <jgowdy@elastic.co>"}},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/229684","number":229684,"state":"MERGED","mergeCommit":{"sha":"e8dd72e7489f6b2f7dad4d3a6a93b7b0601bdb35","message":"[8.18] [ML] Removing removeIfExists from sync task scheduler (#228783) (#229684)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.18`:\n- [[ML] Removing removeIfExists from sync task scheduler\n(#228783)](https://github.com/elastic/kibana/pull/228783)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: James Gowdy <jgowdy@elastic.co>"}},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: James Gowdy <jgowdy@elastic.co>
The call to
removeIfExistsis not necessary and can result in a possible race condition when the sync task is claimed.Fixes #226554
Related to #226481
Targeting versions: 9.2.0, 9.1.1, 9.0.5, 8.19.1, 8.18.5