mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 09:29:11 +00:00
[Store] migrate non-allocated shard deletion to use ClusterStateNonMasterUpdateTask
This commit is contained in:
parent
bebaf9799c
commit
f029a24d53
@ -307,7 +307,7 @@ public class IndicesStore extends AbstractComponent implements ClusterStateListe
|
||||
return;
|
||||
}
|
||||
|
||||
clusterService.submitStateUpdateTask("indices_store", new ClusterStateUpdateTask() {
|
||||
clusterService.submitStateUpdateTask("indices_store", new ClusterStateNonMasterUpdateTask() {
|
||||
@Override
|
||||
public ClusterState execute(ClusterState currentState) throws Exception {
|
||||
if (clusterState.getVersion() != currentState.getVersion()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user