nickva commented on issue #4195:
URL: https://github.com/apache/couchdb/issues/4195#issuecomment-1265677839

   It's probably because the view shard is processing the purge requests and 
has to catch up. Processing a lot of purge requests is about same as the making 
a lot of db updates and waiting for the view to catch up. 
   
   Partition could be located on the same shard as the other partitions and 
views are built per-shard. So, if the shard hasn't caught up yet, it will block 
clients waiting the latest updates from the partitions on that shard. One way 
to handle it could be to [split he shard 
range](https://docs.couchdb.org/en/3.2.2-docs/cluster/sharding.html#splitting-shards)
 to hopefully isolate the partition to just one shard.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to