mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-11 23:45:15 +00:00
This change persists the Watch.Status if needed by marking the Status as `dirty` if the status mutates during watch execution. If the status is dirty it will be persisted at the end of execution while the execution lock is held. Change record_in_history to record_execution which also controls weither the status will be updated. Fixes elastic/elasticsearch#222 Original commit: elastic/x-pack-elasticsearch@25869cabf0