Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

fix get current pd leader error when rolling update pd #1081

Merged
merged 2 commits into from
Jan 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common_tasks/transfer_pd_leader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
body_format: json
status_code: 200
register: pd_leader_info
until: pd_leader_info.json.name is defined and pd_leader_info.json.name != pd_name
until: pd_leader_info.json is defined and pd_leader_info.json.name is defined and pd_leader_info.json.name != pd_name
retries: 12
delay: 10
failed_when: false
Expand All @@ -65,7 +65,7 @@
body_format: json
status_code: 200
register: pd_leader_info_tls
until: pd_leader_info_tls.json.name is defined and pd_leader_info_tls.json.name != pd_name
until: pd_leader_info_tls.json is defined and pd_leader_info_tls.json.name is defined and pd_leader_info_tls.json.name != pd_name
retries: 12
delay: 10
failed_when: false
Expand Down