Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-33708

request to change REST API's output for (auto)compaction with "/pools/default/tasks" enpoint

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 5.1.2
    • RESTful-APIs
    • 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"
       },
      ...
      ]

       

      Attachments

        Activity

          People

            ajit.yagaty Ajit Yagaty [X] (Inactive)
            jean.randriam Jean Randriam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty