Skip to content

Conversation

@tomwilkie
Copy link
Contributor

@tomwilkie tomwilkie commented Feb 14, 2018

Move AWS-related code into chunk/aws package.

This promotes decoupling and allows us to start reusing some the more generic chunk storage tests against the other backends.

Also:

  • Move to dep v0.4.1 and use prune-on-ensure behaviour.
  • Update Bigtable vendoring.
  • Set up test fixtures for the BigTable backend.
  • Honor context cancellation in bigtable.GetChunks.
  • Ensure test only asks for given chunks once per batch.
  • Some renaming in the AWS pkg to remove the stutter.

@tomwilkie tomwilkie force-pushed the aws-chunk-store branch 4 times, most recently from 272d23b to 3b47305 Compare February 14, 2018 14:45
@cboggs
Copy link
Contributor

cboggs commented Feb 14, 2018

👍 Especially on the dep upgrade - I was a hair's breadth from doing this yesterday!

At a glance, this makes chunk code far less confusing to navigate.

It all built cleanly for me, and I rolled the querier out to our staging environment as a quick smoke-test - worked fine.

Thanks for this!

@tomwilkie
Copy link
Contributor Author

New dep is much faster too, massive win.

Thanks!

@jml
Copy link
Contributor

jml commented Feb 15, 2018 via email

This promotes decoupling and allows us to start reusing some the more generic chunk storage tests against the other backends.

Also:
- Set up test fixtures for the BigTable backend.
- Honor context cancellation in bigtable.GetChunks.
- Ensure test only asks for given chunks once per batch.
- Some renaming in the AWS pkg to remove the stutter.
@tomwilkie
Copy link
Contributor Author

@bboreham this has been rebase now.

@bboreham bboreham merged commit cc8cdf4 into cortexproject:master Feb 27, 2018
@tomwilkie tomwilkie deleted the aws-chunk-store branch February 27, 2018 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants