Skip to content

Conversation

@gouthamve
Copy link
Contributor

If the ring and the HA tracker share the same prefix then we will end up
handling invalid keys.

Fixes #1652 and #1628

Signed-off-by: Goutham Veeramachaneni gouthamve@gmail.com

@tomwilkie
Copy link
Contributor

/cc @cstyan - WDYT?

Copy link
Contributor

@tomwilkie tomwilkie left a comment

Choose a reason for hiding this comment

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

Assuming Callum is happy with it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we leave a comment here or somewhere nearby like The prefix has already been stripped, so a valid key would look like cluster/replica, and a key without a / such as ring would be invalid.

If the ring and the HA tracker share the same prefix then we will end up
handling invalid keys.

Fixes cortexproject#1652 and cortexproject#1628

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
@gouthamve gouthamve force-pushed the fix-ha-tracker-wrong-keys branch from 4b097cf to 4922f0b Compare September 18, 2019 16:05
@gouthamve gouthamve merged commit e16a10b into cortexproject:master Sep 18, 2019
@gouthamve gouthamve deleted the fix-ha-tracker-wrong-keys branch September 18, 2019 16:14
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.

enable ha-tracker,ERR

3 participants