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

--enable-gsi-compaction-abort always set value 0 to cluster setting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.0
    • 4.6.0
    • tools
    • None
    • Ubuntu 12.04 64-bit
    • Untriaged
    • Ubuntu 64-bit
    • Unknown

    Description

      Install Couchbase Server 4.6.0-3559
      Using command line to set "Abort compaction if run time exceeds the set time interval" via --enable-gsi-compaction-abort

      /opt/couchbase/bin/couchbase-cli setting-compaction --cluster=12.11.10.130:8091 -u Administrator -p password --gsi-compaction-mode circular --enable-gsi-compaction-abort=1
      The output said "SUCCESS: set compaction settings"
      Check UI, it is still uncheck.

      Set in UI to enable "Abort compaction if run time exceeds the set time interval"
      Verified it is enable.

      Disable via command line
      /opt/couchbase/bin/couchbase-cli setting-compaction --cluster=12.11.10.130:8091 -u Administrator -p password --gsi-compaction-mode circular --enable-gsi-compaction-abort=0

      It shows uncheck "Abort compaction if run time exceeds the set time interval" in UI

      Set in UI to enable "Abort compaction if run time exceeds the set time interval"
      Verified it is enable.

      Run enable it via command line
      /opt/couchbase/bin/couchbase-cli setting-compaction --cluster=12.11.10.130:8091 -u Administrator -p password --gsi-compaction-mode circular --enable-gsi-compaction-abort=1

      In UI, it shows uncheck (disable)
      So in either case, --enable-gsi-compaction-abort will disable "Abort compaction if run time exceeds the set time interval" with any value passed, 0 or 1

      Attachments

        Issue Links

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

          Activity

            People

              mikew Mike Wiederhold [X] (Inactive)
              thuan Thuan Nguyen
              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