Sticky IPs for MetaSrv when MetaSrv restart #4089
Labels
A-meta
Area: databend meta serive
C-improvement
Category: improvement
community-take
prio: high
High priority
Summary
Currently metasrv boot and join nodes using IP address, this way will cause problems when metasrv restart and the leader IP is changed. When MetaSrv restarted and the leader IP is changed, the followers still try to connect with the leader with old IPs.
We should join nodes using hostname, then store them and connect through DNS resolver.
PS: As we already have gRPC DNS resolver, so I think this is an easy task:)
The text was updated successfully, but these errors were encountered: