nickva commented on issue #470: Scheduling Replicator
URL: https://github.com/apache/couchdb/pull/470#issuecomment-293127587
 
 
   Many thanks @davisp for taking a look at this. 
   
   With your help found some sneaky bugs and a added number of great 
improvements.
   
   Now on the idea of how to simplify the doc processor (as in remove the 
complicated bit). I remember I was wondering at some point what if scheduler 
operated on documents instead of replication jobs. So the {DbName, DocId} 
becomes the Job ID and we use the scheduler to track and manage the lifecycle 
of "when scheduled get replication ID (or check if changed), then start a 
replication job, and so on" But that scheme got kind of complicated as well. It 
might have been less code overall but it would have been even harder to 
decipher.
 
----------------------------------------------------------------
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