-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Base64 encoding of chunk ExternalKey in filesystem object store prevents per-tenant subdirectories #4291
Comments
Notably, |
hi all, any updates? |
@LinTechSo check #4333 |
Hi @jfolz , Thanks. but where should i put this[ tenant_folders: true ] or similar in loki yaml configuration? |
It's only a WIP PR by me, not something that's currently released. You can watch it to see progress. It's currently blocked on some other changes though (see discussion there). |
Hi! This issue has been automatically marked as stale because it has not had any We use a stalebot among other tools to help manage the state of issues in this project. Stalebots are also emotionless and cruel and can close issues which are still very relevant. If this issue is important to you, please add a comment to keep it open. More importantly, please add a thumbs-up to the original issue entry. We regularly sort for closed issues which have a We may also:
We are doing our best to respond, organize, and prioritize all issues but it can be a challenging task, |
. |
Support for schema v12 added for filesystem storage in #5291 fixes this. |
Describe the bug
Docs for filesystem object storage state that:
What happens instead is that chunks of different tenants are stored at the top level of the specified directory.
The
Chunk.ExternalKey
method suggests that a hierarchical structure is intended (UserID aka tenant is separated by a slash from the remainder of the key), but the base64 encoding used by the storage client prevents this from happening.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Chunks for tenants are stored in subdirectories as stated.
Environment:
The text was updated successfully, but these errors were encountered: