You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…members (#7753)
close#7752
Use the PD leader member set in the server if it's not in the etcd member list to gain a better chance to work.
Signed-off-by: JmPotato <ghzpotato@gmail.com>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
The significant time difference between the two logs is because the physical time of the machine differs by 40 seconds. So this should not be a problem that needs to be fixed.
From PD A:
According to this log, it successfully watch and set the PD leader B at 01:51:07.255. However, from the client side:
This means the following code failed to get the
pdLeader
frommembers
though it has a PD leader set.pd/server/grpc_service.go
Lines 495 to 501 in b27b1e9
Maybe we should fallback to use the PD leader member info if it does not exist in etcd member list.
The text was updated successfully, but these errors were encountered: