Commit Graph

640 Commits

Author SHA1 Message Date
dapan1121 c5675bc821 fix: fix msg disorder issue 2022-07-15 14:40:42 +08:00
dapan1121 5ed51e0010 Merge branch '3.0' into fix/fixmsgorder 2022-07-15 14:19:37 +08:00
dapan1121 c67fa0c1ce enh: add taosd query exit processing 2022-07-15 14:17:00 +08:00
Yihao Deng a6e71424b4
Merge branch '3.0' into enh/addLRUToIdx 2022-07-15 09:47:35 +08:00
yihaoDeng d7a463da46 feat: prealloc handle to client 2022-07-14 20:31:16 +08:00
yihaoDeng fe8ccabf7a add lru to index 2022-07-14 17:14:53 +08:00
yihaoDeng 365a28f37c fix fd leak 2022-07-12 11:51:39 +08:00
yihaoDeng 7142f1334f refactor rpc code 2022-07-11 21:47:34 +08:00
yihaoDeng f65d33ea54 refactor rpc 2022-07-11 20:05:07 +08:00
yihaoDeng 60a9b2f508 refactor rpc 2022-07-11 17:12:54 +08:00
yihaoDeng b555b6e4de fix rpc except 2022-07-11 16:57:22 +08:00
Shengliang Guan e4a855e591 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 19:54:26 +08:00
Shengliang Guan a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
Shengliang Guan 361c21a35c refactor: adjust logs 2022-07-08 17:27:06 +08:00
Shengliang Guan 1dc6ff93f0 refactor: adjust logs 2022-07-08 17:07:15 +08:00
dapan1121 50a6ef7f39
Merge pull request #14635 from taosdata/feature/insertselect
feat: support insert from query res
2022-07-08 16:59:21 +08:00
Shengliang Guan fa77494a72 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 16:58:51 +08:00
Shengliang Guan dca93b18cc refactor: adjust logs 2022-07-08 16:57:54 +08:00
dapan1121 0925064d24 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 10:28:53 +08:00
Shengliang Guan 9cb8837a52
Merge pull request #14659 from taosdata/fix/valgrind
fix: definite lost while send msg on dnode exiting
2022-07-08 09:53:49 +08:00
Shengliang Guan 7afdd3603d fix: definite lost while send msg on dnode exiting 2022-07-07 17:28:28 +08:00
yihaoDeng 5ebfedd56c set msg resp type 2022-07-07 16:12:15 +08:00
dapan1121 759b463e4c feat: insert from query 2022-07-07 15:31:12 +08:00
yihaoDeng 061399e43e update log 2022-07-07 10:56:35 +08:00
yihaoDeng 3d8e6d2e10 Merge branch 'dev' into idx 2022-07-05 21:28:30 +08:00
yihaoDeng eb3a9a53ab fix rpc mem leak 2022-07-05 20:03:27 +08:00
yihaoDeng 9927aad95f update resp msg type 2022-07-04 20:25:18 +08:00
yihaoDeng f658c2caa3 fix tag error 2022-07-04 20:20:32 +08:00
yihaoDeng b1ef7071f0 fix: invalid read/write 2022-07-04 20:03:20 +08:00
yihaoDeng f213212faf fix compile error 2022-07-04 18:57:06 +08:00
dapan1121 37b303f531 Merge branch '3.0' into enh/killQuery 2022-07-04 17:45:03 +08:00
Yihao Deng 8d8df859cc
Merge pull request #14495 from taosdata/fix/invaldRead
fix: invalid read/write
2022-07-04 15:37:50 +08:00
yihaoDeng d4f1614242 fix invalid read/write 2022-07-04 14:28:50 +08:00
yihaoDeng 30380b3744 fix invalid read/write 2022-07-04 14:03:09 +08:00
yihaoDeng e08353f843 Merge branch 'dlp' into idx 2022-07-04 09:28:26 +08:00
Yihao Deng a565d6274a
Merge pull request #14478 from taosdata/fix/rpcInvalidRead
fix: rpc invalid read
2022-07-03 23:04:11 +08:00
yihaoDeng fcf6894144 fix invalid read/write 2022-07-03 15:06:44 +08:00
Yihao Deng 87f28ab358
Revert "fix: avoid invalid read" 2022-07-03 15:01:44 +08:00
yihaoDeng d493fbed98 fix invalid read/write 2022-07-03 11:54:19 +08:00
yihaoDeng 09eceed6b4 fix transport quit fix 2022-07-01 21:03:50 +08:00
yihaoDeng b2be5169ab add inst ref 2022-07-01 15:11:24 +08:00
yihaoDeng 3f8efa106a fix brokenlink retry 2022-07-01 11:27:30 +08:00
yihaoDeng 3681aacf0e feat: refactor index code 2022-06-30 21:08:15 +08:00
Yihao Deng 17d4ea71c1
Merge branch '3.0' into fix/invalidRead 2022-06-30 19:19:10 +08:00
yihaoDeng afe67a609a add query epset 2022-06-30 19:16:22 +08:00
yihaoDeng 4fc1a6faec fix connect error 2022-06-30 15:59:42 +08:00
dapan1121 c28c77a099 Merge branch '3.0' into feature/queryredirect 2022-06-30 14:35:15 +08:00
yihaoDeng 25b3f88ebe add query epset 2022-06-30 13:55:41 +08:00
yihaoDeng e389dcedc8 add query epset 2022-06-30 10:30:36 +08:00
dapan1121 53efe75146 feat: query redirect 2022-06-29 17:56:35 +08:00
Yihao Deng 2001be5996
Merge branch '3.0' into enh/stopquery 2022-06-29 17:24:52 +08:00
dapan1121 8dfe07e1b0 Merge branch 'feature/queryredirect' of github.com:taosdata/TDengine into feature/queryredirect 2022-06-29 17:15:43 +08:00
dapan1121 914e06e8cb feat: query redirect 2022-06-29 17:15:08 +08:00
yihaoDeng 9c0e5cd56b Merge branch 'feature/queryredirect' of https://github.com/taosdata/TDengine into redir 2022-06-29 17:12:14 +08:00
yihaoDeng 86e379f081 feat: add retry 2022-06-29 17:11:30 +08:00
yihaoDeng f8cf9761f8 fix: avoid compile error 2022-06-29 16:18:23 +08:00
yihaoDeng 6dc7eaa107 modify case 2022-06-29 11:45:18 +08:00
dapan1121 c6440a7a3c feat: query redirect 2022-06-29 11:33:37 +08:00
yihaoDeng 8640cab139 feat: add retry 2022-06-29 11:24:37 +08:00
yihaoDeng 5691b0e82f feat:modify code 2022-06-29 11:04:04 +08:00
dapan1121 07b46f9e3c Merge branch '3.0' into feature/queryredirect 2022-06-29 10:53:52 +08:00
yihaoDeng ce21baaa86 feat: enh redirect 2022-06-29 10:44:18 +08:00
yihaoDeng ad29b90cc2 fix: fix rpc quit problem 2022-06-28 21:43:40 +08:00
yihaoDeng 1fc9eaadd0 fix: fix rpc quit problem 2022-06-28 20:30:17 +08:00
yihaoDeng c1690655fc fix: fix rpc quit problem 2022-06-28 19:21:04 +08:00
yihaoDeng bb95a3427e fix: fix rpc quit problem 2022-06-28 19:19:40 +08:00
yihaoDeng 421efe365b fix: fix rpc quit problem 2022-06-28 14:41:56 +08:00
yihaoDeng 3bb68c78ae fix: fix rpc quit problem 2022-06-28 11:52:43 +08:00
yihaoDeng 6000e2e20b fix: fix rpc quit problem 2022-06-28 11:45:20 +08:00
yihaoDeng 0c5342730c feat: refactor rpc code 2022-06-28 10:34:51 +08:00
dapan1121 7da915fa67 Merge branch '3.0' into feature/queryredirect 2022-06-28 09:31:03 +08:00
yihaoDeng 1ab7e3a90b feat: refactor rpc code 2022-06-27 21:07:41 +08:00
yihaoDeng 1d8a0d6226 feat: refactor rpc code 2022-06-27 21:00:40 +08:00
yihaoDeng 14209eeec6 feat: add no retry to query 2022-06-27 19:34:50 +08:00
yihaoDeng 393a5dcf66 enh: change refMgt of rpc 2022-06-27 18:25:16 +08:00
yihaoDeng 49b2c544be enh: change refMgt of rpc 2022-06-27 17:38:02 +08:00
yihaoDeng 25a12d96b0 handle rpc retry 2022-06-25 14:06:33 +08:00
yihaoDeng 7c57b03de7 handle rpc retry 2022-06-25 12:19:52 +08:00
yihaoDeng aa8957bcc5 handle redirect 2022-06-25 11:02:49 +08:00
yihaoDeng 720645800c feat: refactor rpc quit 2022-06-24 20:51:00 +08:00
yihaoDeng e54044de73 update retry 2022-06-24 19:24:14 +08:00
yihaoDeng a215844467 handle except 2022-06-24 17:02:53 +08:00
yihaoDeng 445d7f2d90 feat: refactor rpc quit 2022-06-24 16:21:01 +08:00
yihaoDeng 87f4f5364f handle except 2022-06-24 11:09:34 +08:00
yihaoDeng 3795ff37ad handle except 2022-06-24 10:38:18 +08:00
yihaoDeng 78be460ac3 handle except 2022-06-23 21:40:12 +08:00
yihaoDeng d63eb11b70 handle except 2022-06-23 21:35:35 +08:00
yihaoDeng 1d169ce22a handle except 2022-06-23 21:16:32 +08:00
yihaoDeng ffd105d0e0 handle except 2022-06-23 20:51:09 +08:00
yihaoDeng 23d1e55718 handle except 2022-06-23 20:29:14 +08:00
yihaoDeng 0d904d5aa3 fix: handle except 2022-06-23 20:06:22 +08:00
yihaoDeng 58836d2ddf feat: refactor rpc quit 2022-06-23 17:35:55 +08:00
yihaoDeng d5f5c33c9c refactor code 2022-06-23 15:55:47 +08:00
yihaoDeng bfe5ab779b fix: handle except 2022-06-22 19:20:35 +08:00
yihaoDeng 3b1664d9e4 feat: refactor rpc code 2022-06-22 18:50:39 +08:00
Yihao Deng 5b9786bfc3
Merge branch '3.0' into fix/mnode 2022-06-22 11:23:30 +08:00
yihaoDeng fa482840bf fix: handle except 2022-06-22 11:06:46 +08:00
yihaoDeng 6cad304934 fix: handle except 2022-06-22 10:00:53 +08:00
yihaoDeng 963a72eed3 refactor code 2022-06-21 18:31:50 +08:00
Shengliang Guan 8d0e6fa68f fix: fix release/redirect problem 2022-06-21 16:24:58 +08:00
Yihao Deng 2941254a2b
Merge branch '3.0' into enh/trace1 2022-06-18 18:26:26 +08:00
yihaoDeng e37a89d41a add trace log 2022-06-18 17:23:55 +08:00
yihaoDeng 5401c68706 enh: add trace 2022-06-18 14:07:54 +08:00
yihaoDeng 3d15b65cea fix: avoid timeout event lost 2022-06-17 21:46:09 +08:00
Shengliang Guan 80e0b830fe refactor: remove duplicate conninfo in SRpcMsg 2022-06-17 10:40:42 +08:00
yihaoDeng 636a22b7a9 add trace base func 2022-06-17 09:29:54 +08:00
yihaoDeng 418be5755b enh: refactor debug info 2022-06-16 16:48:02 +08:00
Shengliang Guan 14b6523bd3 refactor: show rpc response code 2022-06-16 15:56:25 +08:00
Yihao Deng 369e7b327d
Merge pull request #13828 from taosdata/fix/mnode
test: enable case
2022-06-15 08:35:00 +08:00
yihaoDeng 80ab544fed update rpc retry 2022-06-14 21:18:12 +08:00
yihaoDeng c45e5a66fc update rpc retry 2022-06-14 18:44:30 +08:00
yihaoDeng 6be738e648 refactor transport log 2022-06-14 16:41:58 +08:00
yihaoDeng 080366ff54 change transport log 2022-06-14 16:32:06 +08:00
yihaoDeng b5bc9aa2ba fix rpc retry error 2022-06-14 10:44:34 +08:00
yihaoDeng 2d9e2f01ba fix: avoid invalid read/write 2022-06-10 11:20:11 +08:00
yihaoDeng d9c83f6357 enh: change rpcGetConnInfo 2022-06-09 13:50:18 +08:00
yihaoDeng 4e6010f59b fix: avoid invalid conn 2022-06-09 10:15:09 +08:00
yihaoDeng a4dbf151aa fix: failed to update json idx 2022-06-07 13:24:35 +08:00
yihaoDeng 72657a3f60 fix invalid conn 2022-06-05 23:01:48 +08:00
yihaoDeng 2c133b4a27 notify if server receice release req 2022-06-05 12:28:12 +08:00
Yihao Deng a7d2042e56
Merge branch '3.0' into enh/idxFilter 2022-06-02 16:39:38 +08:00
yihaoDeng 6b69b28649 enh: refactor tag filter code 2022-06-02 16:36:48 +08:00
Shengliang Guan 95c9dea9d6
Merge pull request #13391 from taosdata/fix/tsim
enh: add creating and dropping states to mnode
2022-06-01 21:38:59 +08:00
Shengliang Guan 1907c0e66c enh: add creating and dropping states to mnode 2022-06-01 21:16:22 +08:00
yihaoDeng c166bcff3c enh: refactor trans code 2022-06-01 15:35:14 +08:00
yihaoDeng e7fe3577e5 enh: refactor index/trans 2022-06-01 14:30:01 +08:00
yihaoDeng 1d2e13c985 enh: refactor rpc code 2022-05-28 21:10:09 +08:00
Shengliang Guan 675fe706ac
Merge pull request #13100 from taosdata/fix/mnode
fix: return mnode epset while master changed
2022-05-27 19:09:03 +08:00
Shengliang Guan 9a1959c400 fix: return mnode epset while master changed 2022-05-27 18:42:15 +08:00
yihaoDeng 0293a09187 enh: return NULL when epset not updated 2022-05-27 16:48:38 +08:00
yihaoDeng 9f0315a98f fix: avoid mem leak when taosd quit 2022-05-27 16:05:24 +08:00
Yihao Deng a939bc8777
Merge pull request #12967 from taosdata/enh/defaultEpSet
enh: default ep set
2022-05-27 13:33:57 +08:00
Yihao Deng abcb0f5f91
Merge pull request #12910 from taosdata/fix/indexMultThread
enh: opt index mutex
2022-05-27 13:33:29 +08:00
Shengliang Guan 1ed7a4be11 fix: msg redirect while mnode replica large than 0 2022-05-26 22:39:11 +08:00
yihaoDeng ddbcaee1ff fix: add debug info 2022-05-26 21:23:19 +08:00
yihaoDeng e99cb305ff fix: add retry 2022-05-26 16:58:57 +08:00
yihaoDeng 6e6dadf5d7 eerge branch 'ne' into update 2022-05-26 11:53:31 +08:00
yihaoDeng d0213972a2 update default epset 2022-05-26 11:46:26 +08:00
yihaoDeng 511a4c3a4f update default epset 2022-05-26 11:29:31 +08:00
yihaoDeng c8ba20ac54 enh: valid fqdn 2022-05-25 19:14:11 +08:00
yihaoDeng b0b533e002 fix query ctx crash 2022-05-25 16:42:29 +08:00
yihaoDeng 5f84203456 update default epset 2022-05-25 15:47:52 +08:00
yihaoDeng 8acbb20fb2 enh: set default epset 2022-05-25 15:22:23 +08:00
yihaoDeng f75bcdf4b2 enh: set useDefaultEpset 2022-05-25 13:19:21 +08:00
yihaoDeng cca2bcdb28 enh: rpc set default epset 2022-05-25 13:12:02 +08:00
yihaoDeng 7259a35620 enh: refactor trans free ctx 2022-05-24 22:17:52 +08:00
yihaoDeng 28318721fc enh: opt index mutex 2022-05-24 16:19:22 +08:00
yihaoDeng 8ef6eb4c5f enh: refactor index code 2022-05-24 15:17:14 +08:00
Shengliang Guan 8bfbc0f315 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-23 16:40:03 +08:00
Shengliang Guan c38a8055ba fix: add error code if malloc failed 2022-05-23 12:04:57 +08:00
yihaoDeng 4d18fa0875 enh: refator index/transport code 2022-05-21 17:29:50 +08:00
yihaoDeng 305fa25490 enh: delete redundancy code 2022-05-21 11:18:32 +08:00
yihaoDeng 90f8acf168 fix: tq mem leak 2022-05-20 17:49:42 +08:00
yihaoDeng afda7c637b fix: tq mem leak 2022-05-20 15:58:25 +08:00
yihaoDeng 76b9a5acee fix: avoid invalid read/write 2022-05-19 21:56:39 +08:00
yihaoDeng 3de22159d8 fix: avoid invalid read/write 2022-05-18 15:32:23 +08:00
yihaoDeng 3cbf4ad4d2 fix: avoid invalid read/write 2022-05-18 14:11:23 +08:00
Shengliang Guan 81e89ec7b6 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-16 20:13:02 +08:00
Shengliang Guan 912efee683 Merge branch 'fix/mnode' of https://github.com/taosdata/TDengine into fix/mnode 2022-05-16 20:07:44 +08:00
Shengliang Guan b765f21e05 refactor: adjust SRpcMsg 2022-05-16 16:32:30 +08:00
yihaoDeng c0ff0f3f19 fix(rpc): add more trace info 2022-05-16 16:29:11 +08:00
Shengliang Guan c78517549e refactor: adjust SRpcMsg 2022-05-16 14:13:20 +08:00
Yihao Deng 683c8296ac
Merge pull request #12521 from taosdata/fix/rpcRegMemleak
fix(rpc): regArg mem leak
2022-05-16 13:45:41 +08:00
yihaoDeng 5c1cfd2cf9 fix(rpc): fix regArg mem leak 2022-05-16 09:45:14 +08:00
yihaoDeng d003f1b0d7 enh(index): add more UT 2022-05-13 23:30:46 +08:00
yihaoDeng 26aef324f7 enh(rpc): add more log 2022-05-13 15:59:56 +08:00
yihaoDeng fee540c1fa fix(rpc): avoid fd leak 2022-05-13 13:09:34 +08:00
yihaoDeng c56b0e0b15 fix(rpc): avoid fd leak 2022-05-13 12:24:57 +08:00
yihaoDeng ddee7344d5 fix(rpc): avoid fd leak 2022-05-13 11:25:35 +08:00
yihaoDeng 4f7886d208 fix(rpc): avoid fd leak 2022-05-12 15:29:19 +08:00
yihaoDeng 7f7b1a423a fix(rpc): avoid fd leak 2022-05-12 12:10:22 +08:00
Yihao Deng 5de1a22656
Merge pull request #12291 from taosdata/enh/supportIdxFilter
enh(index): support numberic and json filter
2022-05-10 10:00:30 +08:00
yihaoDeng 6c844c7567 enh(index): support numberic and json filter 2022-05-09 23:34:48 +08:00
afwerar e277a3b1c9 fix/ZhiqiangWang/fix-15189-mv-pipe-file-to-temp 2022-05-09 17:56:08 +08:00
afwerar f780c4ae7a fix(os): make taosd run on win. 2022-05-09 03:36:34 +08:00
afwerar 02e6b38270 fix(os): make taosd run on win. 2022-05-09 03:22:05 +08:00
yihaoDeng f45cb19a15 fix(rpc): fix invalide fqdn 2022-05-07 18:42:15 +08:00
yihaoDeng cb115f1c10 fix(rpc): fix invalide fqdn 2022-05-07 18:19:25 +08:00
dapan1121 8dd7c076d0 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-05-07 08:48:41 +08:00
Yihao Deng 4d99b003d6
Merge pull request #12168 from taosdata/enh/supportIdxFilter
enh(index): support more data type
2022-05-07 08:47:51 +08:00
dapan1121 1f9b6f14dd fix mem leak 2022-05-06 22:11:33 +08:00
yihaoDeng e08dd100a4 enh(index): support more data type 2022-05-06 18:39:28 +08:00
yihaoDeng 699c8a0461 enh(rpc): validate fqdn 2022-05-06 14:42:06 +08:00
yihaoDeng 315c9c37dc enh(rpc): taosd exited when fqdn is configed to invalid 2022-05-05 23:14:36 +08:00
yihaoDeng ae33656e15 fix(rpc): fix timeout error 2022-05-05 20:17:53 +08:00
yihaoDeng 9c02b1b273 fix(rpc): avoid invalid write of sync api 2022-05-02 10:44:31 +08:00
Li Minghao eec706d73f
Merge pull request #12075 from taosdata/feature/3.0_mhli
enh: not leader retry
2022-04-30 13:04:33 +08:00
yihaoDeng 77d3a3461e fix(rpc):fix rpc fix 2022-04-30 12:17:27 +08:00
yihaoDeng aa1eace902 fix(rpc):fix rpc fix 2022-04-30 12:14:27 +08:00
Yihao Deng 002580dfb2
Merge branch '3.0' into feature/refator_retry 2022-04-30 10:04:01 +08:00
Shengliang Guan e3170a1325 Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-04-29 18:57:02 +08:00
Yihao Deng 27798de8db
Merge pull request #12041 from taosdata/fix/retry_bug
fix(retry): fix retry count
2022-04-29 18:40:00 +08:00
yihaoDeng 6e5e0f3276 fix(rpc): taosd stuck when exiting the process 2022-04-29 17:48:24 +08:00
yihaoDeng 7ff35f6f6a fix invalid read 2022-04-29 15:27:05 +08:00
yihaoDeng d14d0ab83a fix(retry): fix retry count 2022-04-29 11:51:28 +08:00
yihaoDeng 38ac16d64f refactor(rpc): refactor rpc code 2022-04-28 22:46:02 +08:00
yihaoDeng 485bd970a2 refactor(rpc): refactor timeout 2022-04-28 15:49:00 +08:00
yihaoDeng 2f66f50c04 refactor(rpc): refactor timeout 2022-04-28 14:49:25 +08:00
Yihao Deng f41bd56962
Merge pull request #11988 from taosdata/feature/refator_retry
refactor(rpc): fefactor retry way
2022-04-28 13:58:38 +08:00
yihaoDeng b83963ab1d refactor(rpc): fefactor retry way 2022-04-28 13:37:40 +08:00