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
Prometheus does not start: get segment range: segments are not sequential #5342
Comments
Can you share a listing of the WAL directory? |
01D4DDXJ92WCFJP8RJFYX4ET05 |
There should be a |
These files are in the wal/ |
Sounds like you put in an incorrect storage path at some point then, it should have been up a directory. |
@aclowkey you're data dir should look something like this:
And that inner wal dir:
|
It happened in our production env aswell. Here are the dirs:
and inside wal
The server was shutdown on host maintance, but the data is stored on NFS. |
@aclowkey Can you post the output of Any idea @gouthamve @krasi-georgiev ? |
|
did I understand right that you are using NFS to store the data? |
Yes it was stored on NFS. I don't know how to reproduce the issue.
Any way to restore the data?
…On Thu, 14 Mar 2019 at 10:46, Krasi Georgiev ***@***.***> wrote:
did I understand right that you are using NFS to store the data?
if that is the case this is most likely the cause. We had many reports for
data corruption when using NFS. If you can replicate if on a NON nfs
storage please let me know the steps to reproduce and will look into it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5342 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB9y2a9NMG_b8R57ZmRYCjciFIUiY4Fkks5vWgx3gaJpZM4bqtrl>
.
|
you will lose some data (probably 15-30mins), but if you delete the non sequential wal files it will start as normal.
|
closing now as NFS is most likely the cause, but if you can replicate it on a NON nfs storage feel free to reopen with steps to reproduce. Thanks. |
I've encounter the same issue the problem is, I can't make it start ( unless delete the data, I don't find any way to make it recover ) because of
|
Your issues is different and the error says it all :) https://stackoverflow.com/questions/4986388/vfs-file-max-limit-1231582-reached Please open a new issue if you still think it is a bug in Prometheus. |
Not sure what is the cause of this.
Any work arounds?
The text was updated successfully, but these errors were encountered: