mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
nullify the updater on stop
This commit is contained in:
parent
c4d6ccd07b
commit
2e2f22fbd6
@ -65,6 +65,7 @@ public class RoutingService extends AbstractLifecycleComponent<RoutingService> i
|
||||
@Override protected void doStop() throws ElasticSearchException {
|
||||
if (scheduledRoutingTableFuture != null) {
|
||||
scheduledRoutingTableFuture.cancel(true);
|
||||
scheduledRoutingTableFuture = null;
|
||||
}
|
||||
clusterService.remove(this);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user