jeff.li
jeff.li
不能自动分配读写
后端两个mysql,一主一从,使用sysbench select测试时,预期应该将请求分配到只读mysql主机上,但是却分配到主库上。
https://github.com/vearch/gamma/blob/master/tests/test_files.cc#L310 测试文件一直走这个分支,是否是请求参数错误还是其他原因
hiredis 模块又一个小问题,redis启动,正常链接时候没什么问题,如果redis没有启动,会出现一直pollhup日志,这个问题我觉得主要在hiredis封装设置channel时没有设置closecallback导致,句柄一直没有删掉, 我尝试给hiredis模块增加一个handclose函数,如下 void Hiredis::handleClose() { ::redisAsyncHandleRead(_context); } setchannel时做下如下操作 _channel->setCloseCallback(std::bind(&Hiredis::handleClose, this)); 这样问解决了
Before asking a question on github, please consider if it is more appropriate for these other platforms: * [Slack Chat](https://join.slack.com/t/arrayfire-org/shared_invite/MjI4MjIzMDMzMTczLTE1MDI5ODg4NzYtN2QwNGE3ODA5OQ) * [Google Groups](https://groups.google.com/forum/#!forum/arrayfire-users) * ArrayFire Services: [Consulting](http://arrayfire.com/consulting/) | [Support](http://arrayfire.com/support/) |...
message does not deal with chunk mode, is it vath to do it in http message wrap?
defines `test.proto` ```protobuf syntax = "proto3"; package tutorial; enum PhoneType { MOBILE = 0; HOME = 1; WORK = 2; } message Person { string name = 1; int32 id...
I want to integrate c++ class to codon more conveniently, I known it how to integrate a c style function to codon. for example ,I write a class by template...