When history retention size set to 100,000 bytes (97 bytes per vbucket), and pillowfight ran against the cluster, as below, the history size appears to go significantly above the history size window.
./cluster_run -n 1 --dont-rename &
|
./cluster_connect -n 1 -s 1024 -S magma
|
curl -u Administrator:asdasd localhost:9000/pools/default/buckets/default -d historyRetentionBytes=100000 -d historyRetentionSeconds=10000
|
./cbc-pillowfight -U couchbase://127.0.0.1:12000/default -u Administrator -P asdasd -v --num-items 2048 -m 2 -M 10
|
The following graph shows the maximum history file size of the vbuckets, as well as the overall history file size, divided by the number of vbuckets.