Fix typo in field name in MetaDataMappingService

This commit is contained in:
Jason Tedor 2015-12-01 13:16:28 -05:00
parent 9015d0ca73
commit e52faa81cc
1 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ public class MetaDataMappingService extends AbstractComponent {
private final ClusterService clusterService;
private final IndicesService indicesService;
final ClusterStateTaskExecutor<RefreshTask> refreshExectuor = new RefreshTaskExecutor();
final ClusterStateTaskExecutor<RefreshTask> refreshExecutor = new RefreshTaskExecutor();
final ClusterStateTaskExecutor<PutMappingClusterStateUpdateRequest> putMappingExecutor = new PutMappingExecutor();
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) {
final RefreshTask refreshTask = new RefreshTask(index, indexUUID, types);
clusterService.submitStateUpdateTask("refresh-mapping [" + index + "][" + Arrays.toString(types) + "]",
refreshTask,
ClusterStateTaskConfig.build(Priority.HIGH),
refreshExectuor,
(source, t) -> logger.warn("failure during [{}]", t, source)
refreshTask,
ClusterStateTaskConfig.build(Priority.HIGH),
refreshExecutor,
(source, t) -> logger.warn("failure during [{}]", t, source)
);
}