You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "nickva (via GitHub)" <gi...@apache.org> on 2023/12/06 04:24:40 UTC
Re: [I] Long running erlang map/reduce can block view compaction from completion, leaking erlang procs [couchdb]
nickva commented on issue #4725:
URL: https://github.com/apache/couchdb/issues/4725#issuecomment-1842062495
* I'll second @rnewson's proposal to try a old-ddoc/new-ddoc strategy to deploy new views.
* For clients could use `stable=false&update=false` and let ken (index auto-builder) to build the indices for you in the background. Monitor with `_active_tasks`.
* There is an undocumented `[smoosh.ignore] $shard = true` setting to allow the auto-compactor to ignore specific shards. For example:
```
[smoosh.ignore]
shards/e0000000-ffffffff/dbname.1660859921 = true
```
* @fr2lancer if you're asking about debug logging for compaction/auto-compaction see issue https://github.com/apache/couchdb/issues/4815#issuecomment-1791518288. That's a bit tricky to set but it should work.
* In your version of CouchDB 3.2.2 we had a bug calculating the slack and ratio and ended up triggering the auto-compactor too often. Consider upgrading to 3.3.3 if possible. You might find some of the compaction don't trigger as often any longer. That was fixed in 3.3.0 (https://github.com/apache/couchdb/pull/4264)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org