-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Prometheus stopped working after the error - opening storage failed: reloadBlocks: invalid block sequence: block time ranges overlap: #10215
Replies: 2 comments · 1 reply
-
Prometheus would not create overlapping blocks. But depends on how data was put into Prometheus and if some data was manually put later (for example backfilling). You can set the |
Beta Was this translation helpful? Give feedback.
All reactions
-
@codesome thank you for the response. Following are the findings after setting this falg.
The rest of the logs are just about deleting the folders one by one.
Command-Line Flags
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Default retention is 15 days. So if you want older data, you need to set it to a higher value. And if you have moved the data without the |
Beta Was this translation helpful? Give feedback.
-
Prometheus version - prometheus-2.33.0-rc.1.windows-amd64
Scenario
It is a very basic one. We are testing Prometheus out to be used for our needs.
Issue
Prometheus is continuously throwing the above error. Although the new data has no issues. The new information is being stored perfectly fine.Resolutions triedI followed a few examples that had similar issues but the solutions to those did not help. I pointed Prometheus to a new location and thought of moving the directories from the old storage to the new one.I have verified the following:No other services or apps are using the folder or files.Prometheus has access and creates folders with new data. Only problem is the existing data which cannot be retrieved at this point.Questions
Beta Was this translation helpful? Give feedback.
All reactions