[Searchable Snapshots] Refactor BalancedShardsAllocator.Balancer for managing local shards #4776
Labels
enhancement
Enhancement or improvement to existing feature or request
v2.4.0
'Issues and PRs related to version v2.4.0'
Is your feature request related to a problem? Please describe.
Currently, OpenSearch allocation and initialization works solely for shards which are located on the node’s filesystem. The allocation process should take into account the new remote shards while assigning, moving or balancing them across clusters such that they are only assigned to nodes with the specific search role.
Describe the solution you'd like
ShardsBalancer
class which can provide a blueprint for the upcomingRemoteShardsBalancer
BalancedShardsAllocator.Balancer
class toLocalShardsBalancer
Describe alternatives you've considered
Additional context
NA
The text was updated successfully, but these errors were encountered: