You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/03/05 15:24:41 UTC

[GitHub] janl opened a new pull request #1203: Compaction Daemon & db-per-user

janl opened a new pull request #1203: Compaction Daemon & db-per-user
URL: https://github.com/apache/couchdb/pull/1203
 
 
   This PR addresses a number of issues with the Compaction Daemon when run under a db-per-user scenario:
   
   1. with many database and/or many view groups in one or more databases, checking whether a file should be compacted can create significant CPU load. This PR both:
      1. spaces the `check_interval` from 5 minutes to 60 minutes,
      2. and introduces a 3 second `snooze_period` between compacting any two files.
   2. when a view index is opened or closed, we send a `notice` level log line. In this scenario, this balloons the log file for no good benefit. The logs are not demoted to `debug`.
   
   - [x] code works
   - [x] no tests
   - [x] documented in `default.ini`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services