-
Notifications
You must be signed in to change notification settings - Fork 561
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
Import blockscopy too and rename it to copyblocks #3264
Conversation
Signed-off-by: Marco Pracucci <marco@pracucci.com>
We should perhaps change the original repo to remove the tool, or to link to this mimir-specific version. |
Co-authored-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Definitely, I will. |
|
# Copy blocks | ||
|
||
This program can copy Mimir blocks between two GCS buckets. It is GCS specific and uses special calls to copy | ||
files between buckets directly, without download to a local system first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
files between buckets directly, without download to a local system first. | |
files between buckets directly, without first downloading them to a local system. |
Is it accurate or inaccurate to include the word "first" in this phrase? With it, a download might happen; without it, a download does not happen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unblocking with feedback
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
What this PR does
We have a tool https://github.com/grafana/cortex-tools/tree/main/cmd/blockscopy to copy blocks between GCS bucket (it's GCS specific). I need to add more features to it (e.g. copy no-compact markers too), but first I would like to move it Mimir repo along with other tools. I've also rename it to
copyblocks
to keep consistency with the other tools we have (listblocks
,markblocks
).If this PR will be accepted, I will open an issue to add support for all storage backends in this tool too and write its doc.
Which issue(s) this PR fixes or relates to
N/A
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]