Markblocks tool cannot find blocks when using GCS storage #3679
Unanswered
ronanbarrett
asked this question in
Help and support
Replies: 2 comments
-
Hello.
Do you use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Aha! I didn't realise this prefix flag had been set in the chart. Confirmed your suggested solution of using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
The
markblocks
tool bundled with mimir doesn't find blocks that exist in GCS storage.To Reproduce
gsutil ls -l gs://my-gcp-project/blocks/my-tenant/01GHF3BV8D6JNT8X88Q07F9FZK
markblocks
to delete a block e.g.markblocks -mark deletion -allow-partial -tenant "my-tenant" -backend gcs -gcs.bucket-name my-gcp-project 01GHF3BV8D6JNT8X88Q07F9FZK
. It cannot find the block as it is in fact looking atgsutil ls -l gs://my-gcp-project/my-tenant/01GHF3BV8D6JNT8X88Q07F9FZK
i.e. not inside theblocks
folder in the bucketmarkblocks -mark deletion -allow-partial -tenant "my-tenant/blocks" -backend gcs -gcs.bucket-name my-gcp-project 01GHF3BV8D6JNT8X88Q07F9FZK
. Note I have stuck theblocks
path into thetenant
flag to make it work.Expected behavior
The "blocks" folder should be expected and the user should not have to append it to the tenant to force it to work
Environment
Additional Context
Tested using a clone of
main
branch and also releasemimir-distributed-3.3.0
Beta Was this translation helpful? Give feedback.
All reactions