OpenSearch/plugin
Alexander Reelsen 709ed7d50e Watcher: Only try to load triggered watches index, if it exists (elastic/x-pack-elasticsearch#1569)
This is mainly a commit to reduce noise in test logfiles when going
through them. When watcher shuts down and another node takes over, it
might try to start watcher again and tries to load triggered watches.
However the triggered watches index could be gone in the meantime due to
further shutdown. This results in logging a stack trace that the index
does not exist.

This commit checks the cluster state before trying to load triggered
watches to prevent an IndexNotFoundException in the logs.

Original commit: elastic/x-pack-elasticsearch@9f26d557d0
2017-06-09 17:51:23 +02:00
..
bin/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
bwc Fix branch logic for bwc tests in the same major version 2017-06-08 11:40:45 -06:00
config/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
keys Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
licenses Update Netty to 4.1.11.Final 2017-05-12 15:54:05 -04:00
ml-cpp-snapshot Build: Switch ml snapshot dependency to a local project (elastic/x-pack-elasticsearch#1559) 2017-05-26 01:15:12 -07:00
src Watcher: Only try to load triggered watches index, if it exists (elastic/x-pack-elasticsearch#1569) 2017-06-09 17:51:23 +02:00
build.gradle Build: Switch ml snapshot dependency to a local project (elastic/x-pack-elasticsearch#1559) 2017-05-26 01:15:12 -07:00