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 upAfter unsuccessful Tombstones deletion Prometheus won't start anymore #3782
Comments
This comment has been minimized.
This comment has been minimized.
|
I also found two meta.json files inside my data directory with the same minTime and maxTime: cat ./01C58GCYSY54NTQX2HV457AS6R/meta.json
cat ./01C58VZK0719S434ZRX0RVB2AJ/meta.json
Would it be save to delete on of the Folder? It seems like one of them is the duplicate one. |
This comment has been minimized.
This comment has been minimized.
|
Deleting Essentially, calling https://github.com/prometheus/tsdb/blob/master/db.go#L704-L733 |
This comment has been minimized.
This comment has been minimized.
|
Thanks for your help. I've deleted the said folder and after this prometheus is starting again. No errors were displayed in the log file. While prometheus was processing the CleanTombstones command my data directory doubled in size. What will happen if i execute the command again? Can i safely execute it again? However i've saved the corrupt data. Do you need anything more of this data that i can provide you? Maybe it should be noted in the documentation that you need 2x space to clean tombstones? But I think this would be a issue in the documentation repository. |
This comment has been minimized.
This comment has been minimized.
|
duplicate of #4200 new blocks will be deleted on failure to allow a clean start of Prometheus. |
krasi-georgiev
closed this
Aug 24, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
jreineke-nli commentedFeb 1, 2018
•
edited
What did you do?
I used the Tombstones deletion job and my disk filled up. The deletion Job exited with a file system is full error message. After i resized my drive, prometheus is telling me the following:
Opening storage failed invalid block sequence: block time ranges overlap (1510142400000, 1510488000000)
Prometheus terminates after this message.
Environment
System information:
Linux 4.4.0-112-generic x86_64
Prometheus version:
prometheus, version 2.1.0
Prometheus configuration file:
If needed i can post my configuration here.
Logs:
Can i somehow delete the duplicate ranges and start my prometheus server with this data set again?