changed the order in which the interval services are stopped when watcher stops.
Original commit: elastic/x-pack-elasticsearch@8092a76aa4
This commit is contained in:
parent
13573d6c6d
commit
6309d2b5d3
|
@ -77,9 +77,9 @@ public class WatchService extends AbstractComponent {
|
|||
public void stop() {
|
||||
if (state.compareAndSet(State.STARTED, State.STOPPING)) {
|
||||
logger.info("stopping watch service...");
|
||||
watchLockService.stop();
|
||||
executionService.stop();
|
||||
triggerService.stop();
|
||||
executionService.stop();
|
||||
watchLockService.stop();
|
||||
watchStore.stop();
|
||||
state.set(State.STOPPED);
|
||||
logger.info("watch service has stopped");
|
||||
|
|
Loading…
Reference in New Issue