Fix typo in field name in MetaDataMappingService
This commit is contained in:
parent
9015d0ca73
commit
e52faa81cc
|
@ -53,7 +53,7 @@ public class MetaDataMappingService extends AbstractComponent {
|
||||||
private final ClusterService clusterService;
|
private final ClusterService clusterService;
|
||||||
private final IndicesService indicesService;
|
private final IndicesService indicesService;
|
||||||
|
|
||||||
final ClusterStateTaskExecutor<RefreshTask> refreshExectuor = new RefreshTaskExecutor();
|
final ClusterStateTaskExecutor<RefreshTask> refreshExecutor = new RefreshTaskExecutor();
|
||||||
final ClusterStateTaskExecutor<PutMappingClusterStateUpdateRequest> putMappingExecutor = new PutMappingExecutor();
|
final ClusterStateTaskExecutor<PutMappingClusterStateUpdateRequest> putMappingExecutor = new PutMappingExecutor();
|
||||||
private final NodeServicesProvider nodeServicesProvider;
|
private final NodeServicesProvider nodeServicesProvider;
|
||||||
|
|
||||||
|
@ -211,10 +211,10 @@ public class MetaDataMappingService extends AbstractComponent {
|
||||||
public void refreshMapping(final String index, final String indexUUID, final String... types) {
|
public void refreshMapping(final String index, final String indexUUID, final String... types) {
|
||||||
final RefreshTask refreshTask = new RefreshTask(index, indexUUID, types);
|
final RefreshTask refreshTask = new RefreshTask(index, indexUUID, types);
|
||||||
clusterService.submitStateUpdateTask("refresh-mapping [" + index + "][" + Arrays.toString(types) + "]",
|
clusterService.submitStateUpdateTask("refresh-mapping [" + index + "][" + Arrays.toString(types) + "]",
|
||||||
refreshTask,
|
refreshTask,
|
||||||
ClusterStateTaskConfig.build(Priority.HIGH),
|
ClusterStateTaskConfig.build(Priority.HIGH),
|
||||||
refreshExectuor,
|
refreshExecutor,
|
||||||
(source, t) -> logger.warn("failure during [{}]", t, source)
|
(source, t) -> logger.warn("failure during [{}]", t, source)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue