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

【腾讯犀牛鸟开源课题实战】对接mysql sdk(主框架变动部分) #191

Closed
wants to merge 0 commits into from

Conversation

KosmosFult
Copy link
Contributor

related issue

MySQL相关protocol和config相关

trpc/client/BUILD Outdated Show resolved Hide resolved
@@ -118,9 +118,18 @@ class ServiceProxy {
/// in the options for non-direct connection models.
const std::string& GetServiceName();

// Collect statistics on the service proxy and report them to the tvar.
void ProxyStatistics(const ClientContextPtr& ctx);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为啥要调整位置呢,原来的接口声明放置位置看上去没啥问题,文件的改动应该只需要在 Init 和 Destroy 前加上virtual,其他不需要改,只改Init和Destroy的话,commit数量是不是有点过多了,能不能只提一个commit

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

因为ProxyStatistics是在ServiceProxy的接口里面调用的,还有CheckTimeout,但继承后不走那个接口。

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

Successfully merging this pull request may close these issues.

2 participants