|
@@ -50,12 +50,15 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=master-timeout]
|
|
|
the task queue.
|
|
|
|
|
|
`priority`::
|
|
|
- (string) The priority of the pending task.
|
|
|
+ (string) The priority of the pending task. The valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.
|
|
|
|
|
|
`source`::
|
|
|
(string) A general description of the cluster task that may include a reason
|
|
|
and origin.
|
|
|
|
|
|
+`executing`::
|
|
|
+ (boolean) True or false, indicating whether the pending tasks is currently getting executed or not.
|
|
|
+
|
|
|
`time_in_queue_millis`::
|
|
|
(integer) The time expressed in milliseconds since the task is waiting for
|
|
|
being performed.
|
|
@@ -78,6 +81,7 @@ However, if there are tasks queued up, the response will look similar like this:
|
|
|
"insert_order": 101,
|
|
|
"priority": "URGENT",
|
|
|
"source": "create-index [foo_9], cause [api]",
|
|
|
+ "executing" : true,
|
|
|
"time_in_queue_millis": 86,
|
|
|
"time_in_queue": "86ms"
|
|
|
},
|
|
@@ -85,6 +89,7 @@ However, if there are tasks queued up, the response will look similar like this:
|
|
|
"insert_order": 46,
|
|
|
"priority": "HIGH",
|
|
|
"source": "shard-started ([foo_2][1], node[tMTocMvQQgGCkj7QDHl3OA], [P], s[INITIALIZING]), reason [after recovery from shard_store]",
|
|
|
+ "executing" : false,
|
|
|
"time_in_queue_millis": 842,
|
|
|
"time_in_queue": "842ms"
|
|
|
},
|
|
@@ -92,6 +97,7 @@ However, if there are tasks queued up, the response will look similar like this:
|
|
|
"insert_order": 45,
|
|
|
"priority": "HIGH",
|
|
|
"source": "shard-started ([foo_2][0], node[tMTocMvQQgGCkj7QDHl3OA], [P], s[INITIALIZING]), reason [after recovery from shard_store]",
|
|
|
+ "executing" : false,
|
|
|
"time_in_queue_millis": 858,
|
|
|
"time_in_queue": "858ms"
|
|
|
}
|