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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(blooms): Improve how block directory is extracted #12030

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

chaudum
Copy link
Contributor

@chaudum chaudum commented Feb 21, 2024

What this PR does / why we need it:

This PR contains two changes:

  1. Extracting the block without an intermediate temp file.
    The commit is cherry-picked from fix: Extract block directory directly from gzipped tar reader聽#12021, but that PR got merged into the wrong branch 馃檲
  2. Strip .tar.gz suffix from block file when extracting it into a directory.

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
@chaudum chaudum requested a review from a team as a code owner February 21, 2024 22:52
@chaudum chaudum merged commit 32a9a3f into main Feb 22, 2024
13 checks passed
@chaudum chaudum deleted the chaudum/extract-block-directory branch February 22, 2024 08:01
onelapahead pushed a commit to onelapahead/loki that referenced this pull request Feb 22, 2024
This PR contains two changes:

1) Extracting the block without an intermediate temp file.
   The commit is cherry-picked from grafana#12021, but that PR got merged into the wrong branch 馃檲 

2) Strip `.tar.gz` suffix from block file when extracting it into a directory.

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
onelapahead pushed a commit to onelapahead/loki that referenced this pull request Feb 22, 2024
This PR contains two changes:

1) Extracting the block without an intermediate temp file.
   The commit is cherry-picked from grafana#12021, but that PR got merged into the wrong branch 馃檲

2) Strip `.tar.gz` suffix from block file when extracting it into a directory.

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>

merge

Signed-off-by: hfuss <hayden.fuss@kaleido.io>
rhnasc pushed a commit to inloco/loki that referenced this pull request Apr 12, 2024
This PR contains two changes:

1) Extracting the block without an intermediate temp file.
   The commit is cherry-picked from grafana#12021, but that PR got merged into the wrong branch 馃檲 

2) Strip `.tar.gz` suffix from block file when extracting it into a directory.

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
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.

None yet

2 participants