Skip to content
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

skip empty object key returned by some s3 compatible storage while listing boltdb-shipper index #6123

Merged

Conversation

sandeepsukhani
Copy link
Contributor

What this PR does / why we need it:
With some of the s3 compatible storage, we get the path passed to the list operation back in the list of objects. We had seen a similar issue being fixed in PR #3173. This PR takes care of it in the cached object client as well.

Which issue(s) this PR fixes:
Fixes #5909

@sandeepsukhani sandeepsukhani requested a review from a team as a code owner May 9, 2022 07:34
@sandeepsukhani sandeepsukhani force-pushed the skip-empty-object-key-boltdb-shipper branch from 577bf3f to 26dff69 Compare May 9, 2022 07:44
@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
-        distributor	-0.3%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

Copy link
Contributor

@chaudum chaudum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it would be worth adding a changelog entry for that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error syncing tables to S3 after upgrading to 2.5.0 from 2.4.2 - "invalid key: "
5 participants