Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
5.1.2
-
5.x.x
Description
Some customer would like the output of a query to the "/pools/default/tasks" endpoint to display compaction related status in a similar way as it is done for rebalance: for compaction, the current behavior is to display status only if (auto-)compaction is running, otherwise nothing shows. For rebalance, there's the "notRunning" status, which shows information even when no rebalance is in progress.
# curl -u Administrator:password http://172.23.96.77:8091/pools/default/tasks | python -mjson.tool |
...
|
{
|
"masterRequestTimedOut": false, |
"status": "notRunning", |
"statusId": "778c14cdb9eac33fe990cf4764ed1e79", |
"statusIsStale": false, |
"type": "rebalance" |
},
|
...
|
]
|