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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
