-
Notifications
You must be signed in to change notification settings - Fork 101
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
Modify URL parsing for advertise-urls
used by etcd
sidecar
#715
Modify URL parsing for advertise-urls
used by etcd
sidecar
#715
Conversation
d904c2b
to
21945e3
Compare
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.
Thanks for your PR @anveshreddy18!
I'm personally not a fan of regular expressions so I've suggested a different way of doing it in my review. If you don't have any objections and think this method is clearer, please go ahead and adapt these changes to the two functions that are using regex.
Thanks.
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.
few nits
@anveshreddy18 please also resolves the merge conflicts. |
…ls instead of @ separator
018939c
to
2f788e2
Compare
Is backup-restore parsing of config-map backward compatible ? |
It won't, in one of the meets between me, Sesha & Madhav, we decided to upgrade & downgrade druid along with the compatiable |
currently the edge case which we found in our production can also affect this feature of updating the config-map, let me explain:
so, it's no longer about downgrading the druid, it can affect the upgrading as well. |
Regarding this @anveshreddy18 and I had a call and we found that this case may not be possible but we need test this or any other edge case on similar line of thought. |
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!!
What this PR does / why we need it:
This PR modifies the parsing logic for the etcd config parameters
initial-advertise-peer-urls
andadvertise-client-urls
as the druid PR #812 now uses proper URLs for these flags instead of@
as separator currently being used.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: