-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Thanos compactor upload COS bucket error #5137
Comments
Currently we use simple PUT API https://github.com/thanos-io/thanos/blob/main/pkg/objstore/cos/cos.go#L199, it has 5GB service limit , We need implement using multipart uploads API. on the other hand, you can use flag |
WIP |
Signed-off-by: Jimmie Han <[email protected]>
Signed-off-by: Jimmie Han <[email protected]>
The latest image runs without errors |
@wu3396 Just delete the "no-compact-mark.json" file using coscmd or cloud ui. then the compactor will process the block. |
@hanjm 14GB index file uploaded successfully. Thanks for the help! |
…o#5139) Signed-off-by: Nicholaswang <[email protected]>
Thanos version used:
0.24
Object Storage Provider:
COS
What happened:
upload cos object error, The single object size you upload can not be larger than 5GB
What you expected to happen:
Send correct file size to support multipart uploads
Full logs to relevant components:
level=error ts=2022-02-08T01:42:36.662263384Z caller=compact.go:492 msg="retriable error" err="compaction: group 0@14527284864645982195: upload of 01FVB6MWHT2KA0KXJGT444FYBY failed: upload index: upload file /data/thanos/compact/0@14527284864645982195/01FVB6MWHT2KA0KXJGT444FYBY/index as 01FVB6MWHT2KA0KXJGT444FYBY/index: upload cos object: The single object size you upload can not be larger than 5GB"
The text was updated successfully, but these errors were encountered: