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

disableFileTransferRebalance API is not intuitive

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • RESTful-APIs
    • 1

    Description

      There is a new API for disabling the File Transfer Rebalance for FTS:

      curl -XPUT -H "Content-type:application/json" http://<Administrator>:<pwd>@<node>:8094/api/managerOptions -d '{"disableFileTransferRebalance": "false"}'  

      The operation of this API might be a little difficult to understand as it doesn't operate in the same way as other APIs that we use.

      The main problem is that we are switching something on by setting a value to false.

       

      It is suggested that the API is replaced (or a new one added) that does the same thing but in a way that would be easier to understand.

       

      {"fileTransferBalanceEnabled" : "false"} 

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            ray.offiah Ray Offiah added a comment -

            As it turns out, the API call has been in place since 7.0.2, so it's a bit too late to change it.

            ray.offiah Ray Offiah added a comment - As it turns out, the API call has been in place since 7.0.2, so it's a bit too late to change it.

            People

              Sreekanth Sivasankaran Sreekanth Sivasankaran
              ray.offiah Ray Offiah
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty