Commit Graph

251 Commits

Author SHA1 Message Date
ruanshudong
6b383550a5 add unitttest 2021-08-23 15:35:24 +08:00
ruanshudong
1bdad61e22 add co, epoller support co.
add tc_transceiver, Network layer unification
2021-08-22 10:40:24 +08:00
ruanshudong
308c58d306 fix StatReport crash when communicatorEpoll delete 2021-08-19 14:53:22 +08:00
ruanshudong
dc370094f3 update protocol 2021-08-19 09:51:59 +08:00
ruanshudong
448234a1de tars-tools.cmake support K8S upload 2021-08-18 19:16:33 +08:00
edisenwang
79acc8debf Merge branch 'master' of https://github.com/edisenwangK/TarsCpp into hotfix/edisenwangK/fix_tc_json_bug 2021-08-06 02:07:28 +08:00
ruanshudong
482e4f8cb2 application add addServantWithParams support parameter for handle 2021-07-27 10:14:45 +08:00
ruanshudong
c8ab0a81df remove message.h opentracking define 2021-07-27 10:07:13 +08:00
ruanshudong
690bd01bcd Merge branch 'master' into release/2.4 2021-07-27 09:22:28 +08:00
wangguanfeng
fc8ccbaf05 support grpc and add GrpcDemo 2021-07-23 10:08:42 +08:00
edisenwang
49df6a5c53 增加tc_json.h int64_t字段,double字段存储int64_t值有可能会丢失精度 2021-06-30 18:41:02 +08:00
wincsb
5e720b3ad7 Fix the coredump problem of tars service after turning on the tars_opentracking compilation switch 2021-06-16 13:41:26 +08:00
liubingbing2
74bb58f03c 修复 refresh-endpoint-interval 配置无效 2021-05-28 18:35:29 +08:00
edisenwang
9abcdd07d2 修复打开TARS_OPENTARCKING宏时,没有上报tarce信息的问题 2021-04-21 17:56:40 +08:00
ruanshudong
d9f10ddb94
Merge pull request #156 from hhuahh/coro_opt
协程调度机制调整
2021-04-02 09:21:51 +08:00
ruanshudong
557a2188db fix protocol 2021-03-28 22:27:52 +08:00
huanghua
9047f59950 协程调度机制调整,尽量保证sleep的协程及时被唤醒 2021-03-24 14:15:43 +08:00
huanghua
25a82b7046 协程调度机制调整 2021-03-24 13:57:48 +08:00
tantc
0e50a684e3 linux windows下为小端,修正字节序转换函数定义错误,比如tars_ntonll 2021-03-24 10:40:26 +08:00
ruanshudong
057eadfe56 fix tars hash AdapterProxy.h commet 2021-03-24 09:38:37 +08:00
ruanshudong
7d6a500ada fix hash call bug 2021-03-24 09:38:37 +08:00
mq30
7b28c5e1a7 fix to add missing break 2021-03-24 09:38:37 +08:00
mq30
c2dcd64b7d fix to avoid coredump while application exit 2021-03-24 09:38:37 +08:00
hhuahh
eb09032a96 add _staticWeightChanged define in AdapterProxy.h 2021-03-24 09:38:37 +08:00
hhuahh
1655b071c7 解决服务节点权重更新时哈希表和一致性哈希环不更新的问题 2021-03-24 09:38:37 +08:00
tantc
82182839be 处理压测连接数大于服务最大连接数,并且有连接频繁建立、断开时,TC_EpollServer::ConnectionList::getUniqId()中出现assert错误 2021-03-24 09:38:37 +08:00
tantc
aa62d4db4a linux windows下为小端,修正字节序转换函数定义错误,比如tars_ntonll 2021-03-24 09:38:37 +08:00
ruanshudong
01c00acd3e update protocol 2021-03-15 22:25:37 +08:00
ruanshudong
6434f40e84 fix tc_port exec 2021-03-04 13:55:40 +08:00
ruanshudong
cfe2b9cd57 update protocol 2021-03-04 13:55:40 +08:00
BeyondWUXF
7f27992e62
一致性hash优化
同一服务有多个obj的情况,同一hash值调用不同的obj会hash到不同的服务器,因为addNode会根据desc(ip+port)计算md5,导致顺序不一致
2021-01-12 14:44:15 +08:00
ruanshudong
ef565b2784 fix tars-tools.cmake link pthread bug in ubuntu 2020-11-25 17:13:56 +08:00
ruanshudong
0edab06f01 fix create server script, change to bash 2020-11-25 16:49:55 +08:00
ruanshudong
fb820c906f update protocol 2020-11-16 17:55:25 +08:00
ruanshudong
fc6905dc69 update servant/protocol 2020-11-16 14:49:47 +08:00
ruanshudong
b2441a7973 fix tc_port windows compiler error 2020-11-16 13:43:25 +08:00
ruanshudong
be0cab8d46 epoll add/del/mod and return value 2020-11-09 15:34:21 +08:00
ruanshudong
2c9007d6f0 ServantProxyThreadData reset when communicator terminate 2020-11-09 15:34:21 +08:00
ruanshudong
5e95c4e577 get rid of the singleton. You can start multiple applications in
a process!
2020-11-09 15:34:21 +08:00
ruanshudong
1e597a0020 fix EndpointManager decontructor 2020-11-09 15:34:21 +08:00
ruanshudong
97fe32025c fix communicator terminate 2020-11-09 15:34:21 +08:00
ruanshudong
492ab8a689 application support parse string config 2020-11-09 15:34:21 +08:00
ruanshudong
3b2a6a15a5 fix hash bug in first connection 2020-11-09 15:34:20 +08:00
ruanshudong
293dd91088 remove objectproxy log 2020-11-09 15:34:20 +08:00
ruanshudong
f1e3f9d882 update protocol 2020-11-09 15:33:38 +08:00
yaoyao
0501e9641e cmake copy .tars文件到tarsproto/protocol中
更改win中目录路径符合 \\到/
2020-10-23 18:38:32 +08:00
ruanshudong
67e27bd9e7 update protocol 2020-10-15 19:17:57 +08:00
Z.SX
8c9df5ccdd
Fix link error while using TC_Mysql 2020-10-01 23:13:16 +08:00
ruanshudong
bd0cb1bcfb update servant/protocol 2020-09-29 16:17:08 +08:00
ruanshudong
0add321b25 update servant/protocol 2020-09-29 16:16:20 +08:00