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

Cannot switch from full compaction to circular compaction on UI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Critical
    • 4.5.0
    • 4.5.0
    • UI
    • 2151
    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      1. Configure CB Server to have indexing service.
      2. Create a bucket and an index.
      3. Navigate to Auto Compaction tab in settings.
      4. For Circular compaction have a particular time.
      5. Change from circular compaction to the % based fragmentation.
      6. Restart the server
      7. Now change to circular compaction for a particular time.

      – Note that days are all unchecked

      • Now select one of the days and time

      There is 404 response to the change and save button is disabled.

      Response:

      {"errors":{"indexCircularCompaction[daysOfWeek]":"index circular compaction days must be one of [\"Sunday
      \",\"Monday\",\"Tuesday\",\n                                               \"Wednesday\",\"Thursday\"
      ,\n                                               \"Friday\",\"Saturday\"]"}}
      

      POST:

      databaseFragmentationThre...	
      70
      indexCircularCompaction[d...	
      sunday,friday,Friday
      indexCircularCompaction[i...	
      true
      indexCircularCompaction[i...	
      6
      indexCircularCompaction[i...	
      44
      indexCircularCompaction[i...	
      6
      indexCircularCompaction[i...	
      45
      indexCompactionMode	
      circular
      indexFragmentationThresho...	
      2
      indexFragmentationThresho...	
      NaN
      parallelDBAndViewCompacti...	
      false
      purgeInterval	
      3
      viewFragmentationThreshol...	
      30
      

      URL:

      GET http://192.168.46.102:8091/pools/default/tasks
      	
      200 OK
      		92ms	
      angular.min.js (line 93)
      POST http://192.168.46.102:8091/controller/setAutoCompaction?just_validate=1
      	
      400 Bad Request
      		6ms
      

      Attachments

        Issue Links

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

          Activity

            People

              ritam.sharma Ritam Sharma
              ritam.sharma Ritam Sharma
              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