corecursion opened a new pull request, #15015: URL: https://github.com/apache/lucene/pull/15015
This PR provides `MultiIndexMergeScheduler` for multi-tenant merge scheduling for Lucene. A version of `MultiIndexMergeScheduler` has been in production use successfully at MongoDB for many years. Almost no changes are made to `ConcurrentMergeScheduler` by this PR. `MultiIndexMergeScheduler` builds on existing functionality in `ConcurrentMergeScheduler` by automatically tracking merge sources and merge threads and the index `Directory` that each applies to, and then shunting all of them into a single `ConcurrentMergeScheduler` instance. The multi-tenant merge scheduling can be used easily by creating a `MultiIndexMergeScheduler` instance for each index and then using each instance normally, exactly how you would currently use a lone `ConcurrentMergeScheduler`. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org