Rule SO is updated twice after running and is subject to OCC issues #135846
Labels
Feature:Alerting/RulesFramework
Issues related to the Alerting Rules Framework
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
When working on #135663, I noticed there was a place in alerting's task runner that forgot to
await
when I noticed Kibana was crashing randomly on 409 errors. After some searching, I saw we recently added a new update to the rule SO here https://github.com/elastic/kibana/blob/main/x-pack/plugins/alerting/server/task_runner/task_runner.ts#L461 causing a race condition with the existing partial update.The new update should be merged with the existing update to the rule (here) for a few reasons:
The text was updated successfully, but these errors were encountered: