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/11/28 02:33:31 UTC

[GitHub] nickva commented on issue #1579: Autocompaction never triggered in Couch v2.2

nickva commented on issue #1579: Autocompaction never triggered in Couch v2.2
URL: https://github.com/apache/couchdb/issues/1579#issuecomment-442296264
 
 
   Could it be that we are not reading the design docs correctly:
   
   https://github.com/apache/couchdb/blob/master/src/couch/src/couch_compaction_daemon.erl#L241
   
   Notice we just get the design docs from each _shard_ as we look through all db shard. However design docs won't be written to all the shards of a database. They'll go to whatever shard range their doc id would be hashed to.
   
   Instead we need to get this design docs from the fabric layer if this is a clustered db. Something like:
   
   ```
   fabric:design_docs(mem3:dbname(DbName))
   ```

----------------------------------------------------------------
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