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 upWhy was not first block compacted ? #3539
Comments
This comment has been minimized.
This comment has been minimized.
|
We compact blocks in time-ranges and it looks like the 2nd and 3rd blocks in one range while the 1st is not. See: https://github.com/prometheus/tsdb/blob/master/compact.go#L165-L191 Also, it makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
gouthamve
closed this
Dec 5, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 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. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
shogosanz commentedDec 4, 2017
What did you do?
I executed this command.
What did you expect to see?
tsdb compact older 3 blocks.
What did you see instead? Under which circumstances?
But, tsdb did not compact first block.
?
Why were not blocks compacted ?
↓
2nd block, 3rd block and 4th block were compacted.
Environment
Please give me some advice on what I should do.
Thank you and regards.