Increase task status update frequency for continuous replication
----------------------------------------------------------------

                 Key: COUCHDB-1392
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1392
             Project: CouchDB
          Issue Type: Improvement
            Reporter: Paul Joseph Davis
            Assignee: Filipe Manana


I'm not super familiar with the internals of continuous replication but the 
tests would benefit from a slight tweak to increasing the frequency of task 
status updates. I'm not entirely certain on the internals, but assuming that 
its something like "wait for update notifications, scan by_seq_btree for new 
updates, sleep" it would be useful to update the task status unconditionally at 
the end of "scan by_seq_tree".

This would benefit the continuous replication tests because we'd be able to fix 
the waitForSeq so that as soon as the target db was up to date the tests could 
continue instead of the broken behavior where they wait for the entire timeout 
now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to