ReeceStevens commented on issue #1093: Hanging or 500 errors during concurrent 
replication
URL: https://github.com/apache/couchdb/issues/1093#issuecomment-360267053
 
 
   @wohali I had initially been testing on a couchDB server under load when I 
used 10 threads. If you're using an otherwise-unloaded database, you can up the 
thread count to generate the error. `--threads 40 --single-source` definitely 
did the trick every time for me, even on an unloaded database. 40 threads is 
obviously a bit overkill, but this issue seems to be a race condition and 
occurs inconsistently. To get it to trigger every time, I had to lean in on the 
database pretty hard.
   
   If you set `update_lru_on_read = false`, it should happen very quickly, 
probably in under 10 iterations.

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


With regards,
Apache Git Services

Reply via email to