mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-05-23 00:55:06 +00:00
When a datafeed task is created but it cannot be assigned the task has a null status. This means _stats report it as stopped, however deleting it fails. In addition, it's a better experience to error the start datafeed request all together and give the user the chance to fix his data indices. This change fails a datafeed-start if it cannot be assigned. relates elastic/x-pack-elasticsearch#1018 Original commit: elastic/x-pack-elasticsearch@532288fda0