You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/11/06 11:19:25 UTC

[GitHub] skeyby opened a new issue #1714: Feature Request: manually pause or restart a specific replication job

skeyby opened a new issue #1714: Feature Request: manually pause or restart a specific replication job
URL: https://github.com/apache/couchdb/issues/1714
 
 
   Current CouchDB 2.x replication scheduler is capable of starting and stopping replication jobs according to various rules, putting paused jobs in "Pending" state.
   
   It would be super cool to be able to set a Replication Job in a "Manually Paused"/"Forced Pending" (read: keep paused until unlocked) or in "Full automatic" (read: the current behaviour) status.
   
   In this way an application logic could keep frozen / low priority replication tasks (say nightly task, unlogged users, offsite replications, whatever) without having the burden of creating/destroying a single-shot replication.
   
   Even if I'm not a developer I suppose the feature could be implemented with just an additional field in the replication document (say "paused"?), and then the rotate_jobs(State, Running, Pending) + pending_jobs function could just "ignore" the documents with "paused" field set as true.
   
   Thanks.

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


With regards,
Apache Git Services