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

Bucket Management REST API requires valid ProxyPort when creating bucket

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • None
    • 5.0.0
    • ns_server
    • None

    Description

      When using the Bucket Management API to create buckets, the ProxyPort parameter is being validated to be between 1023 and 65536. Previously it was not validated and ignored if set to an invalid number, eg 0.

      Because of the change, existing clients that send 0 for ProxyPort, are receiving errors making them incompatible with server 5.0.

      Example response JSON:

      {"errors":{"proxyPort":"The port number must be greater than 1023 and less than 65536."},"summaries":{"ramSummary":{"total":536870912,"otherBuckets":104857600,"nodesCount":1,"perNodeMegs":100,"thisAlloc":104857600,"thisUsed":0,"free":327155712},"hddSummary":{"total":19828572160,"otherData":1780307694,"otherBuckets":4263800,"thisUsed":0,"free":18044000666}}}

      Attachments

        Issue Links

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

          Activity

            People

              dfinlay Dave Finlay
              mike.goldsmith Michael Goldsmith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty