Commit Graph

15739 Commits

Author SHA1 Message Date
Haojun Liao 309630eb11 fix(stream): add timestamp. 2023-09-19 14:22:05 +08:00
dapan1121 aabd7a51f7
Merge pull request #22934 from taosdata/fix/xsren/TD-26274/mergeSort_main
merge stable sort intead of qsort as insert unordered data
2023-09-19 14:17:47 +08:00
dmchen e36ff1282c revert dependency 2023-09-19 13:42:02 +08:00
Haojun Liao 38b3a7c1bd fix(stream): update logs. 2023-09-19 11:05:49 +08:00
slzhou cabe04fccd fix: add more sql trace 2023-09-19 10:47:12 +08:00
slzhou 7b2eea0b4b fix: fix address sanitizer error 2023-09-19 10:08:01 +08:00
Haojun Liao b7efedf4aa enh(stream): log the checkpoint time. 2023-09-19 09:53:33 +08:00
Haojun Liao e76bab7122 fix(stream): not handle the check msg for follower tasks. 2023-09-19 09:43:14 +08:00
slzhou 05ef6e291c fix: fix address sanitizer error 2023-09-19 09:15:12 +08:00
slzhou 6eb6799a34 fix: fix sanitizer error 2023-09-19 08:41:10 +08:00
slzhou 78ea4b1927 fix: fix memory sanitizer error 2023-09-19 08:38:08 +08:00
Haojun Liao 9a9fffa577 fix(stream): reset task counter. 2023-09-19 00:52:35 +08:00
Haojun Liao 377fdfacf6 fix(stream): add some logs. 2023-09-18 23:51:08 +08:00
Haojun Liao 2c9d54af37 fix(stream): fix memory leak. 2023-09-18 19:58:46 +08:00
Haojun Liao c7b8d572f6 fix(stream): set the output normal for stream dispatch when encountering the transfer state. 2023-09-18 18:25:22 +08:00
Haojun Liao c33ef4ce88 fix(stream): add null check 2023-09-18 15:14:51 +08:00
xsren 83d8e3a524 mem exception handle 2023-09-18 13:48:09 +08:00
dmchen b473122dac break dependency 2023-09-18 12:29:08 +08:00
dmchen 5f0274e83d break dependency 2023-09-18 11:44:06 +08:00
dmchen a64ddfc736 break dependency 2023-09-18 10:59:50 +08:00
dm chen fda32dcc51
Merge branch 'main' into feat/TD-26127-audit-sql 2023-09-18 09:41:47 +08:00
Haojun Liao 8aa9960760
Merge pull request #22944 from taosdata/fix/liaohj
refactor: do some internal refactor, and fix some bugs.
2023-09-17 21:25:33 +08:00
Haojun Liao 3dfdda3283 fix(stream): fix error in decode stream task. 2023-09-17 18:07:26 +08:00
Haojun Liao 301258784a fix(stream): fix invalid read. 2023-09-17 13:59:06 +08:00
Haojun Liao 01144c58a7 fix(stream): fix stream task id error. 2023-09-17 01:19:59 +08:00
Haojun Liao 4846194bbb refactor: do some internal refactor, remove the related fill-history task by sending mesg to replay it in follower node. 2023-09-16 21:37:30 +08:00
Haojun Liao caa7542cea
Merge pull request #22913 from taosdata/fix/liaohj
fix(stream): fix error in drop task.
2023-09-16 21:36:38 +08:00
Haojun Liao e20c8b39f4
Merge pull request #22922 from taosdata/fix/TD-26325
fix race crash and add log
2023-09-15 17:49:22 +08:00
Haojun Liao 91e3d70796 fix(stream): remove fill-history sink task. 2023-09-15 17:46:17 +08:00
liuyao c14721744c stream partition ignore stream_get_all 2023-09-15 15:01:20 +08:00
yihaoDeng 6820fb0c5d fix race crash and add log 2023-09-15 14:59:44 +08:00
liuyao 6d64a22b5f project op ignore checkpoint block 2023-09-15 11:41:33 +08:00
shenglian zhou 658de2a04e fix: add create table sql to audit log 2023-09-15 09:56:56 +08:00
Haojun Liao 2bfd6e3355 refactor: do some internal refactor. 2023-09-15 09:25:22 +08:00
Haojun Liao 117de7ab7d fix(stream): fix error in drop task. 2023-09-15 00:51:13 +08:00
Haojun Liao 500fcad36c
Merge pull request #22892 from taosdata/fix/liaohj
refactor: do some internal refactor.
2023-09-15 00:46:46 +08:00
Haojun Liao 73c2782d78 fix(stream): update some logs. 2023-09-14 23:17:23 +08:00
Haojun Liao 303e8caf0c fix(stream): set the correct guard flag. 2023-09-14 22:44:16 +08:00
Haojun Liao 27f626769e fix(stream): fix memory leak. 2023-09-14 19:33:05 +08:00
Haojun Liao f2c3e0a6e8 fix(stream): disable follower send hb to mnode. and do some internal refactor. 2023-09-14 17:22:31 +08:00
wangmm0220 8d2ac4a317 fix:return TSDB_CODE_PAR_VALUE_TOO_LONG if data value is longer than bytes & fix tsAssert default value to 0 2023-09-14 15:56:01 +08:00
Haojun Liao fce5be0eb4 fix(stream): fix dead lock. 2023-09-14 14:09:05 +08:00
Haojun Liao 9b70c0c457 fix:fix coverity issue and remove unnecessary files. 2023-09-14 09:06:10 +08:00
Haojun Liao d9f6cf3966 fix(stream):fix missing unlock. 2023-09-13 14:11:41 +08:00
Haojun Liao 7305c8dbe1 refactor: do some internal refactor about the sched status set 2023-09-13 14:00:34 +08:00
dapan1121 0be7060928
Merge pull request #22873 from taosdata/fix/TS-3960
fix: join condition with single param operator
2023-09-13 11:08:42 +08:00
Haojun Liao ca2fea3e1b refactor(stream): remove unnecessary streamschedTask function to improve the performance. 2023-09-13 11:02:38 +08:00
Haojun Liao 0943c1c5b1 fix(stream): limit the token bucket capacity 2023-09-13 09:19:59 +08:00
Haojun Liao 99477babca
Merge pull request #22872 from taosdata/fix/coverityScanDyh
fix coverity scan problem
2023-09-13 09:18:27 +08:00
Haojun Liao 09a15bf340 refactor: do some internal refactor. 2023-09-12 22:07:52 +08:00
Haojun Liao 4325a0a433
Merge pull request #22866 from taosdata/fix/3_liaohj
refactor: do  some internal refactor.
2023-09-12 21:56:44 +08:00
dapan1121 dd1457e49c fix: join condition with single param operator 2023-09-12 19:18:43 +08:00
yihaoDeng 8fc33dd74d fix coverity scan problem 2023-09-12 18:52:16 +08:00
Haojun Liao 13c20facd0 fix(stream): fix syntax error. 2023-09-12 18:37:30 +08:00
Haojun Liao 66676b977e fix(stream): set correct number items in outputQ 2023-09-12 18:16:07 +08:00
Haojun Liao e457d94ac6 refactor: do some internal refactor. 2023-09-12 18:09:02 +08:00
Haojun Liao 4d33387e80
Merge pull request #22814 from taosdata/fix/fixTransferCrash2
fix merge error
2023-09-12 16:10:07 +08:00
Haojun Liao 78a5680cf4 fix(stream): add some logs. 2023-09-12 15:59:09 +08:00
shenglian zhou d724762f68 fix: add audit sql to cmd request 2023-09-12 13:35:41 +08:00
Haojun Liao 025a2a3b50
Merge pull request #22846 from taosdata/fix/3_liaohj
fix(tsdb): check the schema before merge rows in buffer
2023-09-12 11:43:27 +08:00
yihaoDeng 6ce85f5cae fix transfer crash 2023-09-12 10:44:56 +08:00
Haojun Liao f602aa965f fix(stream): fix coverity scan issues. 2023-09-12 09:16:18 +08:00
Haojun Liao cd1f0ea414
Merge pull request #22826 from taosdata/fix/3_liaohj
fix(stream): set the correct start version for the step 2 stage in fill history.
2023-09-11 21:43:58 +08:00
dapan1121 f831bf7d0f
Merge pull request #22810 from taosdata/fix/m/TD-26136
fix: coverity issues
2023-09-11 14:50:03 +08:00
Haojun Liao 45880f70d4 fix(stream): fix display error in logs. 2023-09-11 13:57:33 +08:00
Haojun Liao 3b79ab3266 fix(stream): reset the init ts. 2023-09-11 13:50:55 +08:00
Haojun Liao 50ef500f51 refactor(stream): do sink module refactor. 2023-09-11 10:09:31 +08:00
Haojun Liao 372747cc23
Merge pull request #22818 from taosdata/fix/3_liaohj
fix(stream): fix error in fill history and check quit status of vnode.
2023-09-10 20:47:06 +08:00
Haojun Liao a9321248a9 fix(stream): set the correct flag when there is one token existed. 2023-09-10 18:34:03 +08:00
Haojun Liao 10271aee26 fix(stream): fix syntax error in unit test. 2023-09-10 14:12:03 +08:00
Haojun Liao 4ffb4a5b1f refactor: disable some logs. 2023-09-10 11:02:32 +08:00
Haojun Liao 85a5c45098 fix(stream): limit the already processed data. 2023-09-10 00:01:25 +08:00
Haojun Liao 9a30573b8b fix(stream): disable scan wal when halt is set. 2023-09-09 16:12:08 +08:00
Haojun Liao aa8909b267 other: add some logs. 2023-09-09 15:18:54 +08:00
Haojun Liao 6f5c855a4b fix(stream): fix msg lost bug. 2023-09-09 15:08:36 +08:00
Haojun Liao 47fd144447 other: add some logs. 2023-09-09 11:19:51 +08:00
Haojun Liao e4918e85eb fix(stream): limit the sink rate 2023-09-09 00:22:22 +08:00
Haojun Liao bf79c2c993 fix(stream): limit the sink rate 2023-09-09 00:11:13 +08:00
Haojun Liao 35b97cbd19 fix(stream): set correct token in bucket. 2023-09-08 23:50:41 +08:00
Haojun Liao 328377c25f refactor: add some logs. 2023-09-08 23:04:39 +08:00
Haojun Liao b317c8ebff fix(stream): disable merge submit blocks. 2023-09-08 12:46:15 +08:00
wangjiaming0909 952d6e1492 fix: coverity issues 2023-09-08 10:26:37 +08:00
dapan1121 cd53ab870a
Merge pull request #22805 from taosdata/fix/TD-26160
fix: remove db dead lock issue
2023-09-08 08:30:40 +08:00
wade zhang 0499581c98
Merge pull request #22788 from taosdata/fix/xsren/TD-26163/basemain
stack overflow
2023-09-07 18:37:18 +08:00
dapan1121 6e5ee57fc1 fix: remove db dead lock issue 2023-09-07 18:01:06 +08:00
dapan1121 615c619bba
Merge pull request #22782 from taosdata/fix/TS-3897
fix: fix diff not support unsigned type
2023-09-07 16:17:42 +08:00
Haojun Liao 55ac835294 Merge branch 'main' into fix/3_liaohj 2023-09-07 11:47:25 +08:00
dapan1121 fdeb924d0d
Merge pull request #22715 from taosdata/fix/m/TD-26114
fix: desc fill missed one window
2023-09-07 11:36:30 +08:00
xsren e5302b1677 stack overflow 2023-09-07 11:00:52 +08:00
Haojun Liao dc821057e5 fix(stream): update the log. 2023-09-07 10:33:38 +08:00
dapan1121 afbb6edb59
Merge pull request #22755 from taosdata/fix/main/TD-26134
fix: fix coverity scan issue
2023-09-07 10:31:47 +08:00
dapan1121 e4f52bae5b
Merge pull request #22764 from taosdata/fix/TD-26132
fix: fix coverity issues
2023-09-07 10:09:30 +08:00
Haojun Liao e407d7dc6b fix(stream): update log. 2023-09-07 10:09:05 +08:00
Haojun Liao 956047a441 fix(stream): count down the token in bucket. 2023-09-07 10:02:13 +08:00
Haojun Liao b240e91c91 enh(stream): add token bucket to limit the rate of sink operation. 2023-09-07 09:58:48 +08:00
Ganlin Zhao a762437100 fix issue 2023-09-07 09:54:06 +08:00
Ganlin Zhao 60d159731a Revert "fix: fix diff not support unsigned type"
This reverts commit 7ccf959cdc44be7c5eaa0218f84db7699c126bbb.
2023-09-07 09:53:52 +08:00
Shungang Li 7257518dca fix: tdbBtcDelete release pages before modifying pBtc->pPage 2023-09-06 14:54:18 +08:00
Haojun Liao 8783ebcb02 enh(stream): add some logs and record the submit package performance. 2023-09-06 14:34:36 +08:00
Ganlin Zhao d74834f81e fix: fix diff not support unsigned type 2023-09-06 14:21:30 +08:00
dapan1121 875a081adc fix: typo issue 2023-09-06 14:11:24 +08:00
Haojun Liao e607a0a5cb fix(stream): add some logs. 2023-09-06 11:39:07 +08:00
dmchen 231ba12f70 feat/TD-26127 2023-09-06 11:00:24 +08:00
Haojun Liao c86eeb3938 fix(stream): add task status check when waiting for the table create. 2023-09-06 10:58:33 +08:00
dapan1121 0b18689fa6 fix: fix coverity issues 2023-09-06 10:57:49 +08:00
wangjiaming0909 5dedaebb01 fix: desc fill missed one window 2023-09-06 10:53:19 +08:00
dapan1121 8cbc49a083
Merge pull request #22696 from taosdata/fix/m/TD-26096
fix: 1. select tag from meters partition by tag limit returned wrong …
2023-09-06 09:54:00 +08:00
shenglian zhou 6b79947402 fix: fix coverity scan issue 2023-09-06 08:48:46 +08:00
Haojun Liao 6dabf70f1b
Merge pull request #22718 from taosdata/fix/TD-26126
fix:support length function for varbinary
2023-09-05 16:25:21 +08:00
Haojun Liao 097e2b9b10
Merge pull request #22737 from taosdata/fix/3_liaohj
fix(stream) : fix error in timer Active counter
2023-09-05 15:32:22 +08:00
dapan1121 07053ae525
Merge pull request #22725 from taosdata/fix/TS-3895
fix: fix last(*)/last_row(*) return MD5 hashed column name
2023-09-05 13:28:47 +08:00
wade zhang 8f27724f1f
Merge pull request #22701 from taosdata/fix/test_1x
test: add stream cases to main
2023-09-05 10:57:38 +08:00
Haojun Liao 0441c7a870 Merge branch 'fix/3_liaohj' of github.com:taosdata/tdengine into fix/3_liaohj 2023-09-05 10:40:48 +08:00
Haojun Liao 5b3cb8ec42 fix(stream): fix memory leak. 2023-09-05 09:27:16 +08:00
Haojun Liao 4f85a2620a fix(stream): remove invalid free. 2023-09-05 09:27:16 +08:00
Haojun Liao db8073dadd fix(stream): fix memory leak. 2023-09-04 23:13:57 +08:00
Haojun Liao 1886bb0330 fix(stream): remove invalid free. 2023-09-04 19:36:33 +08:00
Haojun Liao 77eed06bcd
Merge branch '3.0' into fix/3_liaohj 2023-09-04 18:51:07 +08:00
Haojun Liao 0b67ce0bfb fix(stream): release stream task with max_delay option. 2023-09-04 18:34:05 +08:00
Ganlin Zhao 0fed045a12 fix: fix last(*)/last_row(*) return MD5 hashed column name 2023-09-04 18:33:50 +08:00
Haojun Liao 5869750782 fix(stream): release stream task with max_delay option. 2023-09-04 18:33:33 +08:00
wangjiaming0909 22b53c3ece fix: 1. select tag from meters partition by tag limit returned wrong num of rows
2. select tag from meters partition by tag returned wrong num of rows
2023-09-04 18:16:12 +08:00
Haojun Liao 325a177170 fix(stream): disable the fill-history task when restart stream tasks. 2023-09-04 17:18:04 +08:00
wangmm0220 a0fadb07ea fix:support length function for varbinary 2023-09-04 17:15:03 +08:00
Haojun Liao aeea699c9c Merge branch '3.0' into fix/3_liaohj 2023-09-04 15:53:39 +08:00
Haojun Liao 375d0abea5 fix(stream): merge main. 2023-09-04 13:12:53 +08:00
Haojun Liao 21dab8ceab other: merge 3.0 2023-09-04 13:08:19 +08:00
slzhou 3650a6bc2c fix: select tags from child table error 2023-09-01 20:42:27 +08:00
Haojun Liao d8518de5e0 fix(stream):fix error in timerActive. 2023-09-01 20:20:39 +08:00
Minglei Jin 5159bf3e2a fix(stream): fix epset errors 2023-09-01 15:33:23 +08:00
Hongze Cheng 2af8a617e7 fix: add log to debug 2023-09-01 15:08:09 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
yihaoDeng 2e05a78ce1 change debug log 2023-09-01 11:51:55 +08:00
yihaoDeng 88a2f1b433 change debug log 2023-09-01 11:45:02 +08:00
dapan1121 8742f7c928 fix: add new param 2023-09-01 11:15:06 +08:00
dapan1121 e7b467df99 fix: getSlotKey param issue 2023-09-01 11:13:06 +08:00
dapan1121 eda96e4301 Merge remote-tracking branch 'origin/main' into fix/m23.2 2023-09-01 11:02:54 +08:00
dapan1121 ef9d137df2 fix: code merge issue 2023-09-01 11:02:21 +08:00
dapan1121 228e6c6acd Merge remote-tracking branch 'origin/main' into 3.0 2023-09-01 10:01:10 +08:00
Haojun Liao bce46f1be8 fix(stream): transfer state should wait for the checkpoint generating completed. 2023-09-01 09:50:45 +08:00
Haojun Liao 9612704fa6 fix(stream): add assert 2023-08-31 21:43:44 +08:00
Haojun Liao 95da66e3e8 fix(stream): fix error. 2023-08-31 20:50:12 +08:00
Haojun Liao bef0d4bff3 fix(stream): add assert. 2023-08-31 20:01:59 +08:00
wade zhang 20a9ab16e0
Merge pull request #22664 from taosdata/fix/TD-26046
fix: remove constant partition
2023-08-31 18:37:53 +08:00
Haojun Liao e816d0efa5
Merge pull request #22669 from taosdata/fix/TD-26069
fix invalid insert
2023-08-31 18:29:25 +08:00
dapan1121 cff17434a2 fix: aggragate function omited issue 2023-08-31 16:23:00 +08:00
yihaoDeng 1833be028f fix invalid insert 2023-08-31 15:28:31 +08:00
Haojun Liao e2bb64eb18 refactor: do some internal refactor. 2023-08-31 14:23:46 +08:00
Haojun Liao 69f95f9324 other: merge 3.0 2023-08-31 13:56:34 +08:00
Haojun Liao 2285b834b0 refactor: do some internal refactor. 2023-08-31 13:53:12 +08:00