-
Notifications
You must be signed in to change notification settings - Fork 808
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
Fix ooo compacted blocks shipping #5416
Conversation
Maybe we should make that configuration as a function so that we can hot reload at runtime |
Thanks. LGTM |
I will try to fix this hot reload issue before I merge this pr. |
Opened thanos-io/thanos#6526 as well |
I am going to resolve the conflicts and get the pr merged. |
bf01afd
to
e6379cd
Compare
Signed-off-by: Ben Ye <[email protected]>
e6379cd
to
2b88800
Compare
Signed-off-by: Ben Ye <[email protected]>
I just realized that OOO blocks or compacted blocks can already be uploaded to objstore when OOO time window is > 0 for a user. |
Signed-off-by: Ben Ye <[email protected]>
Signed-off-by: Ben Ye <[email protected]>
I feel there is still an edge case here. A user has OOO enabled before but disabled OOO after. This might cause compacted OOO blocks unable to be uploaded because shipper turned uploading compacted blocks off. I don't have a good plan on how to solve it. Maybe we can always turn on uploading compacted blocks. If we can turn it on for OOO and it doesn't impact anything. I don't why we cannot turn on it for normal case. Update: Added #5625 to supercede this pr. |
Superceded by #5625 |
What this PR does:
If OOO is enabled, shipper needs to upload compacted blocks.
Another thing is that we supports hot reload of OOO time window so we might need to support hot reload shipper configuration as well.
Which issue(s) this PR fixes:
Fixes #5402
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]