Skip to content

Moved bucket client pkg #3555

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

Merged
merged 6 commits into from
Dec 1, 2020
Merged

Conversation

pracucci
Copy link
Contributor

@pracucci pracucci commented Dec 1, 2020

What this PR does:
This is a refactoring PR in preparation for a follow-up PR where I will implement the bucket index reader and writer. The reason of this PR is to avoid circular dependencies between pkg/storage/tsdb and pkg/storage/tsdb/bucketindex. I believe this refactoring also makes sense design wise, considering this logic actually belongs to pkg/storage/backend and is not tied up with the blocks storage implementation.

Based on some offline discussion with Peter, I've renamed pkg/storage/backend to pkg/storage/bucket. I've also removed any "TSDB" or "blocks" reference from pkg/storage/bucket.

Which issue(s) this PR fixes:
N/A

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Copy link
Contributor

@jtlisi jtlisi left a comment

Choose a reason for hiding this comment

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

LGTM besides a minor nit

@pracucci pracucci merged commit af9e20c into cortexproject:master Dec 1, 2020
@pracucci pracucci deleted the move-bucket-clients branch December 1, 2020 16:01
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.

3 participants