nickva opened a new issue #2414: doc_write_failures count is not preserved 
sometimes
URL: https://github.com/apache/couchdb/issues/2414
 
 
   `doc_writer_failures` statistic is import to preserve as it is the only 
indicator that some documents might not have replicated to the target.
   
   Recently there was a 
[fix](https://github.com/apache/couchdb/commit/00b28c265d97df675b725cd68897dc371cbd7168
 ) to make sure it is preserved across job scheduled job starts and stop. 
However, if the replication job is completely removed from the scheduler [+] it 
doesn't get preserved.
   
   Luckily enough that value is saved in the checkpoint history so we could 
recover from there. However it is still not a 100% guaranteed as checkpoint 
history is limited and the statistics are not accumulated. So we might have to 
update the checkpoint history format to accumulate this stat.
   
   [+] Could happen if it is changed from normal to continuous or vice-versa, 
the user simply removes and re-creates it, or the cluster is restarted the 
statistic value is then not preserved.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to