Replace BucketReader.ObjectSize() with .Attributes()#2613
Replace BucketReader.ObjectSize() with .Attributes()#2613pracucci merged 6 commits intothanos-io:masterfrom
Conversation
4ff388f to
39b249d
Compare
bwplotka
left a comment
There was a problem hiding this comment.
Amazing! Tiny comments only and LGTM (: 💪
GiedriusS
left a comment
There was a problem hiding this comment.
Looks good modulo the current comments/suggestions
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
c95fd62 to
001bbf7
Compare
|
This PR has changed |
Thanks for the heads up. I'm going to open a PR to fix it. |
|
The method Aliyun oss api returns See oss api doc This bug cause the store fails to load buckets from aliyun oss. Could I submit a PR to fix this? Thanks. |
|
Yes please @SabaPing ❤️ |

Changes
As first step to address #2585, in this PR I've replaced
BucketReader.ObjectSize()withAttributes()in order to also be able to read the object last modified timestamp via theBucketReader./cc @pstibrany
Verification
Unit tests.