mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 13:38:49 +00:00
This change adds a force paramter to delete to allow the forcing of a delete to happen ignoring locking. This means that watch executions may fail when they go to update the watch. Watches executing from the scheduler will fail fast if the watch they are supposed to execute has been removed. Also move the history store updates outside of the watch locks. Fixes: elastic/elasticsearch#405 Original commit: elastic/x-pack-elasticsearch@57561b6f85