Commit Graph

905 Commits

Author SHA1 Message Date
yihaoDeng 77829e2676 exhandle mem leak 2022-12-09 13:23:52 +08:00
yihaoDeng 0b1cef9b51 fix udfd crash 2022-12-09 11:29:04 +08:00
yihaoDeng ed6f542a3e TD-20975 2022-12-08 21:18:36 +08:00
yihaoDeng b2b1eb748a update epset 2022-12-08 15:31:20 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan 4172acf95d git lo 2022-12-07 19:39:53 +08:00
Shengliang Guan d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
yihaoDeng 3710dbe2e0 fix mem leak 2022-12-07 16:57:45 +08:00
yihaoDeng 6635691f52 add msg type 2022-12-06 22:21:47 +08:00
yihaoDeng 0254e90ce6 avoid null pointer 2022-12-06 13:42:59 +08:00
yihaoDeng 4e87bcc97a support fail fast 2022-12-06 10:53:31 +08:00
yihaoDeng 9ce9d21507 support fail fast 2022-12-06 10:30:14 +08:00
yihaoDeng 4be196491e add fail-fast 2022-12-05 22:39:18 +08:00
Shengliang Guan 2734405a8f Merge branch '3.0' into enh/changeRpcLogLevel 2022-12-03 09:19:59 +08:00
yihaoDeng 3d28255dfa change rpc log level 2022-12-02 23:19:57 +08:00
Shengliang Guan f3e980de14 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:45:11 +08:00
Shengliang Guan 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
dapan1121 dff4c36092
Merge branch '3.0' into fix/TD-20802 2022-12-02 10:11:39 +08:00
Shengliang Guan d8f72ec014
Merge pull request #18611 from taosdata/enh/refatorRetry
enh: refactor retry code
2022-12-02 08:02:33 +08:00
yihaoDeng 3378ff0fb8 refactor code 2022-12-01 16:03:40 +08:00
dapan1121 98726f17fa fix: redirect handler issue 2022-12-01 14:54:58 +08:00
Benguang Zhao 55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00
Shengliang Guan fd31980b91
Merge pull request #18535 from taosdata/enh/addTraceInfo
enh: add trace info
2022-11-30 17:23:20 +08:00
Shengliang Guan 189cdc4f63
Merge pull request #18533 from taosdata/enh/clientRetry
enh: refactor retry
2022-11-30 10:47:13 +08:00
Benguang Zhao 470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
yihaoDeng dcd16684a0 fix invalid param 2022-11-29 17:53:24 +08:00
yihaoDeng 5425d67c9a add timestamp to msg head 2022-11-29 11:40:58 +08:00
yihaoDeng d463f05b3f change paramter 2022-11-29 10:28:32 +08:00
yihaoDeng 65aa86edec change paramter 2022-11-29 10:11:34 +08:00
yihaoDeng 91b09893bf change paramter 2022-11-28 22:16:00 +08:00
yihaoDeng f5db4a8b40 change paramter 2022-11-28 22:08:21 +08:00
yihaoDeng bc577f0855 Merge branch 'enh/changeParamter2' of https://github.com/taosdata/TDengine into ch 2022-11-28 20:44:45 +08:00
yihaoDeng 3727cedeb3 change paramter 2022-11-28 20:43:33 +08:00
gccgdb1234 6e7e02c3cd fix compile 2022-11-28 19:13:11 +08:00
gccgdb1234 25889595d8 fix compile 2022-11-28 18:01:15 +08:00
gccgdb1234 2bb59df74b fix compile 2022-11-28 17:47:49 +08:00
Benguang Zhao dc2dcea3de Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-28 14:27:10 +08:00
yihaoDeng 0611ecbe31 change paramter 2022-11-28 10:53:27 +08:00
yihaoDeng f3c1eb829e refactor retry 2022-11-28 10:10:11 +08:00
yihaoDeng aff649deb7 adjust parameer 2022-11-27 23:00:32 +08:00
Shengliang Guan 58a0ea253e
Revert "enh: add debug info" 2022-11-27 00:44:12 +08:00
Shengliang Guan 38aa1a2f28
Merge pull request #18452 from taosdata/enh/TD-20719
enh: add debug info
2022-11-26 15:44:41 +08:00
yihaoDeng 763b8e9cf2 Merge branch 'dv' into ml 2022-11-25 15:04:06 +08:00
yihaoDeng 55af567ccc change code 2022-11-25 14:47:06 +08:00
yihaoDeng 3fd6de0c53 change code 2022-11-25 14:20:30 +08:00
yihaoDeng 44a33ffad0 add debug info 2022-11-25 13:17:09 +08:00
Benguang Zhao 68f8ebac9d Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-25 13:10:06 +08:00
yihaoDeng 06af61d975 add debug info 2022-11-25 12:03:08 +08:00
yihaoDeng 44eaa27989 fix invalid packet 2022-11-24 20:54:34 +08:00
yihaoDeng 0d3bc9bf37 remove log 2022-11-24 19:37:40 +08:00
yihaoDeng febe918d36 add debug info 2022-11-24 10:28:38 +08:00
yihaoDeng be410b9903 add debug info 2022-11-23 21:33:11 +08:00
yihaoDeng c84f9f8634 add debug info 2022-11-23 18:29:31 +08:00
yihaoDeng 3f0ea98cb2 fix mem leak 2022-11-23 11:33:03 +08:00
yihaoDeng c9407a7726 fix mem leak 2022-11-23 11:31:13 +08:00
Shengliang Guan 7322ebb897
Merge pull request #18356 from taosdata/fix/TD-20536
fix: the message is repeatedly compressed when redirect
2022-11-22 19:58:31 +08:00
yihaoDeng 42e6f59e49 avoid invalid vgroup id 2022-11-22 16:53:58 +08:00
yihaoDeng 865332d960 avoid double compress 2022-11-22 15:27:07 +08:00
yihaoDeng fec994e124 avoid double compress 2022-11-22 15:04:07 +08:00
yihaoDeng 963d56cfc1 retry code 2022-11-22 11:10:28 +08:00
yihaoDeng 62bf1c024a refactor retry 2022-11-21 21:25:15 +08:00
Benguang Zhao b90ee79623 fix: use syncLogBufferCommit in syncNodeOnLocalCmd 2022-11-21 13:51:01 +08:00
yihaoDeng ba23ed2317 add simple retry 2022-11-20 18:53:48 +08:00
Shengliang Guan 9c426540e7 fix: memory leaks while check mnode state 2022-11-18 20:15:13 +08:00
Benguang Zhao 363cbc8985 fix: update cbMeta rsp handle info in syncLogFsmExecute 2022-11-18 09:37:58 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Benguang Zhao ab2f4e974c fix: protect against nullptr of pMsg in cliHandleExeptImpl 2022-11-16 12:02:46 +08:00
Benguang Zhao def4058eb1 feat: impl pipelining negotiation 2022-11-11 22:55:21 +08:00
yihaoDeng 5a0da6d28d conn timeout refactor 2022-11-11 21:42:23 +08:00
yihaoDeng 174ba6ad6e conn timeout refactor 2022-11-11 21:18:36 +08:00
yihaoDeng 197d5d4b7a free unfinished ahandle while quit 2022-11-11 19:41:02 +08:00
yihaoDeng 52b28fbceb fix ahandle mem leak 2022-11-11 19:16:51 +08:00
yihaoDeng 8fa39accdf conn timeout refactor 2022-11-11 16:11:37 +08:00
yihaoDeng 50f148abac conn timeout refactor 2022-11-11 16:04:20 +08:00
yihaoDeng 27ebbdadf2 add rpc retry config 2022-11-10 19:44:45 +08:00
yihaoDeng 1c519bcae0 redefine timer 2022-11-10 18:43:57 +08:00
yihaoDeng 5c5d70e0fc enh log 2022-11-10 17:05:53 +08:00
dapan1121 7dea2e99d3
Merge pull request #17973 from taosdata/fix/TD-20273
fix: free unfinished ahandle when cli quit
2022-11-10 13:52:32 +08:00
yihaoDeng 1ed333140b fix invalid free 2022-11-08 22:09:58 +08:00
yihaoDeng 7b30a6ee23 free unfinished ahandle while quit 2022-11-08 20:45:11 +08:00
yihaoDeng 3c6246f85f TS-2015 2022-11-08 18:18:33 +08:00
yihaoDeng a8bb8373f4 avoid rpc send-recv cpu imbalance 2022-11-07 20:08:14 +08:00
Shengliang Guan a2692a3d4e
Merge pull request #17878 from taosdata/fix/handleTransExcept
fix: handle trans except
2022-11-04 09:07:36 +08:00
yihaoDeng 2c4d90aad4 handle trans except 2022-11-03 16:55:48 +08:00
dapan1121 4039e99d96
Merge pull request #17816 from taosdata/fix/TD-19686
fix: return err code when query fail
2022-11-03 10:45:54 +08:00
yihaoDeng ff16c4368f handle tcp except 2022-11-02 20:12:03 +08:00
yihaoDeng fafdfc73ca fix TD-19686 2022-11-01 19:13:07 +08:00
dapan1121 94ae554445
Merge pull request #17757 from taosdata/opt/httpModule
enh: opt http module
2022-11-01 10:05:06 +08:00
yihaoDeng d21d88becc opt http module 2022-10-31 18:50:19 +08:00
yihaoDeng 06c06d290f opt http module 2022-10-31 18:45:10 +08:00
yihaoDeng 8831f386e6 opt http module 2022-10-31 11:57:58 +08:00
yihaoDeng c5fba9ccbd opt http module 2022-10-28 23:17:22 +08:00
yihaoDeng 9322928a57 opt http module 2022-10-28 22:41:25 +08:00
yihaoDeng 4fdc98d3fb opt http module 2022-10-28 22:15:06 +08:00
yihaoDeng df786f1516 use sys mem 2022-10-28 19:27:06 +08:00
yihaoDeng 030195e72a support macos 2022-10-28 16:42:58 +08:00
yihaoDeng cc03ab2edd rm debug log 2022-10-26 09:23:35 +08:00
Shengliang Guan 7ebf2d5de0
Merge pull request #17614 from taosdata/opt/optSysIdxPerf
enh: opt sys idx perf
2022-10-25 16:25:47 +08:00
yihaoDeng 421d2e7332 opt trans on no-windows 2022-10-25 08:48:05 +08:00
yihaoDeng c6683d01af opt trans on no-windows 2022-10-24 20:32:10 +08:00
yihaoDeng 94a3d32ca5 avoid invalid read/write 2022-10-24 16:27:32 +08:00
yihaoDeng a3447c5dae avoid invalid read/write 2022-10-24 14:59:47 +08:00
Shengliang Guan e86cdc8cde
Merge pull request #17381 from taosdata/feature/addIdxToSysTable
Feature/addIdxToSysTable
2022-10-23 14:38:37 +08:00
yihaoDeng 17ee66cd2c fix coverity scan defeats 2022-10-23 12:25:52 +08:00
Yihao Deng f31d438ce9
Merge branch '3.0' into fix/TD-19646 2022-10-21 18:21:45 +08:00
yihaoDeng e7014c3e89 rm invalid read 2022-10-21 18:20:08 +08:00
dapan1121 101be62054
Merge pull request #17552 from taosdata/fix/http_failure
fix :  avoid invalid read/write
2022-10-21 15:01:23 +08:00
yihaoDeng fd06e0717d avoid invalid read/write 2022-10-21 13:28:13 +08:00
yihaoDeng 7b30eedec0 avoid invalid read/write 2022-10-21 13:24:51 +08:00
Shengliang Guan a03a24127e
Merge pull request #17516 from taosdata/fix/TD-19657
fix:  change listent backlog
2022-10-20 16:39:43 +08:00
yihaoDeng 20e74e57d9 change listent backlog 2022-10-20 14:28:25 +08:00
yihaoDeng c4f7607e8c opt sys query 2022-10-20 14:04:18 +08:00
yihaoDeng 66a3269c6b add pre check 2022-10-19 19:57:31 +08:00
yihaoDeng 12ec7d7193 add pre check 2022-10-19 17:54:06 +08:00
Benguang Zhao 3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
Shengliang Guan c5e9b6abd6
Merge pull request #17402 from taosdata/fix/TD-19259
fix: fix coverity scan problem
2022-10-18 14:50:45 +08:00
yihaoDeng 5ff8bb5bc0 fix invalid packet 2022-10-17 19:56:59 +08:00
yihaoDeng c9aadfadee fix coverity scan problem 2022-10-17 16:29:50 +08:00
dapan1121 0df311a78f
Merge pull request #17264 from taosdata/refact/query_opt
refactor:do some internal refactor to optimize the query performance.
2022-10-14 19:51:46 +08:00
afwerar f80dbfb6f5 fix: memory param over 2022-10-13 18:48:06 +08:00
Haojun Liao f5f0a7026f other: merge 3.0 2022-10-13 14:20:51 +08:00
yihaoDeng 2bd62bc586 fix: [TD-19500] del duplicate msg 2022-10-12 16:05:59 +08:00
yihaoDeng 5badb8f056 fix(tsc): fix invalid free 2022-10-12 11:38:07 +08:00
yihaoDeng 841207666a support compress 2022-10-12 10:20:01 +08:00
yihaoDeng 4507776c8e support compress 2022-10-11 22:09:35 +08:00
Haojun Liao 7c3ddc4920 other:merge 3.0 2022-10-10 15:35:38 +08:00
yihaoDeng 9a5db03293 opt log time 2022-10-09 21:13:50 +08:00
yihaoDeng ca041b6dd0 fix(tsc): fix invalid free 2022-09-30 20:02:51 +08:00
yihaoDeng 738fddb814 fix coverity scan problem 2022-09-30 17:49:08 +08:00
Haojun Liao 0d3a6c6261 refactor: update the transport module. 2022-09-30 13:48:09 +08:00
Haojun Liao f8a84a1d19 other:merge 3.0 2022-09-30 13:47:21 +08:00
yihaoDeng 4977e2e676 opt tbname in 2022-09-29 18:35:12 +08:00
yihaoDeng fdba81e7c2 add debug log 2022-09-29 11:34:15 +08:00
yihaoDeng 5e98dfe644 enh(tsc):add more http-client log 2022-09-20 18:01:12 +08:00
yihaoDeng 3398de8a35 fix(tsc): avoid mem leak 2022-09-15 21:35:54 +08:00
yihaoDeng 2b8b1ebc86 fix: fix mem leak 2022-09-13 20:45:28 +08:00
yihaoDeng b914e37874 enh(tsc): handle schedule error 2022-09-13 19:05:35 +08:00
yihaoDeng 990416d20d enh(tsc): handle schedule error 2022-09-13 18:32:22 +08:00
Shengliang Guan 566af3ea92
Merge pull request #16778 from taosdata/enh/addErrMsg
enh: add err msg
2022-09-13 09:21:36 +08:00
yihaoDeng 6ada28b710 enh: add err msg 2022-09-12 22:57:58 +08:00
Shengliang Guan 6b04ee9816
Merge pull request #16763 from taosdata/fix/handleSentWrite
fix(rpc): handle sent write
2022-09-12 09:34:06 +08:00
yihaoDeng 0a337e82e3 fix: fix compile error 2022-09-11 22:11:44 +08:00
yihaoDeng 308bfe7fb8 fix: fix compile error 2022-09-11 22:01:07 +08:00
yihaoDeng f26047cfe8 fix: fix compile error 2022-09-11 19:44:50 +08:00
yihaoDeng 440d14e36c fix: fix compile error 2022-09-10 23:27:05 +08:00
yihaoDeng 26d86477f9 fix: fix compile error 2022-09-10 20:11:17 +08:00
yihaoDeng 16a5f01293 fix: fix compile error 2022-09-10 19:08:34 +08:00
yihaoDeng d1d35c48e4 fix: make CI happy 2022-09-10 17:24:23 +08:00
yihaoDeng eac5d2c497 fix: make CI happy 2022-09-10 17:12:22 +08:00
yihaoDeng 93dd2101c1 fix: make CI happy 2022-09-10 10:27:41 +08:00
yihaoDeng 58c410118f fix: make CI happy 2022-09-09 19:09:24 +08:00
yihaoDeng fadd7317af fix: make CI happy 2022-09-09 18:40:32 +08:00
yihaoDeng bfcb181662 fix: make CI happy 2022-09-09 18:30:02 +08:00
yihaoDeng 11a8237975 fix: fix compile error 2022-09-09 14:47:49 +08:00
yihaoDeng edf3f6320d fix: fix compile error 2022-09-09 14:28:57 +08:00
yihaoDeng 57e34dc308 fix(rpc): handle write failure 2022-09-09 11:28:00 +08:00
yihaoDeng 0a4644307e fix: fix compile error 2022-09-07 19:48:43 +08:00
yihaoDeng b277748662 fix mem leak 2022-09-06 20:09:41 +08:00
yihaoDeng 6c40af0059 fix no resp error 2022-09-06 19:16:56 +08:00
yihaoDeng d1755fad24 fix trans cli mem leakk 2022-09-06 18:47:43 +08:00
yihaoDeng 68a1c12dae add compile opt 2022-09-06 14:58:19 +08:00
yihaoDeng ead0a97920 avoid except 2022-09-04 13:22:05 +08:00
yihaoDeng 47ff0e34b0 refactor idx code 2022-09-01 20:16:02 +08:00
Shengliang Guan 85f5d4d5e5 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-08-31 18:08:17 +08:00
Shengliang Guan 4401080328 enh: make cmake .. -DCMAKE_BUILD_TYPE=Release work 2022-08-31 18:06:17 +08:00
yihaoDeng cac4cb12e6 remove assert 2022-08-31 15:36:53 +08:00
yihaoDeng 1a67ca34b9 avoid deadlock 2022-08-29 19:14:12 +08:00
yihaoDeng b61bab645c fix http report possible except 2022-08-25 16:49:07 +08:00
yihaoDeng f8ecbdc805 add err msg 2022-08-24 20:21:18 +08:00
Shengliang Guan 4355ddb1ed Merge branch 'fix/TD-18483' into fix/dnode 2022-08-24 14:04:14 +08:00
Shengliang Guan 1b964bfdc9 fix: print src ip if found invalid packet 2022-08-24 13:47:56 +08:00
Shengliang Guan b0263a4bea enh: increase startup time monitoring 2022-08-23 17:29:31 +08:00
yihaoDeng 0010cf3b1d fix http report 2022-08-19 16:21:59 +08:00
yihaoDeng e25600e8e8 fix crash_gen error 2022-08-19 11:57:32 +08:00
yihaoDeng 06c8d14f99 refactor rpc code 2022-08-19 10:25:16 +08:00
yihaoDeng 570f9c3a71 merge main 2022-08-18 21:13:26 +08:00
yihaoDeng 8f5fa8b982 fix invalid packet 2022-08-18 19:36:40 +08:00
Yihao Deng 7b934b1d8d
Merge branch '3.0' into feature/testWindows 2022-08-18 17:51:29 +08:00
yihaoDeng 13a93d68eb fix invalid packet 2022-08-18 16:09:46 +08:00
yihaoDeng 15110480bc fix invalid packet 2022-08-18 14:22:07 +08:00
yihaoDeng e1ae5bc7f8 fix invalid packet 2022-08-18 13:59:23 +08:00
yihaoDeng f3ec1593bc fix invalid packet 2022-08-18 13:55:56 +08:00
yihaoDeng 1a449a51a1 fix invalid packet 2022-08-18 12:05:56 +08:00
yihaoDeng 4dc5df8453 fix invalid packet 2022-08-18 10:34:55 +08:00
yihaoDeng 4bc57e96ba fix invalid packet 2022-08-18 09:40:58 +08:00
yihaoDeng e7e6a4c7e4 fix invalid packet 2022-08-18 09:22:00 +08:00
yihaoDeng 66f6dcddb8 fix invalid packet 2022-08-17 23:02:22 +08:00
yihaoDeng c6f60ba3d7 fix invalid packet 2022-08-17 20:49:59 +08:00
yihaoDeng e016c8f729 fix invalid packet 2022-08-17 20:04:04 +08:00
yihaoDeng 9eb99615fe fix invalid packet 2022-08-17 17:58:46 +08:00
yihaoDeng 4e9ead32aa refactor code 2022-08-17 15:56:14 +08:00
yihaoDeng ba32eab6e0 Merge branch '3.0' of https://github.com/taosdata/TDengine into new 2022-08-17 15:22:58 +08:00
yihaoDeng c7e778f9a8 refactor code 2022-08-17 13:30:37 +08:00
yihaoDeng bade189164 rm code 2022-08-16 21:08:40 +08:00
yihaoDeng 633b46fa41 rm code 2022-08-16 18:14:56 +08:00
yihaoDeng a105e39931 refactor code 2022-08-15 10:28:56 +08:00
yihaoDeng dc7ce5300c refactor code 2022-08-14 19:13:12 +08:00
yihaoDeng 1c200b4198 fix client deadlock 2022-08-11 17:46:37 +08:00
yihaoDeng cfedc4d67a fix client deadlock 2022-08-11 17:41:43 +08:00
Haojun Liao 6250c1b157
Merge pull request #15851 from taosdata/feature/3.0_query_optimize
ehn(query): optimize the query performance.
2022-08-10 16:51:46 +08:00