nickva opened a new pull request #934: Configurable delay before retrying on 
missing_doc error in replicator
URL: https://github.com/apache/couchdb/pull/934
 
 
   Implement a configurable delay before retrying a document fetch in 
replicator.
   
   missing_doc exceptions usually happen when there is a continuous replication
   set up and the source is updated. The change might appear in the changes 
feed,
   but when worker tries to fetch the document's revisions it talks to a
   node where internal replication hasn't caught up and so it throws an 
exception.
   
   Previously the delay was hard-coded at 0 (that is retrying was immediate). 
The
   replication would still make progress, but after crashing, retrying and
   generating a lot of unnecessary log noise. Since updating a source while
   continuous replication is running is a common scenario, it's worth optimizing
   for it and avoiding wasting resources and spamming logs.
   
   

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