Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.11
-
None
Description
As reported by Erick Johnson in the users mailing list, after compaction, the revs_limit parameter is not preserved.
Can easily be tested with:
$ curl -XPUT http://erick:foobar@127.0.0.40:5984/testing-compaction
{"ok":true}$ curl -XPUT http://erick:foobar@127.0.0.40:5984/testing-compaction/_revs_limit -d "100"
{"ok":true}$ curl http://erick:foobar@127.0.0.40:5984/testing-compaction/_revs_limit
100
$ curl -XPOST http://erick:foobar@127.0.0.40:5984/testing-compaction/_compact
$ curl http://erick:foobar@127.0.0.40:5984/testing-compaction/_revs_limit
1000
The following patch fixes it.