Skip to content

Commit 486794f

Browse files
committed
Show task ID in source of persistent task state update (#48483)
Relates #48395
1 parent b24bbd4 commit 486794f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/persistent/PersistentTasksClusterService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public void updatePersistentTaskState(final String taskId,
219219
final long taskAllocationId,
220220
final PersistentTaskState taskState,
221221
final ActionListener<PersistentTask<?>> listener) {
222-
clusterService.submitStateUpdateTask("update task state", new ClusterStateUpdateTask() {
222+
clusterService.submitStateUpdateTask("update task state [" + taskId + "]", new ClusterStateUpdateTask() {
223223
@Override
224224
public ClusterState execute(ClusterState currentState) {
225225
PersistentTasksCustomMetaData.Builder tasksInProgress = builder(currentState);

0 commit comments

Comments
 (0)