You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allocation of shards requires fetching metadata from all data nodes. As we're moving towards fetching metadata of batch of shards in one transport call, AllocationService needs to send all the shards to the Allocator in one go (using ExistingShardsAllocator interface). So, that allocator can create batches and takes care of fetching of metadata on a batch level.
Functionalities required:
Add new method in ExistingShardsAllocator (backward compatible, and non-breaking)
Call newly added method from AllocationService
Handle backward compatibility, unless all nodes of the cluster has support for batching, keep using older mechanism of shard level fetch and allocation.
Additional context
Please go through the discussion #5098 to understand the overall enhancement approach and check #8098 to see the sub tasks of overall project.
The text was updated successfully, but these errors were encountered:
Describe the bug
Original Issue opened : #5098 . This issue is a sub task for the overall project defined #8098.
Description
As part of node drop and joins, AllocationService takes care of allocating all primary and replica unassigned shards one by one.
OpenSearch/server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java
Lines 544 to 570 in 96630f0
This allocation of shards requires fetching metadata from all data nodes. As we're moving towards fetching metadata of batch of shards in one transport call, AllocationService needs to send all the shards to the Allocator in one go (using ExistingShardsAllocator interface). So, that allocator can create batches and takes care of fetching of metadata on a batch level.
Functionalities required:
Additional context
Please go through the discussion #5098 to understand the overall enhancement approach and check #8098 to see the sub tasks of overall project.
The text was updated successfully, but these errors were encountered: