weipatty

Results 5 comments of weipatty

这是coredump的打印,能帮忙看下么 E1028 09:32:20.007217 12324 phx_glog.cpp:82] IsGTIDCompleted get gtid 1086b42c-9b86-11e6-8901-38eaa715405c:769088 max gtid 1086b42c-9b86-11e6-8901-38eaa715405c:769088, master start W1028 09:32:20.007452 12324 phx_glog.cpp:78] SetMaster set master from not a master node E1028 09:32:20.007571 12324 phx_glog.cpp:82]...

跟踪了下,这次的check_sum计算是和上次的check_sum有关的 `uint64_t Utils::GetCheckSum(const uint64_t &old_checksum, const char *value, const size_t &value_size) { uint64_t checksum = old_checksum; for (size_t i = 0; i < value_size; ++i) { checksum = checksum *...

![image](https://user-images.githubusercontent.com/22818981/33004969-8fa706bc-cdfe-11e7-8e76-27cff889cbee.png) 新跟踪发现: 8001的paxos协议端口,应该不可能有这么大的包吧?要分片了,有一台机子没认这个包,上层没收到,导致选主一直选不通过。

暂时没有重现方法,但我们用的是比较旧的版本,有没有可能是这个bug的原因? https://github.com/Tencent/phxpaxos/releases/tag/v1.1.1 修复了一个重大BUG,某些编译环境下会导致单调时间获取不正确,从而使得设置了CLOCK_MONOTONIC的condition工作不正常,表现为运行卡死,Master无法选举等。如出现类似现象的,建议立即更新此版本。

具体哪个版本不清楚,是在phxpaxos更新这个bug之前的一个版本,