-
Notifications
You must be signed in to change notification settings - Fork 25k
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
ES shard allocation bug #110826
Comments
Pinging @elastic/es-distributed (Team:Distributed) |
Does this answer your question?
|
I checked the disk usage of each path in path.data. The Supplement: When I reduce the length of path.data to less than 20 paths, the problem magically disappears |
Not sure whats the disk io skew in your case, you might need to check your disk performance.
|
expected behavior:
|
Thanks for your interested in Elasticsearch. We are closing this issue as multiple data path feature is deprecated and we are not going to fix this issue. |
I have found the answer to this question and wrote a detailed blog. |
Elasticsearch Version
Version: 7.17.18, Build: default/tar/8682172c2130b9a411b1bd5ff37c9792367de6b0/2024-02-02T12:04:59.691750271Z, JVM: 11.0.20
Installed Plugins
No response
Java Version
11.0.20
OS Version
Linux bsa5295 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Problem Description
When the path.data length of the es data node exceeds 20, all shards of the same index will be allocated to one path. Causes disk io skew when writing.
Steps to Reproduce
My test steps are as follows
View the path corresponding to the shard
You can see that all shards are allocated under
/home/sdj/elasticsearch
expected behavior:
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: