-
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
Backup-restore now restart the etcd member incase of etcd's advertise peerURL found to be updated. #788
Conversation
@ishan16696 What is the impact of calling |
yes, that's very valid point.
backup-restore can send REST request to this URL of wrapper: |
I am not sure versioning of HTTP endpoints is the right approach. Instead one should start etcdbr with feature gate which should enable/disable wrapper handling. |
we already have a feature gate in druid as druid deploys etcd and backup-restore with either with |
@unmarshall @shreyas-s-rao and I have decided to introduced the CLI flag: |
…top wrapper endpoint
baf715d
to
ff41c68
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.
We have decided to make this backward-incompatible change. This has been added to the compatibility matrix in etcd-druid documentation.
/lgtm
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.
@ishan16696 thanks for the PR. One small nit from my side, but overall LGTM. I have tested this with gardener/etcd-druid#883 and the upgrade cases work perfectly now.
Co-authored-by: Shreyas Rao <[email protected]>
/cla |
@ishan16696 I reached out successfully to the cla-assistant to recheck this pull request. |
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 addressing the comment.
/lgtm
… peerURL found to be updated. (gardener#788) Fix for comparing member Peer URLs before updating and invoking stop wrapper endpoint Added a CLI flag:`--use-etcd-wrapper` to server sub-command. Co-authored-by: madhav bhargava <[email protected]> Co-authored-by: Shreyas Rao <[email protected]>
… peerURL found to be updated. (#788) (#794) Fix for comparing member Peer URLs before updating and invoking stop wrapper endpoint Added a CLI flag:`--use-etcd-wrapper` to server sub-command. Co-authored-by: madhav bhargava <[email protected]> Co-authored-by: Shreyas Rao <[email protected]>
What this PR does / why we need it:
--use-etcd-wrapper
(default: false) to enable/disable backup-restore to use etcd-wrapper related functionality.Which issue(s) this PR fixes:
Fixes #787
Special notes for your reviewer:
This PR needs to be tested with PR of etcd-wrapper: gardener/etcd-wrapper#31 where
/stop
endpoint is introduced with--use-etcd-wrapper
set totrue
for backup-restore.Release note: