add node and order to the source of update mapping
This commit is contained in:
parent
2e08977adc
commit
36a76cc0ab
|
@ -356,7 +356,7 @@ public class MetaDataMappingService extends AbstractComponent {
|
||||||
insertOrder = ++refreshOrUpdateInsertOrder;
|
insertOrder = ++refreshOrUpdateInsertOrder;
|
||||||
refreshOrUpdateQueue.add(new UpdateTask(index, indexUUID, type, mappingSource, order, nodeId, listener));
|
refreshOrUpdateQueue.add(new UpdateTask(index, indexUUID, type, mappingSource, order, nodeId, listener));
|
||||||
}
|
}
|
||||||
clusterService.submitStateUpdateTask("update-mapping [" + index + "][" + type + "]", Priority.HIGH, new ClusterStateUpdateTask() {
|
clusterService.submitStateUpdateTask("update-mapping [" + index + "][" + type + "] / node [" + nodeId + "], order [" + order + "]", Priority.HIGH, new ClusterStateUpdateTask() {
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(String source, Throwable t) {
|
public void onFailure(String source, Throwable t) {
|
||||||
listener.onFailure(t);
|
listener.onFailure(t);
|
||||||
|
|
Loading…
Reference in New Issue