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

[RW Separation] Search replica need to be counted for allocation awareness balance #17330

Open
vinaykpud opened this issue Feb 11, 2025 · 1 comment
Assignees
Labels
enhancement Enhancement or improvement to existing feature or request Search:Performance

Comments

@vinaykpud
Copy link
Contributor

vinaykpud commented Feb 11, 2025

Is your feature request related to a problem? Please describe

Currently following settings used to enforce an even distribution of shards across all zones and avoid hotspots.

PUT _cluster/settings
{
  "persistent": {
    "cluster": {
      "routing.allocation.awareness.balance": "true"
    }
  }
}

If this settings is set as true, the total number of shards for the index must be a multiple of the highest count for any awareness attribute. Currently search replica count is not taken account. If this setting is enabled we need to ensure if search replicas can be evenly distributed.
Count of search replicas should be multiple of count of awareness attribute. ie of awareness attribute is zone, if we have 3 zones, search replicas should be multiple of 3.

Related component

Search:Performance

Describe alternatives you've considered

No response

Additional context

No response

@vinaykpud vinaykpud added enhancement Enhancement or improvement to existing feature or request untriaged labels Feb 11, 2025
@vinaykpud
Copy link
Contributor Author

This is related to Meta issue : #15306

@vinaykpud vinaykpud changed the title [RW Separation] Honor allocation awareness balance [RW Separation] Search replica need to be counted for allocation awareness balance Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Search:Performance
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants