-
Notifications
You must be signed in to change notification settings - Fork 781
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
change dedup to use one key and do auto-cleanup of the dedup kv store #1168
Conversation
@bofm Thanks for the contribution. We'd like to land it with a few minor changes, but are you able to sign the CLA? |
I don't want to sign it. What would you like to change in the implementation? |
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.
manager/dedup.go
Outdated
@@ -32,7 +32,8 @@ const ( | |||
|
|||
// templateDataFlag is added as a flag to the shared data values | |||
// so that we can use it as a sanity check | |||
templateDataFlag = 0x22b9a127a2c03520 | |||
templateDataFlag = 0x22b9a127a2c03520 |
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.
This can get removed now since it's not used anywhere.
Can you please re-run the tests |
All signed. Can it be merged? |
Merged and will be part of upcoming release. Thanks! |
Changed deduplication to achieve the following:
consul-template/dedup/<md5>/data
fixes #1158