Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allocator changes to support tiering with replicas #14850

Open
neetikasinghal opened this issue Jul 22, 2024 · 2 comments
Open

Allocator changes to support tiering with replicas #14850

neetikasinghal opened this issue Jul 22, 2024 · 2 comments
Labels
bug Something isn't working Storage:Durability Issues and PRs related to the durability framework Storage:Resiliency Issues and PRs related to the storage resiliency Storage Issues and PRs relating to data and metadata storage

Comments

@neetikasinghal
Copy link
Contributor

For a lot of decider checks in AllocationService, while working on replica shards, the corresponding primary shard is required. This can lead to edge cases in tiering, where primary has relocated, but replica has not. The split pool information will only hold one of the shard causing NPE.

To avoid this, one of the solutions is - as part of tiering, we could add a shadowNode to each routing pool. This shadowRoutingNode object, would be a dummy routingNode added only to answer decider queries. It should neither accept shards, nor move shards out.

@peternied peternied added bug Something isn't working Storage:Durability Issues and PRs related to the durability framework Storage:Resiliency Issues and PRs related to the storage resiliency and removed untriaged labels Jul 24, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2]
@neetikasinghal Thanks for creating this issue

@peternied peternied added the Storage Issues and PRs relating to data and metadata storage label Jul 24, 2024
@linuxpi
Copy link
Collaborator

linuxpi commented Jul 25, 2024

[Storage Triage - attendees 1 2 3 4 5 6 7 8]

@neetikasinghal Thanks for filing this issue, please feel free to submit a pull request! Please add more details to the description and triage priority, sizing and other parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Storage:Durability Issues and PRs related to the durability framework Storage:Resiliency Issues and PRs related to the storage resiliency Storage Issues and PRs relating to data and metadata storage
Projects
Status: Ready To Be Picked
Status: No status
Development

No branches or pull requests

3 participants