Details
-
Bug
-
Resolution: Incomplete
-
Major
-
4.0.0
-
Security Level: Public
-
None
-
Build - 2046
-
Untriaged
-
Centos 64-bit
-
-
Yes
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