Skip to content

Added memcached support to the blocks storage index cache #2290

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

Conversation

pracucci
Copy link
Contributor

What this PR does:
In this PR I've added memcached support to the blocks storage index cache.

The PR is quite large due to a refactoring I did in the index cache metrics re-mapping, moving it to the generic storage package. The index cache metrics mapping hasn't changed, while I've added the memcached one.

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]

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.

Good job! Looks like recent readiness probe work from @sandeepsukhani in #2275 comes handy :)

pracucci and others added 12 commits March 19, 2020 10:47
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>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
…being stuck

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

Co-Authored-By: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>

Co-Authored-By: Peter Štibraný <pstibrany@gmail.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>
@pracucci pracucci force-pushed the add-memcached-index-cache-support-for-blocks-storage branch from a8bdbbe to 8e9c601 Compare March 19, 2020 09:48
@pracucci pracucci merged commit 2aa503b into cortexproject:master Mar 19, 2020
@pracucci pracucci deleted the add-memcached-index-cache-support-for-blocks-storage branch March 19, 2020 13:28
simonswine pushed a commit to grafana/e2e that referenced this pull request Jan 13, 2022
…ect/cortex#2290)

* Added memcached support to the blocks storage index cache

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

* Updated CHANGELOG

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

* Documented blocks storage index cache backends

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

* Fixed doc

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

* Fixed unit tests

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

* Updated doc

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

* Added a timeout to the 'docker inspect' command to avoid the command being stuck

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

* Update integration/e2e/service.go

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

Co-Authored-By: Peter Štibraný <pstibrany@gmail.com>

* Update docs/operations/dns-service-discovery.md

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

Co-Authored-By: Peter Štibraný <pstibrany@gmail.com>

* Reworded util.StringsContain() comment and params

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

* Separated metrics helpers unit tests using go blocks

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

* Avoid a superfluous querier integration test

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

Co-authored-by: Peter Štibraný <pstibrany@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.

2 participants