Append indies to update index setting task name (#55714)

This change adds index names to the name of the update index setting 
task so we have more information about the pending tasks.
This commit is contained in:
weizijun 2020-04-28 05:03:28 +08:00 committed by Nhat Nguyen
parent c16b1edae0
commit 08d328333a
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class MetadataUpdateSettingsService {
final Settings openSettings = settingsForOpenIndices.build();
final boolean preserveExisting = request.isPreserveExisting();
clusterService.submitStateUpdateTask("update-settings",
clusterService.submitStateUpdateTask("update-settings " + Arrays.toString(request.indices()),
new AckedClusterStateUpdateTask<ClusterStateUpdateResponse>(Priority.URGENT, request,
wrapPreservingContext(listener, threadPool.getThreadContext())) {