Skip to content

Sticky IPs for MetaSrv when MetaSrv restart #4089

@ariesdevil

Description

@ariesdevil

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:)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions