hi again,
i have a problem with my snapshot repository
I'm using the data tiers in the elastic (the data from my winbeats is going from my winlogbeats to the logstash and from there to the elastic hot node, warm node and the frozen in the NFS server)
i have 2 repo's and one of them at 100% and the other is at 30%
I want to try and find a way to load balance them so it will work better
The repos are on a FTP and I'm not using the cloud version
I also tried to delete some of the data in the full repo and it and it failed every time, when i tried in the dev tools I got 502 error
If you have any idea on how i can make it more balanced I would love to get some help
Can you share your configuration for the repositories from your elasticsearch.yaml and the result of GET _snapshot/ on Kibana Dev Tools?
How you tried to delete? You get the 502 error immediatelly or after some time? If it is after some time this may happen as deleting snapshots can take a long time and the request will timeout.
But with a different repository name, right? Can you share the full output? There is nothing sensitive in the response, but you can remove the uuid value if you want.
It is not possible to do this automatically, this depends on your snapshot policies configurations, if one of the repositories is being used more, this could mean that you have more indices using it or you have larger indices using it, you need to balance this in your snapshot policies based on your indices size.
Yeah, this can happen, the timeout for the request was reached before the snapshot was fully deleted, but the delete task will still run until it finishes, you can check it by listing the snapshots and validate if they were already deleted or not.
This is all true, but it also somewhat depends on what you mean by "the error". Please always quote the full error, including stack trace, in any questions like this. Otherwise we can only guess what it might be, and those guesses can land far of the mark sometimes.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.