Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPrometheus does not start: get segment range: segments are not sequential #5342
Comments
This comment has been minimized.
This comment has been minimized.
|
Can you share a listing of the WAL directory? |
This comment has been minimized.
This comment has been minimized.
|
01D4DDXJ92WCFJP8RJFYX4ET05 |
This comment has been minimized.
This comment has been minimized.
|
There should be a |
This comment has been minimized.
This comment has been minimized.
|
These files are in the wal/ |
This comment has been minimized.
This comment has been minimized.
|
Sounds like you put in an incorrect storage path at some point then, it should have been up a directory. |
This comment has been minimized.
This comment has been minimized.
|
@aclowkey you're data dir should look something like this:
And that inner wal dir:
|
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
@aclowkey Can you post the output of Any idea @gouthamve @krasi-georgiev ? |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
|
did I understand right that you are using NFS to store the data? |
This comment has been minimized.
This comment has been minimized.
|
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>
.
|
This comment has been minimized.
This comment has been minimized.
|
you will lose some data (probably 15-30mins), but if you delete the non sequential wal files it will start as normal.
|
This comment has been minimized.
This comment has been minimized.
|
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. |
aclowkey commentedMar 12, 2019
Not sure what is the cause of this.
Any work arounds?