Commit Graph

708 Commits

Author SHA1 Message Date
ruanshudong
01c00acd3e update protocol 2021-03-15 22:25:37 +08:00
hhuahh
b80fd9d789 Merge branch 'master' of https://github.com/TarsCloud/TarsCpp into fix_hash_conhash_weight_bug 2021-03-05 16:57:36 +08:00
hhuahh
0e009f8324 add _staticWeightChanged define in AdapterProxy.h 2021-03-05 16:55:25 +08:00
ruanshudong
3b8eefe405 merge pr, fix isPrimeNumber 2021-03-04 13:55:40 +08:00
miojizzy
909d7299cc fix tc_common prime judgment bug 2021-03-04 13:55:40 +08:00
ruanshudong
6434f40e84 fix tc_port exec 2021-03-04 13:55:40 +08:00
daihuaming
1c4909903c 修复 popen 失败返回空指针 没有判断就直接使用的BUG。 2021-03-04 13:55:40 +08:00
ruanshudong
cfe2b9cd57 update protocol 2021-03-04 13:55:40 +08:00
ruanshudong
d7ec1f3fc2 merge pr, fix isPrimeNumber 2021-03-04 13:55:40 +08:00
miojizzy
98f37a9552 fix tc_common prime judgment bug 2021-03-04 13:55:40 +08:00
tanzhongwu
64ce7ae963 修正异常里的函数名 2021-03-04 13:55:40 +08:00
tanzhongwu
f2acbcb0d4 修正异常里的函数名 2021-03-04 13:55:40 +08:00
ruanshudong
5de3445a09 fix tc_port exec 2021-03-04 13:50:18 +08:00
ruanshudong
550ce89dc1
Merge pull request #150 from ideadawn/master
修复 popen 失败返回空指针 没有判断就直接使用的BUG。
2021-03-04 13:44:30 +08:00
ruanshudong
ae0f8dcaaf update protocol 2021-03-04 11:13:47 +08:00
wincsb
4e4c72d16d Set the MYSQL_OPT_CONNECT_TIMEOUT, MYSQL_OPT_READ_TIMEOUT, MYSQL_OPT_WRITE_TIMEOUT options to prevent switching VIP/restarting the gateway after unplugging the network cable, causing "connnect", "real_query", etc. to be blocked for tens of minutes 2021-03-04 11:13:47 +08:00
BeyondWUXF
64b11e2562 一致性hash优化
同一服务有多个obj的情况,同一hash值调用不同的obj会hash到不同的服务器,因为addNode会根据desc(ip+port)计算md5,导致顺序不一致
2021-03-04 11:13:47 +08:00
ruanshudong
81d132d51f merge pr, fix isPrimeNumber 2021-03-04 11:13:47 +08:00
miojizzy
52ce47a450 fix tc_common prime judgment bug 2021-03-04 11:13:30 +08:00
ruanshudong
2966d38bdf
Merge pull request #152 from wincsb/release/2.4
set timeout options to prevent "connnect", "real_query" to be blocked for tens of minutes
2021-03-04 10:35:39 +08:00
ruanshudong
ba75f62e82
Merge pull request #153 from tzwsoho/fix_tc_bitmap_exception
修正异常里的函数名
2021-03-04 10:15:26 +08:00
tanzhongwu
6fbd8c482a 修正异常里的函数名 2021-03-04 10:14:09 +08:00
tanzhongwu
550d761487 修正异常里的函数名 2021-03-04 10:05:43 +08:00
ruanshudong
cf229e23a8
Merge pull request #145 from BeyondWUXF/release/2.4
Release/2.4
2021-03-04 09:19:20 +08:00
wincsb
d7adcb07c1 Set the MYSQL_OPT_CONNECT_TIMEOUT, MYSQL_OPT_READ_TIMEOUT, MYSQL_OPT_WRITE_TIMEOUT options to prevent switching VIP/restarting the gateway after unplugging the network cable, causing "connnect", "real_query", etc. to be blocked for tens of minutes 2021-03-02 11:15:31 +08:00
tantc
043ae779c7 处理压测连接数大于服务最大连接数,并且有连接频繁建立、断开时,TC_EpollServer::ConnectionList::getUniqId()中出现assert错误 2021-02-04 17:58:31 +08:00
tantc
cf2739cdfc 处理压测连接数大于服务最大连接数,并且有连接频繁建立、断开时,TC_EpollServer::ConnectionList::getUniqId()中出现assert错误 2021-02-04 17:07:48 +08:00
mq30
ddecdac133 fix to add missing break 2021-01-24 09:01:13 +08:00
mq30
7f3f60cd4e fix to avoid coredump while application exit 2021-01-21 08:48:41 +08:00
tantc
59ec84f0eb add .gitignore 2021-01-18 20:54:58 +08:00
tantc
774ef3821d Merge branch 'master' of https://github.com/TarsCloud/TarsCpp 2021-01-18 20:48:54 +08:00
hhuahh
5d9a6c4947 解决服务节点权重更新时哈希表和一致性哈希环不更新的问题 2021-01-15 14:48:34 +08:00
BeyondWUXF
2d156df6d1
Merge pull request #1 from BeyondWUXF/feature/BeyondWUXF/conHash_optimize
一致性hash优化
2021-01-12 14:46:16 +08:00
BeyondWUXF
7f27992e62
一致性hash优化
同一服务有多个obj的情况,同一hash值调用不同的obj会hash到不同的服务器,因为addNode会根据desc(ip+port)计算md5,导致顺序不一致
2021-01-12 14:44:15 +08:00
ruanshudong
29b0107ce9 update changelist & version 2.4.15 2020-12-31 09:36:44 +08:00
ruanshudong
09c5cd1d4f add ONLY_LIB, not build examples/servers by default, if you want build
examples, please cmake .. -DONLY_LIB=ON && make -j4
2020-12-31 09:36:44 +08:00
cachebyte
fd1e9f59cf change format of some files to UTF-8 BOM to fix compile errors under windows without changing any codes in these files. 2020-12-31 09:30:39 +08:00
zouchengzhuo
a850c29799 fix tc_consistent_hash_new.cpp 2020-12-31 09:30:39 +08:00
hukai
588887ef9f 已修改 tools/pb2tarscpp/CppGenCallback.cpp
已修改        tools/pb2tarscpp/CppGenProxy.cpp
2020-12-31 09:30:39 +08:00
ruanshudong
43155e55a0 merge pr, fix isPrimeNumber 2020-12-31 09:27:43 +08:00
ruanshudong
834556d423 update changelist & version 2.4.15 2020-12-31 09:20:18 +08:00
ruanshudong
3fb0d12b29 add ONLY_LIB, not build examples/servers by default, if you want build
examples, please cmake .. -DONLY_LIB=ON && make -j4
2020-12-31 09:20:18 +08:00
miojizzy
cb4c397130 fix tc_common prime judgment bug 2020-12-31 09:20:18 +08:00
ruanshudong
be74baf606
Merge pull request #143 from miojizzy/fix_prime_bug
fix tc_common prime judgment bug
2020-12-26 14:32:20 +08:00
ruanshudong
f5b180e7b4
Merge pull request #142 from cachebyte/release/2.4
Change format of files to fix compile errors under windows
2020-12-26 14:31:40 +08:00
miojizzy
eb7c7e1749
Merge branch 'master' into fix_prime_bug 2020-12-17 16:34:49 +08:00
miojizzy
c958c52277 fix tc_common prime judgment bug 2020-12-17 16:25:57 +08:00
cachebyte
0e590fdc56 change format of some files to UTF-8 BOM to fix compile errors under windows without changing any codes in these files. 2020-12-10 16:24:26 +08:00
ruanshudong
ca5e8297c2
Merge pull request #139 from zouchengzhuo/feature/czzou/fix_con_hash
fix tc_consistent_hash_new.cpp
2020-12-08 09:51:01 +08:00
ruanshudong
e4f223f1eb
Merge pull request #135 from Jack-tae/release/2.4
pb2tarscpp fix
2020-12-08 09:50:39 +08:00