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

View Compaction does not happen as per auto-compaction setting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • 4.0.0
    • 4.0.0
    • view-engine
    • Security Level: Public
    • None
    • Build - 2046

    Description

      1. Install CB Server on 4 boxes and create bucket default.
      2. Create a cluster of 4 boxes and set viewFragmntThresholdPercentage =90. From UI - Login to CB -> Settings -> Auto-Compaction - > View Fragmentation -> 90%
      3. Create ddocs
      4. Load default bucket with 200000 documents
      5. Update documents for default bucket
      6. Monitor Index fragmentation.

      Actual Result:
      Compaction does not happen exactly at 90% as specified in auto-compaction settings.

      Query bucket statistics at - http://http://10.5.3.10:8091/pools/default/buckets/default/stats
      Note that compaction occurs but earlier than 90%.
      TC passed on build 1913.

      TC:
      ./testrunner -i b/resources/dev-4-nodes.ini -t view.compactionviewtests.CompactionViewTests.rebalance_out_with_auto_ddoc_compaction,items=200000,fragmentation_value=90,ddocs_num=2,view_per_ddoc=3,attempt-num=20,get-cbcollect-info=True

      Attachments

        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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty