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 2021/11/04 17:56:17 UTC

[GitHub] [couchdb] kocolosk commented on issue #1720: Feature Request: make a specific replication job unstoppable by the scheduler

kocolosk commented on issue #1720:
URL: https://github.com/apache/couchdb/issues/1720#issuecomment-961284519


   @nickva I think the new [Fair Share](https://docs.couchdb.org/en/stable/replication/replicator.html#fair-share-job-scheduling) replicator feature allows for this capability?
   
   1. Create an `always-running/_replicator` DB
   2. Load replication docs for high priority jobs into this DB instead of the main one
   3. Ensure `[replicator.shares]` allocates enough shares to prioritize the `always-running` jobs
   
   The last step is probably not required if the number of jobs in that priority DB is small, as the algorithm will default to sharing resources fairly at the level of the replicator DBs.
   
   I suppose it's not a hard guarantee that the priority jobs will *always* be running, but does it effectively deliver the same outcome?


-- 
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-unsubscribe@couchdb.apache.org

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