OpenSearch/elasticsearch/x-pack
Alexander Reelsen bb033f1e00 Watcher: Clear out WatchStore on watch index deletion (elastic/elasticsearch#2807)
If someone deletes the watch index (i.e. by deleting all indices), the watcher
in memory store still contains all the watches and tries to execute watches -
which results in exceptions as the watch itself cannot be updated anymore.

In order to minimize this problem (it cant be get rid of completely), we should
act accordingly if the watch index goes missing (either deleted or closed) and
clear out the memory representation of watches in the watchstore as well as trying
to finish all the current executions.

Closes elastic/elasticsearch#2794

Original commit: elastic/x-pack-elasticsearch@12d98cd566
2016-09-07 15:06:03 +02:00
..
bin/x-pack Remove settings and system properties entanglement 2016-05-19 14:09:49 -04:00
graph/src Handle moving rest support 2016-08-15 22:41:43 -04:00
license-plugin Merge branch 'master' into log4j2 2016-08-31 16:17:28 -04:00
monitoring/src Looong lines 2016-09-05 19:05:28 -04:00
security Deal with ConcreteShardRequest 2016-09-06 15:42:06 -04:00
src Changes for PR: https://github.com/elastic/elasticsearch/pull/20310 2016-09-06 18:44:41 +02:00
watcher Watcher: Clear out WatchStore on watch index deletion (elastic/elasticsearch#2807) 2016-09-07 15:06:03 +02:00
NOTICE.txt security: ssl by default on the transport layer 2016-04-29 12:50:07 -04:00
build.gradle [Monitoring] Use Low Level REST Client for HTTP Exporter 2016-09-05 15:16:03 -04:00