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
Currently PD client has the functionality to maintain the latest leader and members in pdServiceDiscovery. It's helpful that this functionality can help caller know latest PD leader/member information when caller access them directly rather than use Client interface. One example is lightning directly use leader address to use HTTP API.
So I propose these new methods to Client interface
Enhancement Task
Currently PD client has the functionality to maintain the latest leader and members in
pdServiceDiscovery
. It's helpful that this functionality can help caller know latest PD leader/member information when caller access them directly rather than use Client interface. One example is lightning directly use leader address to use HTTP API.So I propose these new methods to Client interface
And caller can use it like
When the callback function fails for network problem, PD client can also trigger internal leader/member updating.
The text was updated successfully, but these errors were encountered: