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

quota in query settings for backfill has no boundary value checks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 5.5.0
    • query
    • Untriaged
    • No

    Description

      Arunkumars-macbook-pro:~ a.senthilnathan$ curl -X POST -u Administrator:password -d 'queryTmpSpaceDir=/tmp' -d 'queryTmpSpaceSize=-1' http://172.23.107.165:8091/settings/querySettings
      {"queryTmpSpaceDir":"/tmp","queryTmpSpaceSize":-1,"queryCurlWhitelist":{"all_access":false,"allowed_urls":[""],"disallowed_urls":[""]}}

      Arunkumars-macbook-pro:~ a.senthilnathan$ curl -X POST -u Administrator:password -d 'queryTmpSpaceDir=/tmp' -d 'queryTmpSpaceSize=10000' http://172.23.107.165:8091/settings/querySettings
      {"queryTmpSpaceDir":"/tmp","queryTmpSpaceSize":10000,"queryCurlWhitelist":{"all_access":false,"allowed_urls":[""],"disallowed_urls":[""]}}

      the range for queryTmpSpaceSize is 0 - 5121 - it should not accept negative values like -1 and larger values like 10000 - check is missing in both UI and REST API

      Attachments

        Activity

          People

            arunkumar Arunkumar Senthilnathan (Inactive)
            arunkumar Arunkumar Senthilnathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty