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

能否增加个功能,根据主从延迟动态路由到从库 #575

Open
axpwx opened this issue Jul 9, 2020 · 0 comments
Open

能否增加个功能,根据主从延迟动态路由到从库 #575

axpwx opened this issue Jul 9, 2020 · 0 comments

Comments

@axpwx
Copy link

axpwx commented Jul 9, 2020

多从库的情况下,查询从库的show slave status,根据从库的复制状态和延迟时间动态进行路由,同时增加个最小保留数量的选项,可以支持保留N个延迟最小的从库。
目前kingshard没有数据一致性方面的特性,但是很多业务对这块有需求。如果利用down_after_noalive,从库机器根据自身延迟BAN掉kingshard的访问,下线后又不会自动上线,而且建立的连接也都关掉了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant