Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sticky IPs for MetaSrv when MetaSrv restart #4089

Closed
Tracked by #3428
ariesdevil opened this issue Feb 10, 2022 · 2 comments
Closed
Tracked by #3428

Sticky IPs for MetaSrv when MetaSrv restart #4089

ariesdevil opened this issue Feb 10, 2022 · 2 comments
Assignees
Labels
A-meta Area: databend meta serive C-improvement Category: improvement community-take prio: high High priority

Comments

@ariesdevil
Copy link
Contributor

ariesdevil commented Feb 10, 2022

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

@ariesdevil ariesdevil added C-improvement Category: improvement A-meta Area: databend meta serive good first issue Category: good first issue labels Feb 10, 2022
@wangzhen11aaa
Copy link
Contributor

/assignme

@BohuTANG
Copy link
Member

BohuTANG commented Feb 12, 2022

The meta DNS is ready for you, cc @ZhiHanZ
Thank you @wangzhen11aaa , let's close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-meta Area: databend meta serive C-improvement Category: improvement community-take prio: high High priority
Projects
None yet
Development

No branches or pull requests

4 participants