Commit Graph

17381 Commits

Author SHA1 Message Date
Haojun Liao 00f8103262 fix(stream): fix error in generating token in bucket. 2023-11-23 09:34:19 +08:00
Haojun Liao b7347a1d64 fix(stream): remove invalid assert 2023-11-23 09:33:41 +08:00
Haojun Liao 466c80e370 fix(stream): fix bug in delay send. 2023-11-23 09:33:38 +08:00
Haojun Liao 957ce07dc4 fix(stream): fix syntax error. 2023-11-23 09:33:38 +08:00
Haojun Liao 298755cc4e fix(stream): wait for task to be normal and then send data block. 2023-11-23 09:33:37 +08:00
Haojun Liao 7b1f586d4f
Merge pull request #23762 from taosdata/fix/3_liaohj
fix(stream): fix error in generating token in bucket.
2023-11-23 09:32:14 +08:00
wangmm0220 15d75a0497 fix:spelling errors 2023-11-23 09:17:54 +08:00
Haojun Liao 4ea49fe285 fix(stream): fix the race condition in dispatching data. 2023-11-22 23:49:16 +08:00
yihaoDeng 557db1c3cc add http test 2023-11-22 20:24:08 +08:00
yihaoDeng 40f6de4fc8 add http fail fast 2023-11-22 20:23:27 +08:00
wangmm0220 cfab06239b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26060 2023-11-22 19:37:44 +08:00
facetosea b7342d53df return DEAL_RES_ERROR; 2023-11-22 19:37:08 +08:00
yihaoDeng 8c7dd0a716 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2023-11-22 17:59:09 +08:00
yihaoDeng aaa202f27b add http test 2023-11-22 17:58:32 +08:00
wangmm0220 9a09e318ca opti:common message process logic in vnode and snode 2023-11-22 16:53:33 +08:00
Haojun Liao 9988720a1e fix(stream): fix the invalid check of trans conflict. 2023-11-22 16:39:29 +08:00
Haojun Liao ebb1993900 fix(stream): fix error in check trans conflict. 2023-11-22 16:20:59 +08:00
Haojun Liao 91e7000433 Merge branch 'enh/refactorBackend' of github.com:taosdata/tdengine into enh/refactorBackend 2023-11-22 15:29:31 +08:00
Haojun Liao c96f7cf182 fix(stream): scheduler the checkpoint generating. 2023-11-22 15:17:21 +08:00
shenglian zhou 9dd306e1ef enhance: duration notification 2023-11-22 13:56:16 +08:00
dapan1121 1b6a3c2069
Merge pull request #23771 from taosdata/enh/xsren/TD-27022/windows
Enh/xsren/td 27022/windows
2023-11-22 10:58:39 +08:00
yihaoDeng 0eba15b4a4 Merge branch '3.0' into enh/refactorBackend 2023-11-22 10:57:41 +08:00
facetosea 45d7e9f02b fix: goto error 2023-11-22 10:48:08 +08:00
yihaoDeng 0c0d9cdd2c Merge branch '3.0' into fix/fixChkpRespMemleak 2023-11-22 10:42:30 +08:00
slzhou 668e9e0a8b fix: add test cases 2023-11-22 08:59:29 +08:00
slzhou 40a28a6e4b fix: refactor dependency between community and enterprise 2023-11-22 08:47:35 +08:00
Haojun Liao 81d3e5737e fix(stream): fix send msg error. 2023-11-22 08:41:55 +08:00
Haojun Liao c70c54a099 fix(stream): add missing pushed data. 2023-11-22 08:41:35 +08:00
Haojun Liao b712f5e7dc refactor: do some internal refactor. 2023-11-22 08:41:17 +08:00
Haojun Liao d355b78884 fix(stream): fix invalid read. 2023-11-22 08:40:28 +08:00
Haojun Liao 75420bfefb fix(stream): fix the checkpoint msg failure. 2023-11-22 08:40:01 +08:00
yihaoDeng 947775155b fix transfer crash 2023-11-21 20:51:11 +08:00
facetosea 45170a73b3 close file before create in rollback 2023-11-21 19:54:33 +08:00
Hongze Cheng 04e96b6d92
Merge pull request #23753 from taosdata/feat/reverse_tfs_alloc
reverse
2023-11-21 19:50:45 +08:00
Haojun Liao 785d91c17b
Merge pull request #23661 from taosdata/feat/TD-26060
fix: errors in snode in conditions like fill history/checkpoint/restart
2023-11-21 19:02:38 +08:00
shenglian zhou cc932b5ac9 fix: change compact id to 32-bit int 2023-11-21 17:01:24 +08:00
facetosea 845493294d osfile 2023-11-21 16:31:31 +08:00
Haojun Liao 8c4558c5c2
Merge pull request #23763 from taosdata/fix/pause_stream
fix(stream): fix error in generating token in bucket.
2023-11-21 15:46:25 +08:00
yihaoDeng a92602b667 fix mem leak 2023-11-21 15:23:28 +08:00
dapan1121 ebbc8c8f26
Merge pull request #23744 from taosdata/szhou/tms-again
enhance: skip tables pass that reached limit to improve table merge scan performance
2023-11-21 15:20:19 +08:00
slzhou ebbbb3825d enhance: bi mode tbname col to tbname func 2023-11-21 14:33:00 +08:00
shenglian zhou 83c1db07a3 enhance: tbname col to func 2023-11-21 13:53:10 +08:00
Haojun Liao d9844fbf9e
Merge pull request #23701 from taosdata/fix/TD-26952
fix mem leak
2023-11-21 10:46:56 +08:00
yihaoDeng edaa33d28d fix mem leak 2023-11-21 10:18:38 +08:00
slzhou e9ac378d2c fix: in-place update when hash memember is found 2023-11-21 10:14:37 +08:00
Haojun Liao 1077378d51 other: merge main. 2023-11-21 10:14:30 +08:00
Haojun Liao 4b3495cd4b refactor: do some internal refactor. 2023-11-21 10:11:02 +08:00
Haojun Liao e78b04be51 fix(stream): fix error in generating token in bucket. 2023-11-21 10:11:02 +08:00
Haojun Liao 2b099b11dd refactor: do some internal refactor. 2023-11-21 10:09:59 +08:00
yihaoDeng bb71bd4386 fix mem leak 2023-11-20 21:03:09 +08:00
Bob Liu 146c36b0ad rm unused 2023-11-20 19:25:31 +08:00
yihaoDeng 939aa7a3cc Merge branch '3.0' into enh/refactorBackend 2023-11-20 17:33:30 +08:00
yihaoDeng 0d724244dc Merge branch '3.0' into enh/refactorBackend 2023-11-20 16:55:14 +08:00
Haojun Liao 9f8a63099c fix(stream): fix error in generating token in bucket. 2023-11-20 15:26:50 +08:00
Hongze Cheng 96112fcd25 reverse 2023-11-20 15:24:01 +08:00
Bob Liu ffc952e31e adjust funcNodes init 2023-11-20 14:40:46 +08:00
Haojun Liao ec919415b8 enh(stream): add sink_quota/scan-history-idle-duration column for stream tasks. 2023-11-20 12:03:23 +08:00
Haojun Liao 7cfa45e95e enh(stream): add sink_quota/scan-history-idle-duration column for stream tasks. 2023-11-20 11:59:49 +08:00
Bob Liu 6e1e4702a5 adjust 2023-11-20 11:13:09 +08:00
yihaoDeng 734bf07317 Merge branch '3.0' into enh/refactorBackend 2023-11-20 10:48:49 +08:00
facetosea 4c36d1ee11 fix: error msg when invalid operator 2023-11-20 09:21:16 +08:00
Bob Liu 084d0ab367 fix destoryShowCreateTableStmt 2023-11-19 23:56:34 +08:00
Bob Liu 59a8fab0d7 adjust init funcNodes 2023-11-19 17:11:26 +08:00
Bob Liu e453962271 rewrite nodes function 2023-11-19 16:31:47 +08:00
Haojun Liao 1b4f187ded
Merge pull request #23743 from taosdata/fix/pause_stream
fix(stream): remove invalid assert
2023-11-17 23:48:47 +08:00
Haojun Liao 709502ba9e fix(stream): record the check downstream failure. 2023-11-17 22:05:36 +08:00
wangmm0220 3241f9bda5 fix:memory leak 2023-11-17 17:26:52 +08:00
yihaoDeng 20de2f3cb5 Merge branch '3.0' into enh/refactorBackend 2023-11-17 17:15:14 +08:00
yihaoDeng e7830bfdfd fix stream backend convert 2023-11-17 16:50:45 +08:00
Haojun Liao 753716f1e6 fix(stream): remove invalid assert 2023-11-17 16:36:17 +08:00
“happyguoxy” f969579f7f fix: reset wrong variable 2023-11-17 16:18:58 +08:00
yihaoDeng 286413abbb fix stream backend convert 2023-11-17 16:14:51 +08:00
Haojun Liao b12e5050ea fix(stream): remove invalid assert 2023-11-17 15:57:46 +08:00
yihaoDeng ccc74ef558 fix stream backend convert 2023-11-17 15:39:03 +08:00
slzhou fe28af9fa3 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-again 2023-11-17 15:36:58 +08:00
shenglian zhou 88973c7464 feat: skip tables out of limit 2023-11-17 15:32:14 +08:00
yihaoDeng 1dbdb32dd7 fix stream backend convert 2023-11-17 11:56:22 +08:00
yihaoDeng c7c1bdef6e fix stream backend convert 2023-11-17 11:44:21 +08:00
yihaoDeng e455c4799d fix stream backend convert 2023-11-17 10:33:43 +08:00
yihaoDeng b6994413d0 fix stream backend convert 2023-11-17 10:13:39 +08:00
Haojun Liao 27f3723cd3
Merge pull request #23723 from taosdata/fix/3_liaohj
fix(stream): wait for task to be normal and then send data block.
2023-11-16 22:58:50 +08:00
yihaoDeng 52d7a26c10 fix stream backend convert 2023-11-16 21:22:47 +08:00
wangmm0220 a5de1b032b fix:snode upport stream task 2023-11-16 21:19:58 +08:00
Haojun Liao 3100edae5d
Merge pull request #23727 from taosdata/fix/pause_stream
fix(stream): wait for task to be normal and then send data block.
2023-11-16 19:51:33 +08:00
Haojun Liao bc779edda9 fix(stream): fix bug in delay send. 2023-11-16 17:57:13 +08:00
Haojun Liao f0f4b988a1 fix(stream): fix syntax error. 2023-11-16 17:57:13 +08:00
Haojun Liao a69b870260 fix(stream): wait for task to be normal and then send data block. 2023-11-16 17:57:13 +08:00
Haojun Liao 811d661d83 fix(stream): fix bug in delay send. 2023-11-16 17:34:47 +08:00
Haojun Liao 37d181bb9c fix(stream): fix syntax error. 2023-11-16 17:00:50 +08:00
Haojun Liao c0d3c15528 fix(stream): wait for task to be normal and then send data block. 2023-11-16 16:34:47 +08:00
yihaoDeng f5ef2e727f fix stream backend convert 2023-11-16 14:41:04 +08:00
slzhou 88819ea608 fix: tranform SCompactRsp to a datablock 2023-11-16 14:40:54 +08:00
slzhou 9ad86d7753 commit: add create show stmt support 2023-11-16 11:41:02 +08:00
yihaoDeng cee33ffb95 fix stream backend convert 2023-11-16 11:22:18 +08:00
yihaoDeng 77261068e0 fix stream backend convert 2023-11-16 11:06:55 +08:00
shenglian zhou b51e4b18ce feat: compact return id and kill compact id 2023-11-16 11:03:56 +08:00
wangmm0220 a16189d2a9 fix:confilct from 3.0 2023-11-15 19:14:27 +08:00
Haojun Liao f7ee65d059 fix(stream): fix send msg error. 2023-11-15 16:31:07 +08:00
Haojun Liao d7fb9c5b6e fix(stream): add missing pushed data. 2023-11-15 16:10:26 +08:00
Haojun Liao 9d2256ec9c refactor: do some internal refactor. 2023-11-15 16:03:23 +08:00
Haojun Liao d68c685122
Merge pull request #23684 from taosdata/fix/ly_test_main
delete mark
2023-11-15 14:48:03 +08:00
Haojun Liao 2ca663ce66
Merge pull request #23593 from taosdata/feat/TD-21898
stream event window
2023-11-15 14:18:07 +08:00
dapan1121 9457cf0b46
Merge pull request #23702 from taosdata/merge/m23
merge: from main to 3.0
2023-11-15 13:54:21 +08:00
dapan1121 dfb3feb5dc Merge remote-tracking branch 'origin/main' into merge/m23 2023-11-15 11:39:18 +08:00
Haojun Liao 51897a679f fix(stream): fix invalid read. 2023-11-15 11:21:31 +08:00
Haojun Liao 614e7c49dc
Merge pull request #23683 from taosdata/fix/ly_test
delete mark
2023-11-15 10:27:35 +08:00
yihaoDeng 5fccaf62b5 fix mem leak 2023-11-15 10:04:29 +08:00
Haojun Liao 4af844ee61 fix(stream): fix the checkpoint msg failure. 2023-11-14 23:35:09 +08:00
yihaoDeng b74105727d fix mem leak 2023-11-14 20:58:35 +08:00
yihaoDeng 20e1bd9cff fix invalid read/write 2023-11-14 20:46:56 +08:00
dapan1121 c65c9c72c4 fix: change query killed error msg 2023-11-14 19:25:54 +08:00
dapan1121 1fffcfe751
Merge pull request #23666 from taosdata/feat/TD-25100
fix: remove useless scan columns
2023-11-14 18:21:51 +08:00
dapan1121 22a97ee44a
Merge pull request #23672 from taosdata/fix/3.0/TS-4241
fix to_iso8601
2023-11-14 18:17:12 +08:00
yihaoDeng f4d6cf7c74 Merge branch '3.0' into enh/refactorBackend 2023-11-14 18:12:48 +08:00
yihaoDeng aa2c09ef5b rm dup data 2023-11-14 18:09:00 +08:00
yihaoDeng 4476e46a5f rm dup data 2023-11-14 17:43:13 +08:00
liuyao 85b5f4fb87 delete mark 2023-11-14 16:59:46 +08:00
liuyao 7e100959bb delete mark 2023-11-14 16:57:32 +08:00
dapan1121 d659bbb272 fix: memory reuse issue 2023-11-14 15:19:04 +08:00
dapan1121 478c8ef87f
Merge pull request #23665 from taosdata/fix/TD-27281-3.0
fix: extend buffer of trace
2023-11-14 13:50:50 +08:00
Haojun Liao 436c7871a3
Merge pull request #23673 from taosdata/fix/3_liaohj
fix(stream): fix deadlock and do some internal refactor.
2023-11-14 11:26:54 +08:00
wade zhang 9167a07e89
Merge pull request #23657 from taosdata/enh/TD-27210
enh: add humanStr convert func
2023-11-14 10:04:54 +08:00
Haojun Liao e46a13c788
Merge pull request #23669 from taosdata/enh/stream_delay
opt max delay
2023-11-14 09:31:17 +08:00
dapan1121 537e56c904 fix: scan columns duplicated issue 2023-11-14 08:51:23 +08:00
Haojun Liao f99e22b91f fix(stream): fix deadlock. 2023-11-13 23:56:42 +08:00
Bob Liu 82ad690eb4 rewrite nodesNodeName 2023-11-13 20:20:45 +08:00
dapan1121 dbba1385b3 fix: scan columns issue 2023-11-13 19:51:38 +08:00
yihaoDeng 68b6cc1d9d Merge branch '3.0' into enh/refactorBackend 2023-11-13 19:07:58 +08:00
wangmm0220 56381dea90 fix:conflict from 3.0 2023-11-13 18:42:59 +08:00
dapan1121 c5d621c910 fix: remove usless scan columns 2023-11-13 18:40:55 +08:00
wangmm0220 1cbe568be7 fix:add logic when snode restart 2023-11-13 18:39:42 +08:00
Haojun Liao aad8a2eb87 fix(stream): fix deadlock. 2023-11-13 18:20:30 +08:00
kailixu dd663a7650 fix: extend buffer of trace 2023-11-13 18:16:48 +08:00
yihaoDeng 4104840cea Merge branch '3.0' into enh/refactorBackend 2023-11-13 18:07:38 +08:00
Shungang Li a96e21aabd enh: refactor dynamic config 2023-11-13 16:28:42 +08:00
liuyao 37c102a115 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-13 16:06:17 +08:00
yihaoDeng 1786f7077d Merge branch '3.0' into enh/refactorBackend 2023-11-13 14:35:23 +08:00
yihaoDeng de7f2a2d1a Merge branch '3.0' into enh/refactorBackend 2023-11-13 11:11:28 +08:00
yihaoDeng cf3e01e942 Merge branch '3.0' into enh/refactorBackend 2023-11-13 10:34:44 +08:00
dapan1121 a51df86e43
Merge pull request #23636 from taosdata/enh/TD-25601-3.0
enh: support delete msg for rsma
2023-11-13 08:47:42 +08:00
dapan1121 40ab3d7cc6
Merge pull request #23431 from taosdata/szhou/tbname-prune-vgroup
enhance: use tbname equal cond to prune vgroups
2023-11-13 08:34:31 +08:00
Bob Liu ba8a410d6d fix toISO8601Function 2023-11-12 19:15:41 +08:00
dapan1121 fd16b31b4e
Merge pull request #23622 from taosdata/feat/TD-24802
enh: optimize cache last and other functions performance
2023-11-12 17:21:20 +08:00
Haojun Liao 4ff8907b58 fix: fix syntax error. 2023-11-11 23:05:20 +08:00
Haojun Liao 9ee9174608 other: merge 3.0 2023-11-11 15:48:31 +08:00
Haojun Liao 3bacd7516e fix(stream): extact stream nodes list if not initialized. 2023-11-11 15:40:35 +08:00
Haojun Liao 15430f4d50 refactor: 2023-11-11 15:40:33 +08:00
Haojun Liao 5fcef5bd89 refactor:add some logs. 2023-11-11 15:40:32 +08:00
Haojun Liao 7a23df4b1a fix(stream): set the correct updated nodeId. 2023-11-11 15:40:32 +08:00
Haojun Liao 8e5db21c3f fix(test): fix syntax error. 2023-11-11 15:40:13 +08:00
Haojun Liao af08a189c1 fix(stream): disable concurrently restart stream tasks. 2023-11-11 15:40:10 +08:00
Haojun Liao e1de1de421 fix(stream): fix the invalid free. 2023-11-11 15:40:07 +08:00
Haojun Liao 97772e9aab fix(stream): the checkpoint version can only be updated when generating checkpoint. 2023-11-11 15:40:05 +08:00
Haojun Liao 801b211cd8 refactor:do some internal refactor. 2023-11-11 15:39:45 +08:00
Haojun Liao 0463c0d755 refactor: wait for a while when no quota available. 2023-11-11 15:38:41 +08:00
Haojun Liao 22808ce1b7 fix(stream): update the fill-time for quota limitation. 2023-11-11 15:38:32 +08:00
yihaoDeng 1e8d46c405 Merge branch '3.0' into enh/refactorBackend 2023-11-10 18:37:25 +08:00
dapan1121 8bcb7f8741 fix: windows compile error 2023-11-10 17:29:52 +08:00
Haojun Liao 438c303b0d other: merge main. 2023-11-10 17:05:36 +08:00
slzhou 918fadaf00 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-10 16:45:13 +08:00
slzhou 9d448c7c6c fix: review comments 2023-11-10 16:30:16 +08:00
Haojun Liao 08a9244230 fix(stream): extact stream nodes list if not initialized. 2023-11-10 16:24:20 +08:00
dapan1121 a8de040af2 fix: remove non sort usage for now 2023-11-10 16:13:23 +08:00
yihaoDeng a3fdb6dd59 Merge branch '3.0' into enh/refactorBackend 2023-11-10 16:06:08 +08:00
kailixu 57f7ff5b9c chore: revert the code change 2023-11-10 15:34:41 +08:00
kailixu d5d8568bad fix: skip delete msg affects 0 row 2023-11-10 15:30:49 +08:00
Haojun Liao d0307e5876 refactor: 2023-11-10 15:30:21 +08:00
dapan1121 c480f71118
Merge pull request #23628 from taosdata/fix/TS-4052
report not supported error when DDD but no DD specified
2023-11-10 15:06:29 +08:00
kailixu 2a14a10d0d Merge branch '3.0' into enh/TD-25601-3.0 2023-11-10 14:45:45 +08:00
kailixu 674e878ffa enh: rsma support delete 2023-11-10 14:44:29 +08:00
Haojun Liao 0b36081158 refactor:add some logs. 2023-11-10 14:36:18 +08:00
wangmm0220 8a05bad899 fix:snode error 2023-11-10 14:14:22 +08:00
Haojun Liao 1f9a58361d fix(stream): set the correct updated nodeId. 2023-11-10 13:36:35 +08:00
Haojun Liao 5824caa8f5
Merge pull request #23631 from taosdata/fix/liaohj
multiple fix
2023-11-10 13:09:40 +08:00
yihaoDeng ad119ea4c0 Merge branch '3.0' into enh/refactorBackend 2023-11-10 12:07:33 +08:00
dapan1121 350fac01a0 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-10 11:48:55 +08:00
dapan1121 e5eeea5b16
Merge pull request #23619 from taosdata/fix/TD-26925
fix: const value replace issue
2023-11-10 10:42:22 +08:00
Haojun Liao ecf6c1c09d fix(test): fix syntax error. 2023-11-10 10:10:38 +08:00
yihaoDeng 54fe42d372 Merge branch '3.0' into enh/refactorBackend 2023-11-10 09:24:40 +08:00
Haojun Liao 9978667c48 fix(stream): disable concurrently restart stream tasks. 2023-11-10 09:24:08 +08:00
liuyao 6d2d5823dc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-10 09:24:05 +08:00
yihaoDeng 3e2314b09b Merge branch '3.0' into enh/refactorBackend 2023-11-10 09:22:16 +08:00
yihaoDeng 0669037de0 fix mem leak 2023-11-09 20:37:08 +08:00
yihaoDeng 4a99bdc2b0 support s3 2023-11-09 20:27:30 +08:00
wangjiaming0909 ea5adf5511 report not supported error when DDD but no DD specified 2023-11-09 20:20:00 +08:00
yihaoDeng 5f9b922a04 support s3 2023-11-09 20:15:08 +08:00
kailixu 572eb691fb enh: support delete msg for rsma 2023-11-09 19:51:01 +08:00
dapan1121 dd0ac98a5f fix: correct no data load 2023-11-09 19:25:44 +08:00
Haojun Liao da83f27124
Merge pull request #23610 from taosdata/fix/TD-27216
change chkp gen way
2023-11-09 18:55:31 +08:00
Haojun Liao e6f3d4edc7
Merge pull request #23611 from taosdata/fix/TD-27216-3
change chkpid gen way
2023-11-09 18:55:17 +08:00
Haojun Liao 7f3a50dfde fix(stream): fix the invalid free. 2023-11-09 18:14:27 +08:00
dapan1121 4f67629ea1
Merge pull request #23621 from taosdata/fix/TS-4122
correct colid in blockinfo
2023-11-09 18:09:09 +08:00
yihaoDeng 757425bff8 Merge branch '3.0' into enh/refactorBackend 2023-11-09 17:58:49 +08:00
yihaoDeng dd2252598e upload by rsync 2023-11-09 17:39:34 +08:00
Yihao Deng 0453991cdf
Merge branch '3.0' into fix/TD-27216-3 2023-11-09 17:12:56 +08:00
Haojun Liao 13c6d1b23a fix(stream): the checkpoint version can only be updated when generating checkpoint. 2023-11-09 17:11:37 +08:00
wangjiaming0909 a6600ab23a correct colid in blockinfo 2023-11-09 15:41:01 +08:00
kailixu 9cf154543f chore: merge 3.0 2023-11-09 15:09:30 +08:00
dapan1121 8314cb6013
Merge pull request #23494 from taosdata/enh/TD-23769-3.0x
enh: checkpoint for rsma
2023-11-09 14:51:37 +08:00
dapan1121 c1f935bd12 fix: const value replace issue 2023-11-09 14:49:04 +08:00
kailixu 74cddda24b Merge branch '3.0' into enh/TD-25601-3.0 2023-11-09 14:37:13 +08:00
yihaoDeng f74edc7618 Merge branch '3.0' into enh/refactorBackend 2023-11-09 06:14:08 +00:00
liuyao e56a3e8a1e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-09 13:59:39 +08:00
kailixu 1a950afdb8 enh: test case for rsma snapshot 2023-11-09 12:09:27 +08:00
Haojun Liao 257ab4f270
Merge pull request #23526 from taosdata/feat/TD-26060
feat:checkpoint backup function
2023-11-09 11:46:28 +08:00
yihaoDeng 679155f771 change chkpid gen way 2023-11-09 11:25:52 +08:00
yihaoDeng a215332e2f change chkpid gen way 2023-11-09 11:24:18 +08:00
yihaoDeng 50666987f0 change chkpid gen way 2023-11-09 11:23:17 +08:00
Haojun Liao ef646873ef
Merge pull request #23596 from taosdata/fix/streamTransferError
fix stream transfer err
2023-11-09 10:51:22 +08:00
slzhou 30cbf9ae5c feature: if num of tbnames is greater than vgroups, do not update vgroupList of table 2023-11-09 10:31:01 +08:00
dapan1121 6352b28b4c fix: split scan columns from cache last scan 2023-11-09 09:47:55 +08:00
kailixu edef4de7b2 chore: revert the code 2023-11-08 20:57:57 +08:00
kailixu 501d5a7acc Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-08 20:47:15 +08:00
kailixu 72ecb0431c enh: rsma checkpoint 2023-11-08 20:45:44 +08:00
kailixu e72582a1fa Merge branch 'fix/streamTransferError' into enh/TD-23769-3.0x 2023-11-08 20:45:21 +08:00
dapan1121 38196f37b9 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-08 18:48:13 +08:00
dapan1121 49ebb7145e enh: support split cache last and other functions 2023-11-08 18:42:41 +08:00
yihaoDeng 3abf0ae4b2 Merge branch 'feat/TD-26060' into enh/refactorBackend 2023-11-08 17:31:16 +08:00
liuyao a8b415ed35 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-08 17:26:00 +08:00
yihaoDeng 92fa1043b8 Merge branch 'enh/refactorBackend' of https://github.com/taosdata/TDengine into enh/refactorBackend 2023-11-08 17:12:32 +08:00
yihaoDeng 2de5c4a97d add bg thread 2023-11-08 17:11:11 +08:00
yihaoDeng 76fcc49c6d fix stream transfer error 2023-11-08 17:10:54 +08:00
dapan1121 3139bf775b
Merge pull request #23536 from taosdata/feat/TS-4122
feat: cache scan for select last(c), ts/c
2023-11-08 17:07:22 +08:00
Haojun Liao f949333e8b refactor:do some internal refactor. 2023-11-08 16:57:55 +08:00
liuyao ab92894163 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-08 16:29:45 +08:00
dapan1121 f1b54613f0
Merge pull request #23569 from taosdata/fix/distinct
fix(excutor): group agg operator copy from hash table directly
2023-11-08 16:28:26 +08:00
Haojun Liao 470f244032 Merge remote-tracking branch 'origin/enh/refactorBackend' into enh/refactorBackend
# Conflicts:
#	include/libs/stream/tstream.h
2023-11-08 15:21:21 +08:00
Haojun Liao 99dbbe61d7 refactor(stream): do some internal refactor. 2023-11-08 15:20:47 +08:00
yihaoDeng 6a82cd7fbf Merge branch 'main' of https://github.com/taosdata/TDengine into fix/fixStreamTransferErrMain 2023-11-08 15:14:31 +08:00
yihaoDeng b3c056e6cb fix stream transfer err 2023-11-08 15:12:47 +08:00
wangmm0220 c4c1423243 fix:error 2023-11-08 15:01:04 +08:00
yihaoDeng 7e03fa6664 fix stream transfer err 2023-11-08 14:57:20 +08:00
yihaoDeng 2e7d041e0a fix stream transfer err 2023-11-08 14:48:28 +08:00
wangjiaming0909 3e850df3c2 fix: last(ts2), ts2, ts caused data err 2023-11-08 14:43:11 +08:00
Haojun Liao d57b5cdc55 refactor:do some internal refactor. 2023-11-08 14:29:40 +08:00
liuyao 8a648eb56f fix issue 2023-11-08 14:17:46 +08:00
liuyao 340fb3e727 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-08 14:16:59 +08:00
yihaoDeng 7b0891981e merge 3.0 2023-11-08 14:14:01 +08:00
wangjiaming0909 fc6c4fba90 feat: cache scan for select last(c), ts/c 2023-11-08 13:39:28 +08:00
wangmm0220 7d19fcf19f Merge branch 'feat/TD-26060' of https://github.com/taosdata/TDengine into feat/TD-26060 2023-11-08 11:59:03 +08:00
wangmm0220 047eb14f67 fix:error 2023-11-08 11:57:49 +08:00
yihaoDeng fb77d811f9 Merge branch 'enh/refactorBackend' of https://github.com/taosdata/TDengine into enh/refactorBackend 2023-11-08 10:48:36 +08:00
Haojun Liao 17bd6badec refactor(stream): do checkpoint for each task. 2023-11-08 10:47:54 +08:00
yihaoDeng 7ada7f34ac fix:merge from 3.0 2023-11-08 10:45:15 +08:00
wangmm0220 07aa749fcd fix:adapt to windows 2023-11-08 10:28:45 +08:00
yihaoDeng 594da2d603 merge 3.0 2023-11-08 10:04:46 +08:00
wade zhang fd4abeb204
Merge pull request #23535 from taosdata/FIX/TD-26596-3.0
fix: release duplicate msgs in syncSnapBufferRecv
2023-11-08 09:23:16 +08:00
slzhou fabf4e8cf0 fix: tbname in (value...) apply 2023-11-08 09:09:03 +08:00
dapan1121 7e89e55ba0
Merge pull request #23580 from taosdata/szhou/fix/3.0/select-tags-const
fix: select tags const from table
2023-11-08 08:36:46 +08:00
kailixu b9f389a49f Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-08 08:36:35 +08:00
kailixu f2d24306b1 enh: rsma tasks share one checkpoint and fix memory leak 2023-11-08 08:35:52 +08:00
dapan1121 1045457d16
Merge pull request #23575 from taosdata/szhou/fix/3.0/tbname-no-dot
fix: tbname can not contain dot
2023-11-08 08:35:07 +08:00
Haojun Liao 666b8c531b
Merge pull request #23548 from taosdata/fix/liaohj
refactor: do some internal refactor.
2023-11-08 08:08:36 +08:00
Haojun Liao e052d3cd62 fix(stream): check null. 2023-11-08 00:10:08 +08:00
Haojun Liao 9ba854d49d Merge branch '3.0' into fix/3_liaohj 2023-11-07 23:51:07 +08:00
slzhou 4ff81b84b0 fix: fix address sanitizer error 2023-11-07 20:47:14 +08:00
kailixu 6b738884a4 chore: rsma checkpoint 2023-11-07 19:59:05 +08:00
wangmm0220 c0068abc9a fix:merge from 3.0 2023-11-07 18:55:46 +08:00
wangmm0220 f0b2ed567c fix:upload checkpoint to s3 2023-11-07 18:49:12 +08:00
Haojun Liao 73d75aac25 fix(stream): add ref for task. 2023-11-07 18:43:35 +08:00
Haojun Liao 26b96b149d refactor: wait for a while when no quota available. 2023-11-07 18:43:35 +08:00
Haojun Liao 0979ff944b fix(stream): update the fill-time for quota limitation. 2023-11-07 18:43:34 +08:00
Haojun Liao 2bdde122fc refactor: wait a while when no token available. 2023-11-07 18:43:34 +08:00
Haojun Liao a0d81734f1 fix(stream): add ref for task. 2023-11-07 18:18:58 +08:00
Bob Liu 1adffe016d clean hash after operator completed 2023-11-07 17:52:18 +08:00
Haojun Liao 43b14ba8b4 refactor: wait for a while when no quota available. 2023-11-07 17:49:49 +08:00
Haojun Liao 06d02b862e fix(stream): update the fill-time for quota limitation. 2023-11-07 17:33:30 +08:00
Haojun Liao 0b59681158 refactor: wait a while when no token available. 2023-11-07 17:18:58 +08:00
yihaoDeng 95b14ee39b merge 3.0 2023-11-07 17:15:49 +08:00
Haojun Liao 884770dab1 fix(stream): fix syntax error. 2023-11-07 17:12:06 +08:00
Haojun Liao 344c3c5b13 fix(stream): fix syntax error. 2023-11-07 17:11:36 +08:00
Haojun Liao 9c49de69f8 refactor: do some internal refactor. 2023-11-07 17:05:20 +08:00
Haojun Liao ed0c580d11 refactor: do some internal refactor. 2023-11-07 17:04:55 +08:00
Haojun Liao 1301b92844 fix(stream): fix errors in scan-history, introduced by refactor 2023-11-07 16:41:15 +08:00
shenglian zhou edeeb490b1 enhance: add tbname in values 2023-11-07 16:40:05 +08:00
Haojun Liao c9a1cc50fb refactor: do some internal refactor. 2023-11-07 16:40:04 +08:00
Haojun Liao 9125fe44c6 fix(stream): fix error. 2023-11-07 16:40:04 +08:00
Haojun Liao 8c2f6bab0e fix(stream): exec scan-history in timer. 2023-11-07 16:40:03 +08:00
Haojun Liao 7370daa6e0 fix(stream): record the start failure tasks. 2023-11-07 16:39:56 +08:00
Haojun Liao e38e526dda fix(stream):reset the starting flag for the followers. 2023-11-07 16:39:12 +08:00
Haojun Liao 207b53f3f6 fix(stream): fix errors in scan-history, introduced by refactor 2023-11-07 16:19:09 +08:00
yihaoDeng 4f53ffd76f refactor backend 2023-11-07 16:01:57 +08:00
dapan1121 604c701290 Merge remote-tracking branch 'origin/feat/TS-4122' into feat/TD-24802 2023-11-07 15:59:01 +08:00
yihaoDeng 1ee82f5e2c refactor backend 2023-11-07 15:50:42 +08:00
slzhou 433d3b7354 fix: select tags const from table 2023-11-07 15:47:36 +08:00
kailixu 5f4aa0c445 Merge branch 'enh/TD-23769-3.0x' of github.com:taosdata/TDengine into enh/TD-23769-3.0x 2023-11-07 15:46:33 +08:00
liuyao 467c27c758 recover flush mark 2023-11-07 15:45:38 +08:00
yihaoDeng 8f7ad2bd90 refactor backend 2023-11-07 15:20:58 +08:00
yihaoDeng 042522ac7a refactor backend 2023-11-07 15:18:24 +08:00
dapan1121 51f1798474
Merge pull request #23514 from taosdata/szhou/3.0/fix/TD-27089
fix: tag scan mode when no columns after const optimization
2023-11-07 15:13:52 +08:00
yihaoDeng e015134d6d refactor backend 2023-11-07 14:46:52 +08:00
kailixu ac62714492 Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-07 14:20:38 +08:00
liuyao e972ab16fe recover flush mark 2023-11-07 14:11:08 +08:00
Haojun Liao acd20506f6
Merge pull request #23542 from taosdata/fix/TD-27041
adj builtin function
2023-11-07 13:43:23 +08:00
dapan1121 3d1afe7adf
Merge pull request #23547 from taosdata/fix/3.0/TD-27013
fix: cast error msg
2023-11-07 13:35:41 +08:00
yihaoDeng e5449bf161 refactor backend 2023-11-07 11:49:56 +08:00
wade zhang 9a342efd85
Merge pull request #23513 from taosdata/feat/TS-4094
feat: add dynamic configuration
2023-11-07 11:23:21 +08:00
shenglian-zhou aaa7b45dc3
Merge branch '3.0' into szhou/3.0/fix/TD-27089 2023-11-07 11:07:15 +08:00
slzhou d574b97015 fix: tbname can not contain dot 2023-11-07 11:03:42 +08:00
dapan1121 c2ec373557 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-07 10:09:10 +08:00
yihaoDeng 95cfc5eb46 refactor checkpoint 2023-11-07 09:55:55 +08:00
liuyao e6fffe58a5 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-27041 2023-11-07 09:49:06 +08:00
dapan1121 0ed4d1507f feat: support non_sort mode 2023-11-07 09:23:06 +08:00
yihaoDeng 021859361f refactor checkpoint 2023-11-07 09:22:57 +08:00
Haojun Liao 8fa4acd685
Merge pull request #23555 from taosdata/fix/ly_test
release row buff pos
2023-11-07 09:12:16 +08:00
Bob Liu 1b9be71d55 fix(excutor): group agg operator copy from hash table directly 2023-11-07 08:51:03 +08:00
Haojun Liao 96f9264906 fix(stream): add null ptr check. 2023-11-07 00:38:02 +08:00
Haojun Liao 1312b9ea36 fix(stream): fix error. 2023-11-06 23:44:01 +08:00
Haojun Liao 4d8548e938 refactor: do some internal refactor. 2023-11-06 23:42:16 +08:00
yihaoDeng c9bf4f6507 refactor checkpoint 2023-11-06 20:19:11 +08:00
yihaoDeng 819be65db0 refactor checkpoint 2023-11-06 19:59:11 +08:00
kailixu f5d796a081 chore: print stream state 2023-11-06 19:53:09 +08:00
Haojun Liao 312dbc1caa refactor: do some internal refactor. 2023-11-06 19:49:25 +08:00
yihaoDeng 9ca1151b67 refactor checkpoint 2023-11-06 19:47:47 +08:00
Haojun Liao 1f09d3a46b fix(stream): fix error. 2023-11-06 19:46:47 +08:00
Haojun Liao d9474016fc fix(stream): exec scan-history in timer. 2023-11-06 18:55:53 +08:00
yihaoDeng aee1b700a6 Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-06 18:08:03 +08:00
yihaoDeng ba52769867 Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-06 17:56:09 +08:00
liuyao 4ce81f25da session window max delay 2023-11-06 17:45:18 +08:00
kailixu 2f4c732cfb Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-06 17:32:04 +08:00
Benguang Zhao 8f1e3197b2 enh: print lastApplyTerm of snap sender in format of int64 2023-11-06 17:31:31 +08:00
Haojun Liao 6b1889284b fix(stream): record the start failure tasks. 2023-11-06 15:45:44 +08:00
wangjiaming0909 04a1f2ef4d feat: cache scan for select last(c), ts/c 2023-11-06 15:26:12 +08:00
slzhou 6136b1d018 fix: fix tbname or error 2023-11-06 13:49:01 +08:00
liuyao 1f523abff5 release row buff pos 2023-11-06 13:40:53 +08:00
yihaoDeng feeead50c5 Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-06 13:26:38 +08:00
Haojun Liao 69863febe6 fix(stream):reset the starting flag for the followers. 2023-11-06 13:17:13 +08:00
slzhou 1153e5ddc2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-06 13:15:25 +08:00
slzhou 5495e1ceac fix: use the right target name 2023-11-06 12:33:09 +08:00
Haojun Liao d41fd27189 fix(stream): restart tasks in stream threads, instead of write thread. 2023-11-06 11:57:21 +08:00
slzhou 88c8463e18 fix: process logic or conditions 2023-11-06 11:06:22 +08:00
Haojun Liao 0e44950a37 enh(stream): execute scan history by using time slice 1s. 2023-11-06 09:21:33 +08:00
Haojun Liao 1f756f58f6 fix(stream): add need update node into update node list. 2023-11-06 09:21:33 +08:00
Haojun Liao 680eb5674e refactor: do some internal refactor. 2023-11-06 09:15:49 +08:00
dapan1121 0c4040b48e
Merge pull request #23541 from taosdata/fix/TS-4219.3.0
fix: insert syntax error caused coredump
2023-11-06 08:48:46 +08:00
kailixu 7e8c123fca chore: rsma code optimization 2023-11-06 08:46:04 +08:00
dapan1121 faf7001828
Merge pull request #23532 from taosdata/szhou/continue-coing
enhance: insert into super table performance improvement
2023-11-06 08:43:33 +08:00
Haojun Liao d440da0d8c enh(stream): execute scan history by using time slice 1s. 2023-11-05 01:26:53 +08:00
Haojun Liao c71f6713a7 fix(stream): add need update node into update node list. 2023-11-05 01:24:23 +08:00
Haojun Liao e13f003b90 refactor: do some internal refactor. 2023-11-05 01:23:23 +08:00
xinsheng Ren da24384f0e
Merge branch '3.0' into fix/xsren/TD-22212/taosQueryParam3.0 2023-11-04 17:41:41 +08:00
facetosea 567a55a737 distinguish between user parameters and internal parameters 2023-11-04 17:20:24 +08:00
kailixu 411151d671 fix: buffer overflow/buffer use after free/memory leak 2023-11-04 08:44:26 +08:00
yihaoDeng f038f88c07 Merge branch 'feat/TD-26060' into enh/refactorBackend 2023-11-03 18:29:18 +08:00
liuyao 7c38344642 adj builtin function 2023-11-03 17:53:36 +08:00
wangmm0220 5a6c3f2b04 fix:add windows support 2023-11-03 17:45:37 +08:00
dapan1121 6c4f94661b fix: insert syntax error caused core 2023-11-03 17:43:08 +08:00
Haojun Liao 3415ba5195
Merge pull request #23528 from taosdata/fix/liaohj
enh(tsdb): on-demand open stt file reader.
2023-11-03 17:29:55 +08:00
slzhou 9a33f0d59a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/3.0/fix/TD-27089 2023-11-03 16:51:53 +08:00
shenglian zhou 893f7cc080 enhance: prepare for or processing 2023-11-03 16:35:43 +08:00
wangjiaming0909 741f8b0083 fix: cast error msg 2023-11-03 16:31:28 +08:00
kailixu 77eadc59dc Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-03 16:26:07 +08:00
slzhou e1ea15c8f2 enhance: improve performance 2023-11-03 16:13:35 +08:00
liuyao e8945cedd8 fix issue 2023-11-03 16:03:23 +08:00
kailixu a48968e5e8 enh: rsma checkpoint 2023-11-03 14:33:45 +08:00
Shungang Li c6f5e2a9bd enh: add dynamic configuration 2023-11-03 14:28:02 +08:00
shenglian zhou 81af550763 Merge branch 'szhou/tbname-prune-vgroup' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-03 14:12:15 +08:00
shenglian zhou bab886b229 enhance: refact code 2023-11-03 14:12:04 +08:00
Haojun Liao 34403534ed Merge branch '3.0' into fix/3_liaohj 2023-11-03 14:06:58 +08:00
slzhou 75d542c758 fix: performance improvement 2023-11-03 14:03:25 +08:00
liuyao b1d1e2c778 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-03 14:02:59 +08:00
Benguang Zhao 2cf6b3c1e4 fix: release duplicate msgs in syncSnapBufferRecv 2023-11-03 14:01:39 +08:00
Haojun Liao 53b2158c54 refactor: do some internal refactor. 2023-11-03 13:51:17 +08:00
dapan1121 0af6f2fb0e
Merge pull request #23530 from taosdata/fix/TD-27080
fix: return error response while fetching in quick response mode
2023-11-03 13:43:03 +08:00
wade zhang 717ddf5107
Merge pull request #23501 from taosdata/FIX/TD-26596-3.0
fix: set ack of response properly in syncSnapSendRsp
2023-11-03 11:57:24 +08:00
wangmm0220 0a1f1085fc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26060 2023-11-03 11:33:50 +08:00
wangmm0220 3ac11eba0e fix:modify upload checkpoint interface 2023-11-03 11:33:18 +08:00
dapan1121 bb48b457ca fix: return error response while fetching in quick response mode 2023-11-03 11:28:16 +08:00
yihaoDeng d82d51cf8f Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-03 10:40:00 +08:00
slzhou 52608cf84d fix: performace improvement 2023-11-03 10:38:43 +08:00
dapan1121 92240d7f95
Merge pull request #23505 from taosdata/fix/3.0/TS-4052
fix: nano seconds database error
2023-11-03 10:27:40 +08:00
shenglian zhou 55e8607206 fix: calc const optimization only when not tag scan 2023-11-03 10:17:23 +08:00
Benguang Zhao 456c8d23f3 fix: set cursor properly in syncSnapBufferRecv 2023-11-03 10:09:07 +08:00
yihaoDeng 24e961976f Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-03 09:31:57 +08:00
Haojun Liao 9d77351bb2 refactor: do some internal refactor. 2023-11-03 09:30:50 +08:00
yihaoDeng 069dd8de84 Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-03 09:28:30 +08:00
liuyao 31ad73f6d1 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-03 09:12:17 +08:00
Haojun Liao ff5d69352f
Merge pull request #23493 from taosdata/fix/3_liaohj
fix(stream): add unsupport trans.
2023-11-03 09:07:33 +08:00
Haojun Liao 70388bafd2
Merge pull request #23523 from taosdata/fix/liaohj
fix(stream): fix deadlock in transfer state.
2023-11-03 09:07:23 +08:00
liuyao ba09b3de28 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-03 08:56:42 +08:00
kailixu d9ed63473c Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-03 08:37:41 +08:00
yihaoDeng 6ce878948f Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-02 20:44:36 +08:00
yihaoDeng 0a73832fd2 add checkpoint delta 2023-11-02 20:39:55 +08:00
kailixu 6c944bb192 enh: skip rsma_task during load stream tasks 2023-11-02 20:32:54 +08:00
wangmm0220 159873692c feat:checkpoint bakeup using rsync 2023-11-02 20:13:29 +08:00
Haojun Liao b3d57e4a2d fix(stream): not transfer state if state is not appropriate. 2023-11-02 19:31:35 +08:00
Haojun Liao 7a32b3a209 fix(stream): not transfer state if state is not appropriate. 2023-11-02 19:12:36 +08:00
Benguang Zhao ce4fb52926 enh: resend end msg on timeout in snapshotReSend 2023-11-02 18:56:00 +08:00
Benguang Zhao 995a1e1f8e enh: send rsp on duplicate msgs in syncSnapBufferRecv 2023-11-02 18:41:25 +08:00
Benguang Zhao 3221aef1a3 refact: improve code with syncSnapSendMsg 2023-11-02 18:41:25 +08:00
Benguang Zhao 7852b2cecf fix: set ack of response properly in syncSnapSendRsp 2023-11-02 18:41:25 +08:00
Haojun Liao 706f1e4744 fix(stream): fix deadlock in transfer state. 2023-11-02 18:18:04 +08:00
Haojun Liao 39175dc03b fix(stream): fix deadlock in transfer state. 2023-11-02 18:07:36 +08:00
liuyao 52083cd694 event window and partition by 2023-11-02 15:52:55 +08:00
kailixu 2d597659bc enh: rsma checkpoint 2023-11-02 15:20:54 +08:00
liuyao 330b04a8bc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-02 14:36:13 +08:00
dapan1121 be6a6976db fix: adjust view not exist log level 2023-11-02 14:34:19 +08:00
Haojun Liao f5fa3edeba
Merge pull request #23503 from taosdata/fix/liaohj
fix(stream): fix dead lock.
2023-11-02 13:52:50 +08:00
kailixu 76536e1c82 enh: rsma logic 2023-11-02 11:03:18 +08:00
Haojun Liao c48c801e19 fix(stream): return error code. 2023-11-02 11:02:40 +08:00
Haojun Liao 95efa07e92 fix(stream): add full unsupported event filtering. 2023-11-02 11:02:39 +08:00
Haojun Liao 05b3d51803 fix(stream): add qualified status in assert 2023-11-02 11:02:39 +08:00
Haojun Liao 420825c62f fix(stream): return error code. 2023-11-02 10:22:03 +08:00
yihaoDeng 7e7a39f077 Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-02 10:15:34 +08:00
yihaoDeng b911492270 Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-02 09:46:36 +08:00
kailixu 9649e87cab fix: rsma checkpoint 2023-11-02 09:44:43 +08:00
Haojun Liao 351a31302f fix(stream): add full unsupported event filtering. 2023-11-02 09:43:48 +08:00
wangjiaming0909 b71a013b8d fix: nano seconds database error 2023-11-02 09:36:46 +08:00
Haojun Liao e14d42c01e fix(stream): add qualified status in assert 2023-11-02 08:46:18 +08:00
Haojun Liao dc8a90c864 fix(stream): fix memory leak. 2023-11-02 08:13:11 +08:00
Haojun Liao 79e971385f fix(stream): fix memory leak. 2023-11-02 08:11:51 +08:00
Haojun Liao df7633650e fix(stream): fix memory leak. 2023-11-01 20:35:45 +08:00
Haojun Liao e1b3e00b3d fix(stream): fix memory leak. 2023-11-01 20:10:20 +08:00
kailixu 3803f952f9 chore: rsma checkpoint verify 2023-11-01 20:05:00 +08:00
Haojun Liao 6dc468c55f fix(stream): fix dead-lock 2023-11-01 19:38:13 +08:00
Haojun Liao fa7ebf63ea refactor: do some internal refactor. 2023-11-01 19:38:13 +08:00
Haojun Liao 9156e8449d fix(stream): fix deference null ptr. 2023-11-01 19:38:13 +08:00
Haojun Liao 7cf90dde5c refactor: do some internal refactor. 2023-11-01 19:38:13 +08:00
Haojun Liao 00f029e44f refactor: add some logs. 2023-11-01 19:38:12 +08:00
Haojun Liao 385e699cc2 fix(stream): do some internal refactor. 2023-11-01 19:38:12 +08:00
Haojun Liao bd12ae88e1 fix(stream):fix the bug when event in waiting list not fulfilled. 2023-11-01 19:38:12 +08:00
Haojun Liao 9a9c1d689d fix(stream): add lock log. 2023-11-01 19:38:12 +08:00
Haojun Liao e7609d8e56 fix(stream): fix dead-lock 2023-11-01 19:09:21 +08:00
Haojun Liao ae25f09c45 refactor: do some internal refactor. 2023-11-01 18:03:44 +08:00
Haojun Liao 899d13b4ae fix(stream): fix deference null ptr. 2023-11-01 17:25:59 +08:00
Haojun Liao 246ed4e022 refactor: do some internal refactor. 2023-11-01 17:19:21 +08:00
liuyao 505c44d9aa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-01 16:50:46 +08:00
kailixu c32e60d199 chore: more code for rsma checkpoint 2023-11-01 16:27:41 +08:00
Haojun Liao 12bc4f32cf refactor: add some logs. 2023-11-01 16:12:15 +08:00
yihaoDeng 4c8edb5545 Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-01 16:07:49 +08:00
kailixu 59be62c96e chore: set stream input checkpoint 2023-11-01 15:34:17 +08:00
Haojun Liao a22c84617f
Merge pull request #23491 from taosdata/fix/ly_test
session window max delay
2023-11-01 15:31:46 +08:00
slzhou 4a2c52783b Merge branch '3.0' of github.com:taosdata/TDengine into szhou/insert-stb-tbname 2023-11-01 14:10:02 +08:00
Haojun Liao 778c29b808 fix(stream): do some internal refactor. 2023-11-01 14:07:18 +08:00
Haojun Liao e4aeea176b fix(stream):fix the bug when event in waiting list not fulfilled. 2023-11-01 13:59:51 +08:00
slzhou bd64b9102d fix: fix address sanitizer error 2023-11-01 13:25:54 +08:00
Haojun Liao 5ff89bc098 fix(stream): add lock log. 2023-11-01 13:19:53 +08:00
Haojun Liao 0cf0ff3bbf
Merge pull request #23455 from taosdata/fix/liaohj
refactor: do some internal refactor.
2023-11-01 12:01:54 +08:00
Haojun Liao 3f561fb8e4 fix(stream): remove invalid assert. 2023-11-01 11:43:02 +08:00
Haojun Liao 3e6c89d8eb fix(stream): add unsupport trans. 2023-11-01 11:43:02 +08:00
dapan1121 6305353290 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-11-01 10:38:50 +08:00
kailixu 1530fe0c49 Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-01 09:52:16 +08:00
liuyao e8aa1555ca session window max delay 2023-11-01 09:48:53 +08:00
kailixu ad1e6accd4 chore: build checkpoint for rsma 2023-11-01 09:45:58 +08:00
Haojun Liao 7359f98eca
Merge pull request #23428 from taosdata/fix/3_liaohj
other: merge refactor into 3.0
2023-11-01 09:44:31 +08:00
slzhou efb0c61cac fix: fix compilation error 2023-11-01 08:43:29 +08:00
shenglian zhou 42a7553fe0 enhance: refactor getStbRowValues 2023-11-01 08:35:38 +08:00
shenglian zhou 7636f09bfb enhance: refactor getStbRowValues 2023-11-01 08:32:31 +08:00
Haojun Liao 0fb4cfd94f fix(stream): remove invalid assert. 2023-11-01 00:33:17 +08:00
Haojun Liao 639d5cde47 fix(stream): add unsupport trans. 2023-10-31 23:14:02 +08:00
yihaoDeng bb8252df16 fix mem leak 2023-10-31 20:59:24 +08:00
dapan1121 701a148ad1 feat: init merge operator 2023-10-31 19:59:36 +08:00
Haojun Liao 294c59150c fix(stream): add jump out loop by checking task status. 2023-10-31 19:31:28 +08:00
Haojun Liao 4694859325 fix(stream): add jump out loop by checking task status. 2023-10-31 19:31:00 +08:00
dapan1121 91df56fcf0 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-31 18:44:54 +08:00
dapan1121 c9c8c01df9 fix: change error code to retry table meta 2023-10-31 18:39:39 +08:00
dapan1121 d40cc27abc
Merge pull request #23464 from taosdata/enh/TD-26638-3.0
enh: use placeholder '-' for interval of 1st retention level
2023-10-31 18:36:43 +08:00
slzhou 041ef1ef83 enhance: colvals of table data cxt is not used in insert stb syntax 2023-10-31 17:05:37 +08:00
Haojun Liao a1aa2380ae other: merge 3.0 2023-10-31 16:42:51 +08:00
Haojun Liao 0b18192b23 fix(stream): fix error in finishing event handling. 2023-10-31 16:40:16 +08:00
Haojun Liao 762cfef498 fix(stream): adjust the stop condition for stream tasks. 2023-10-31 16:40:16 +08:00
Haojun Liao 4c0242a58d fix(stream): fix error in finishing event handling. 2023-10-31 16:39:14 +08:00
kailixu 012d86d9a8 Merge branch '3.0' into enh/TD-23769-3.0x 2023-10-31 16:15:51 +08:00
dapan1121 c4e1faae36
Merge pull request #23432 from taosdata/szhou/bi-mode-tag-scan
enhance: bi mode tag scan
2023-10-31 15:44:53 +08:00
liuyao 696294c208 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-31 15:41:04 +08:00
liuyao b9e05ab1ec update data 2023-10-31 15:40:42 +08:00
wade zhang 76c9b9afc5
Merge pull request #23377 from taosdata/FIX/TD-26596-3.0
feat: support pipelining of snap replication
2023-10-31 15:19:07 +08:00
slzhou c8767f7614 enhance: tbname token optimization 2023-10-31 14:44:06 +08:00
slzhou 1686c70a60 fix: not use ctb meta from hash of stmt node 2023-10-31 13:14:21 +08:00
Haojun Liao 0ca85a4c03
Merge pull request #23424 from taosdata/refact/streamsm
refactor: do some internal refactor.
2023-10-31 12:48:22 +08:00
Haojun Liao e01c7f3cfd fix(stream): adjust the stop condition for stream tasks. 2023-10-31 11:51:47 +08:00
dapan1121 aabd2bd739 fix: create view table meta issue 2023-10-31 11:23:33 +08:00
Hongze Cheng 16bccef75a
Merge pull request #23407 from taosdata/feat/TS-4180
feat: alloc disk acorrding to avail disk space
2023-10-30 22:15:39 -05:00
shenglian zhou 45ae3727a7 fix: performace improvement 2023-10-31 10:48:10 +08:00
Haojun Liao 88469568b8 fix(stream): handle failure during checkpoint 2023-10-31 10:45:14 +08:00
Haojun Liao 635243f01a refactor: do some internal refactor. 2023-10-31 10:45:12 +08:00
Haojun Liao 0c982093cd fix(stream): enable the set of fill-history task to be un-init. 2023-10-31 10:45:12 +08:00
Haojun Liao 86dfc52a6e fix(stream): add event check when handling the end of event. 2023-10-31 10:45:12 +08:00
Haojun Liao 72f3e4446d fix(stream): handle failure during checkpoint 2023-10-31 10:38:17 +08:00
dapan1121 7d5708f224 fix: case issue and authentication issue 2023-10-31 09:15:40 +08:00
slzhou e800c993dd fix: set scan tags when bi mode 2023-10-31 07:37:56 +08:00
dapan1121 b2fea84a3a fix: case issue and bugs 2023-10-30 19:14:31 +08:00
yihaoDeng 7fad855247 fix mem leak 2023-10-30 18:16:12 +08:00
dapan1121 658ea7c429
Merge pull request #23426 from taosdata/fix/TD-26930/xsren/superTime
fix: interval more than 1000 years
2023-10-30 17:55:53 +08:00
liuyao 5b74bf87b1 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-30 17:55:14 +08:00
yihaoDeng ee6b620597 fix mem leak 2023-10-30 17:29:32 +08:00
kailixu da4fac4204 test: update test case for retentions 2023-10-30 17:04:09 +08:00
dapan1121 1517fe0ff0 fix: ut case issue 2023-10-30 16:44:10 +08:00
slzhou e9a7f6e322 fix: invalid schema error 2023-10-30 15:54:10 +08:00
Haojun Liao fdf3f210ac refactor: do some internal refactor. 2023-10-30 14:39:24 +08:00
kailixu 5e99b69512 Merge branch '3.0' into enh/TD-26638-3.0 2023-10-30 14:09:41 +08:00
dapan1121 0a97f18d72
Merge pull request #23344 from taosdata/feat/3.0/TS-4052
feat: support to_timestamp/to_char
2023-10-30 14:04:33 +08:00
kailixu c77153cb81 enh: use placeholder '-' for interval of 1st retention level 2023-10-30 14:02:31 +08:00
Haojun Liao b0700d6095 Merge branch '3.0' into fix/3_liaohj 2023-10-30 11:57:54 +08:00
Haojun Liao 93232a0e14 fix(stream): enable the set of fill-history task to be un-init. 2023-10-30 11:48:51 +08:00
liuyao 1a37f19c82 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-30 11:43:23 +08:00
dapan1121 6f0b634f95 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-30 10:24:16 +08:00
Haojun Liao 19c5882cbe fix(stream): add event check when handling the end of event. 2023-10-30 10:22:24 +08:00
Benguang Zhao 70e261f662 enh: terminate snap replication on timeout 2023-10-30 10:14:26 +08:00
slzhou 4b6f927e6a fix: add test case for bi tag scan 2023-10-30 10:11:57 +08:00
dapan1121 1b7a6bccdf
Merge pull request #23430 from taosdata/enh/TD-26641-3.0
enh: only float/double allowed for sum/avg of rsma
2023-10-30 10:08:55 +08:00
dapan1121 8650c5d4b0
Merge pull request #23392 from taosdata/feat/3.0/TS-4044
feat: support all utf8 characters as alias
2023-10-30 10:04:37 +08:00
facetosea 55f6d2b7a9 use TSDB_MAX_KEEP 2023-10-30 09:42:06 +08:00
Haojun Liao 980f6fc46e fix(stream): pause the task when they are still in uninit status. 2023-10-30 09:32:40 +08:00
Haojun Liao 1bbad532a7 fix(stream): add more check. 2023-10-30 09:32:40 +08:00
Haojun Liao 076b533ba3 fix(stream): fix race condition when state transferring. 2023-10-30 09:32:40 +08:00
Haojun Liao 85befa10b9 fix(stream): avoid clear the restart flag . 2023-10-30 09:32:39 +08:00
Haojun Liao f708ddb792 fix(stream): pause the task when they are still in uninit status. 2023-10-30 09:09:21 +08:00
dapan1121 972e10a238 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-30 08:45:29 +08:00
Haojun Liao 790d869494 fix(stream): add more check. 2023-10-29 22:57:33 +08:00
Haojun Liao 3c07c3ec2f fix(stream): fix race condition when state transferring. 2023-10-29 02:27:27 +08:00
Haojun Liao c7285c0ede fix(stream): add expired epset node list for stream tasks in hb to mnode. 2023-10-27 23:41:57 +08:00
Haojun Liao 4c267b538f fix(stream): add expired epset node list for stream tasks in hb to mnode. 2023-10-27 23:05:41 +08:00
dapan1121 9801d5d7b7 fix: desciribe view and memory issues 2023-10-27 19:28:22 +08:00
kailixu eae1b4eb03 chore: relationship between interval/keep 2023-10-27 19:15:23 +08:00
Benguang Zhao c3f9cae36b refact: improve code of syncNodeOnSnapshot 2023-10-27 18:55:30 +08:00
Benguang Zhao 4163a3be7c feat: resend snap replication of data on timeout 2023-10-27 17:58:26 +08:00
liuyao ad6d38439b refect 2023-10-27 17:47:25 +08:00
wangjiaming0909 cf158ab428 feat: support all utf8 characters as alias 2023-10-27 15:23:26 +08:00
slzhou 15aedb8d8c fix: fix bugs of pWhere is null 2023-10-27 15:16:40 +08:00
xsren b422c29d4e fix interval limit on us/ns db 2023-10-27 15:16:03 +08:00
kailixu ac72466429 chore: naming optimization 2023-10-27 15:11:35 +08:00
Haojun Liao 62cc33715c fix(stream): fix deadlock. 2023-10-27 15:05:36 +08:00
Haojun Liao 0c2079a963 fix(stream): fix deadlock. 2023-10-27 15:03:21 +08:00
shenglian zhou 1bda5a7223 enhance: use tbname cond to set vgroup list of table node 2023-10-27 14:47:56 +08:00
kailixu 4ea44c429d chore: code optimization 2023-10-27 14:41:17 +08:00
yihaoDeng ebdf6d1cc6 fix mem leak 2023-10-27 14:18:56 +08:00
Haojun Liao afe7fdf672 fix(stream): avoid clear the restart flag . 2023-10-27 14:12:06 +08:00
kailixu 2ad3b98344 chore: test case for rollup 2023-10-27 13:49:39 +08:00
Haojun Liao dcca6b0868 other: merge 3.0. 2023-10-27 11:41:28 +08:00
dapan1121 099f72e84a fix: memory issues 2023-10-27 11:36:17 +08:00
xsren 4186028083 fix: interval more than 1000 years 2023-10-27 11:09:18 +08:00
Haojun Liao 29b3a7a5e9 refactor: do some internal refactor. 2023-10-27 09:59:53 +08:00
Haojun Liao 9c9d02b181 fix(stream): disable follower nodes exec reset. 2023-10-27 09:59:52 +08:00
Haojun Liao 52d8e05c0c fix(stream): resolve the nodeUpdate msg compatible issue. 2023-10-27 09:59:52 +08:00
Haojun Liao 454624516c fix(stream): handle the repeatly issued nodeUpdate msg from dnode. 2023-10-27 09:59:51 +08:00
Haojun Liao 9c9cd08e2e fix(stream): not clear role flag. 2023-10-27 09:59:44 +08:00
Haojun Liao 33dc51cc86 fix(stream): add some logs. 2023-10-27 09:59:44 +08:00
Haojun Liao 1ccbb77981 fix(stream): fix dead lock when shutdown all tasks. 2023-10-27 09:59:37 +08:00
Haojun Liao 9a1a8feec2 fix(stream): do send check info if downstream is not leader. 2023-10-27 09:58:53 +08:00
Haojun Liao 2493c21ed3 fix(stream): fix the invalid write in sma 2023-10-27 09:58:52 +08:00
Haojun Liao e8520997b0 fix(stream): disable continue check for downstream tasks. 2023-10-27 09:58:52 +08:00
Haojun Liao 3bcffcf1da other: merge stream refactor from main. 2023-10-27 09:56:02 +08:00
Haojun Liao b0ef072556 fix(stream): clear flag for checkpoint. 2023-10-27 09:55:07 +08:00
Haojun Liao f682ad0479 refactor: do some internal refactor. 2023-10-27 09:55:06 +08:00
Haojun Liao efede8669f refactor: do some internal refactor. 2023-10-27 09:55:06 +08:00
Haojun Liao 9ebf806789 fix(stream): clear the flag. 2023-10-27 09:55:05 +08:00
Haojun Liao 48ff521968 fix(stream): update the nodeEp even during checkpoint trans. 2023-10-27 09:55:02 +08:00
Haojun Liao 0d4892f25b fix(stream): fix bugs caused by refactor sm. 2023-10-27 09:55:00 +08:00
Haojun Liao a31613ae95 refactor: add ref in log. 2023-10-27 09:54:59 +08:00