Skip to content

Conversation

@caijieming-ng
Copy link
Collaborator

No description provided.

@baidubot
Copy link
Collaborator

Reviewers: @taocp @bluebore

@caijieming-ng
Copy link
Collaborator Author

#735
在析构teraclient时,保证调用rpc client的shutdown接口,保证rpc所有后台线程都退出;

Copy link
Collaborator

Choose a reason for hiding this comment

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

RpcClientBase是TabletNodeClient和MasterClient共享的,所以这么改并不合适,实际上上面的SetRpcOption函数也没有存在的意义,正确的做法是直接调RpcClientBase::SetOption和RpcClientBase::Shutdown

@taocp
Copy link
Collaborator

taocp commented Jan 27, 2016

哈哈,建议先把这个版本给报问题的用户试试,没问题的话再评论。

@bluebore
Copy link
Collaborator

bluebore commented Mar 3, 2016

这个有进展么

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.

5 participants