Skip to content
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

Changed the default value for -distributor.ha-tracker.prefix in order to not clash with other keys #1940

Merged

Conversation

pracucci
Copy link
Contributor

What this PR does:

Using the default flags/config, the HA Tracker clashes with the ring if the both share the same KVStore backend (ie. same consul cluster). This is due to the fact that the HA Tracker watches all keys on prefix "" and decode each of them, but can't decode the ring one.

In this PR I'm proposing to change the default value of the HA Tracker KVStore prefix, in order to not have them clashing just using the default settings out of the box.

Which issue(s) this PR fixes:
Fixes #1936

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Contributor

@jtlisi jtlisi left a comment

Choose a reason for hiding this comment

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

LGTM

… to not clash with other keys

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci force-pushed the fix-ha-tracker-default-prefix branch from 4a388dd to 7e29ec1 Compare January 10, 2020 07:43
@pracucci
Copy link
Contributor Author

@gouthamve I've rebased it to fix conflicts.

@gouthamve gouthamve merged commit 1aaa4a1 into cortexproject:master Jan 15, 2020
@pracucci pracucci deleted the fix-ha-tracker-default-prefix branch January 15, 2020 17:49
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.

error decoding list of values for prefix:key
3 participants