-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Indexing:ReplicationIssues and PRs related to core replication framework eg segrepIssues and PRs related to core replication framework eg segrepenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or request
Description
Is your feature request related to a problem? Please describe
Currently, both segment replication and merged segment warmer are scheduled using the GENERIC thread pool, which is responsible for node discovery, peer recovery, and many transport actions.
When the number of shards increases, the number of segment replication and merged segment warmer task will also increase accordingly.
Using an dedicate thread pool can not only avoid resource contention but also make it easier to monitor segment replication-related tasks.
Describe the solution you'd like
We should use a dedicated threadpool (say REPLICATION) to avoid any contention due to resource starvation.
Related component
Indexing:Replication
Describe alternatives you've considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
Indexing:ReplicationIssues and PRs related to core replication framework eg segrepIssues and PRs related to core replication framework eg segrepenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or request