nickva opened a new pull request #1722: Retain replication stats between job 
runs
URL: https://github.com/apache/couchdb/pull/1722
 
 
   Previously stats counts between job runs were reset. So if a job was stopped
   and restarted by the scheduler, its docs_written, docs_read, 
doc_write_failures,
   etc., counts would go back to 0. For doc_write_failures this was especially 
bad
   as it hid the fact that some documents were not replicated to the target
   because either a VDU failed or one of the limits were hit.
   
   This change preserves stats across job runs. Everytime active tasks is 
updated,
   the stats object in rep record of each job in scheduler's ets table will be
   updated asynchronously. On next job start the job will reinitialize from last
   saved stats.
   
   Relates somewhat to issue #1159
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to