-
Notifications
You must be signed in to change notification settings - Fork 820
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
Added flag to explicitly enable zone-awareness replication and added store-gateway support #3200
Conversation
@@ -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 { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
@pstibrany Thanks for your review. Could you check it again, please? |
There was a problem hiding this 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 :)
…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>
e6a9612
to
21483eb
Compare
What this PR does:
In this PR:
Which issue(s) this PR fixes:
N/A
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]