Skip to content

Added flag to explicitly enable zone-awareness replication and added store-gateway support #3200

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:

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]

@@ -402,72 +407,6 @@ func (r *Ring) Collect(ch chan<- prometheus.Metric) {
)
}

// Subring returns a ring of n ingesters from the given ring. If the subring can't be built
// (ie. because there are not enough instances) then it returns the full ring.
func (r *Ring) Subring(key uint32, n int) ReadRing {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Forgot to remove it in #3090, so removing it now.

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.

Great job!

@pracucci
Copy link
Contributor Author

@pstibrany Thanks for your review. Could you check it again, please?

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, great job! I especially like ring tests unification :)

pracucci and others added 5 commits September 22, 2020 08:26
…store-gateway support

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>
…r the replication set

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci force-pushed the add-flag-to-explicitly-enable-zone-awareness branch from e6a9612 to 21483eb Compare September 22, 2020 06:28
@pracucci pracucci merged commit 029b6ff into cortexproject:master Sep 22, 2020
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