[Searchable Snapshots] Add support for RemoteShardsBalancer #4777
Labels
distributed framework
enhancement
Enhancement or improvement to existing feature or request
feature
New 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.
The remote search shards for searchable snapshots will rely on the data cache which will be configured as a part of
search
nodes. The allocation process should take into account these remote shards while assigning, moving or balancing them across clusters such that they are only assigned to nodes with the specific search role.Additionally, in order to incorporate the remote nature of shards, the balancing logic has to be updated for both the remote and local shards since the requirements in terms of disk, shard count and other variables that are used for weight based calculation will differ for these shards.
Describe the solution you'd like
RemoteShardsBalancer
which will handle balancing and allocation for remote search shards within the clusterShardsBalancer
interface introduced as a part of Refactor BalancedAllocator.Balancer to LocalShardsBalancer #4761Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: