Hi,

I'm using couchdb 2.0.0 on RHEL 7.2 and I'm looking to configure automatic 
compaction of _global_changes but I can't seem to get it to work.  I've checked 
the file size and data size of the _global_changes database so I know the 
criteria I've specified have been met. I don't get an error upon couchdb 
startup, but nothing happens.  When I tried setting a _default compaction rule, 
then compaction does happen for all databases including _global_changes.  Any 
ideas? I hope I'm just missing something obvious. Please let me know if any 
more detail is needed.

This is what I have in local.ini that does not work:
[compactions]
_global_changes = [{db_fragmentation, "70%"}]

Putting this into local.ini does work, but I don't want to compact all 
databases:
[compactions]
_default = [{db_fragmentation, "70%"}]

For the purposes of my testing, I've also added:
[compaction_daemon]
check_interval = 30

Thanks in advance!

Reply via email to