We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
举例来说: 每个应用可维护一个数据库 slave 列表,当某个从库宕机,会自动迁移到别的从库,当该从库恢复,可自动恢复到列表中?
The text was updated successfully, but these errors were encountered:
不支持,gendry只是一个帮你构建sql语句和读取DB返回数据的工具,manager用来实例化单个连接池。但是对于你的需求,首先我觉得这个功能应该由统一的DBProxy来完成而不是客户端,如果确实要在客户端上完成,那就需要你自己维护对于不同DB实例的连接池
Sorry, something went wrong.
DBProxy 在运维包括性能上可能会有问题,如果客户端能实现类似的功能,可能会更通用一些
虽然有这种需求,但我觉得这不在这个lib的职责范围内
No branches or pull requests
举例来说:
每个应用可维护一个数据库 slave 列表,当某个从库宕机,会自动迁移到别的从库,当该从库恢复,可自动恢复到列表中?
The text was updated successfully, but these errors were encountered: