nickva opened a new pull request, #5036:
URL: https://github.com/apache/couchdb/pull/5036

   Use the scheduler as the job supervisor, since the scheduler is already a 
fancy supervisor, with its own backoff logic, process monitoring, etc.
   
   This simplifies the job starting/stopping logic and fixes a bug where the 
simple_one_for_one supervisor could restart a job, but the scheduler would 
consider it not running, and try to start another job with the same replication 
ID on the same node. Since jobs register themselves in pg, the second job would 
keep crashing with duplicate_job error the first time it tried to checkpoint.
   


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

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to