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

[PITR] REST API validation issues

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 7.6.0
    • 7.1.0
    • ns_server
    • Untriaged
    • 1
    • No

    Description

      The endpoint allows max history and granularity to be updated when pitrEnabled is false

      [root@node1-cb700-beta-centos7 ~]# curl -X POST http://localhost:8091/pools/default/buckets/test-bucket -u Administrator:password -d pitrEnabled=false -d pitrMaxHistoryAge=86400

      Also, it is allowing pitrMaxHistoryAge to be set less than pitrGranularity

      [root@node1-cb700-beta-centos7 ~]# curl -X POST http://localhost:8091/pools/default/buckets/test-bucket -u Administrator:password -d pitrEnabled=true -d pitrMaxHistoryAge=17000 -d pitrGranularity=17500

      Please feel free to ignore if this is acceptable behavior

      Attachments

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

        Activity

          People

            gilad.kalchheim Gilad Kalchheim
            arunkumar Arunkumar Senthilnathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty