Commit Graph

23062 Commits

Author SHA1 Message Date
xinsheng Ren 8453726080
fix: when querying super table, using ORDER BY and LIMIT together may return an unexpected record.
* fix: limit error

* fix: limit error, test case.
2025-03-18 13:58:30 +08:00
Jing Sima 379a75a429
test: reopen mac unit tests. (#29648) 2025-03-17 17:41:46 +08:00
dongming chen 03fe3e5430
fix: [TD-34000] remove lock when send heartbeat reply main (#30123)
* fix(stream): reduce the consensus checkpoint id trans.

* refactor(stream): add some logs.

* refactor(stream): set the max checkpoint exec time 30min.

* refactor(stream): add checkpoint-consensus trans conflict check.

* refactor(stream): remove unused local variables.

* fix(stream): fix syntax error.

* fix(stream): 1. fix free memory error 2. continue if put result into dst hashmap failed.

* fix issue

* fix issue

* fix(mnd): follower mnode not processes the timer event.

* fix(stream): print correct error msg.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): truncate long subtable name

* fix(stream): add buffer len.

* refactor(stream): update some logs.

* fix issue

* refactor(stream): update some logs.

* refactor(stream): update some logs.

* fix(stream): check return value.

* fix(stream): fix syntax error.

* fix(stream): check return value.

* fix(stream): update the timer check in mnode.

* fix: TD-34000-remove-lock-when-send-heartbeat-reply

* fix: TD-34000-remove-lock-when-send-heartbeat-reply

---------

Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: 54liuyao <54liuyao@163.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
2025-03-17 17:13:54 +08:00
wangjiaming 40d32e16b0
fix(TS-6117): fix drop table name with star crash (#30204) 2025-03-17 14:13:03 +08:00
Haojun Liao ab92886820
fix(stream): reduce the consensus checkpoint id trans. (#30105)
* fix(stream): reduce the consensus checkpoint id trans.

* refactor(stream): add some logs.

* refactor(stream): set the max checkpoint exec time 30min.

* refactor(stream): add checkpoint-consensus trans conflict check.

* refactor(stream): remove unused local variables.

* fix(stream): fix syntax error.

* fix(stream): 1. fix free memory error 2. continue if put result into dst hashmap failed.

* fix issue

* fix issue

* fix(mnd): follower mnode not processes the timer event.

* fix(stream): print correct error msg.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): truncate long subtable name

* fix(stream): add buffer len.

* refactor(stream): update some logs.

* fix issue

* refactor(stream): update some logs.

* refactor(stream): update some logs.

* fix(stream): check return value.

* fix(stream): fix syntax error.

* fix(stream): check return value.

* fix(stream): update the timer check in mnode.

* fix(stream): add restart stage tracking.

* fix(stream): track the start task stage for meta.

* fix(stream): fix error in log.

* refactor(stream): adjust log info.

* fix mem issue

* fix(stream): check the number of required tasks for consensus checkpointId.

* fix(stream): lock the whole start procedure.

* fix(stream): add lock during start all tasks.

* fix(stream): update logs.

* fix(stream): update logs.

* fix(stream): update logs.

* fix(stream): fix dead-lock.

* fix(stream): fix syntax error.

* fix(stream): not drop the scan-history task.

* fix(stream): fix syntax error.

* fix(stream): wait for executor stop before restarting.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): disable some logs.

* fix(stream): reset the start info if no task left.

---------

Co-authored-by: 54liuyao <54liuyao@163.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
2025-03-17 10:20:17 +08:00
Linhe Huo 3cd15a4434 fix: typo, replace radio to ratio 2025-03-12 23:37:33 +08:00
facetosea 8fbd28eb6e fix: state col precal 2025-03-12 14:33:18 +08:00
Simon Guan 4c446ee2f3
Merge pull request #30087 from taosdata/fix/TS-6080/conditionPushdown
fix: condition shouldn't pushdown as subquery has limit clause
2025-03-11 10:47:22 +08:00
54liuyao 1ddc510976 fix(stream): fix stream mem leak 2025-03-10 16:28:28 +08:00
facetosea ff06947468 fix: condition shouldn't pushdown as subquery has limit clause 2025-03-10 10:22:22 +08:00
Simon Guan a7b3879767
Merge pull request #30017 from taosdata/opt/TS-5766
perf(index): opt var data filte performance
2025-03-07 10:54:18 +08:00
Simon Guan 48ad03b696
Merge pull request #30021 from taosdata/fix/TS-6076
fix(query): opt show disk_info output
2025-03-06 17:20:48 +08:00
Simon Guan 2c3099b840
Merge pull request #30010 from taosdata/fix/checkfh
fix(stream): not remove local checkpoint dir, log the checkpoint size.
2025-03-06 17:13:55 +08:00
Simon Guan 1eef3126cc
Merge pull request #29990 from taosdata/ehn-TD-33933-decouple-send-heartbeat-main
ehn:TD-33933-decouple-send-heartbeat
2025-03-05 18:55:05 +08:00
yihaoDeng 250d0bc73c fix(query): opt show disk_info output 2025-03-05 18:08:36 +08:00
yihaoDeng 3fa27a2fa3 perf(index): opt var data filte performance 2025-03-05 16:44:09 +08:00
Haojun Liao 24882459e3 chore: merge main 2025-03-05 13:40:44 +08:00
Simon Guan 6656460320
Merge pull request #29988 from taosdata/fix/chkptq
fix(stream):check the maximum allowed forecast rows, add one test case
2025-03-05 09:29:01 +08:00
Haojun Liao 2c92cca603 test(analytics): add test case and set the unit to be second. 2025-03-04 23:31:02 +08:00
Haojun Liao fa1ff744fc fix(stream): not remove local checkpoint dir, log the checkpoint size. 2025-03-04 19:51:27 +08:00
Haojun Liao b82d60036b Merge branch 'ehn-TD-33933-decouple-send-heartbeat-main' into fix/checkfh 2025-03-04 17:06:13 +08:00
Haojun Liao 936f0af929 fix(analytics): check return value. 2025-03-04 17:04:07 +08:00
Simon Guan 8d1ed68ddb
Merge pull request #29992 from taosdata/fix/TD-33935
fix: double decode compiler issue
2025-03-04 14:28:27 +08:00
Haojun Liao 450561226a fix(analytics): fix syntax error. 2025-03-04 14:02:21 +08:00
Haojun Liao 0e37b45e06 fix(analytics): fix syntax error. 2025-03-04 13:56:39 +08:00
Haojun Liao 9139f3cb47 fix(analytics): fix syntax error. 2025-03-04 13:44:56 +08:00
Haojun Liao 8c035a930a refactor(analytics): do some internal refactor. 2025-03-04 13:40:33 +08:00
Haojun Liao f85347b311 fix(analysis): fix syntax error. 2025-03-03 23:44:21 +08:00
Haojun Liao 19f09d679d feat(stream): add timeout parameter. 2025-03-03 23:05:14 +08:00
dapan1121 b3c5e5a66d fix: double decode compiler issue 2025-03-03 18:29:10 +08:00
Haojun Liao 96cd36900a fix(analysis): fix syntax error. 2025-03-03 18:28:17 +08:00
dmchen 9d8c959502 ehn:TD-33933-decouple-send-heartbeat 2025-03-03 17:45:06 +08:00
Haojun Liao f563a35b3f fix(stream):check the maximum allowed forecast rows, add one test case, and do some internal refactor. 2025-03-03 17:27:05 +08:00
Haojun Liao ac667164ed refactor: do some internal refactor. 2025-03-03 16:20:58 +08:00
Haojun Liao dfd1beaead chore: merge main 2025-03-03 14:29:10 +08:00
Simon Guan eee9976a44
Merge pull request #29958 from taosdata/fix/TD-33872-improve-status-sync-heartbeat
fix: [td-33872] improve status sync heartbeat
2025-03-03 13:51:44 +08:00
Simon Guan a0e1599f08
Merge pull request #29970 from taosdata/enh/TD-33883/errorLog
fix: error log
2025-03-03 13:31:40 +08:00
Haojun Liao 1c223488f8 Merge branch 'main' into fix/droptask 2025-03-03 10:40:13 +08:00
Haojun Liao 74562db0e5 fix(stream): set empty string instead of null ptr. 2025-03-02 15:36:29 +08:00
Haojun Liao 14ffa60e6e fix(stream): remove invalid error check. 2025-03-01 15:44:02 +08:00
dmchen e257f69c61 fix:remove-lock-from-heartbeat-log 2025-03-01 00:22:43 +08:00
dmchen 6d2925b832 fix/remove-get-queue-size-when-print-heartbeat-log 2025-03-01 00:22:42 +08:00
dmchen 774c512148 fix:add-status-timestamp 2025-03-01 00:22:37 +08:00
dmchen 48787ba1aa fix/move-status-to-new-queue 2025-03-01 00:22:35 +08:00
dmchen 21e3ec5a35 fix/remove-sync-heartbeat-lock-fix-check 2025-03-01 00:22:34 +08:00
dmchen 86e8675fae fix/remove-sync-heartbeat-lock 2025-03-01 00:22:34 +08:00
Haojun Liao c726420081 Merge branch 'main' into fix/droptask 2025-02-28 19:42:35 +08:00
Haojun Liao 8c1d28219a fix(stream): fix race condition 2025-02-28 19:40:10 +08:00
Haojun Liao 6e3f738490 refactor(stream): try to lock during build stream hb. 2025-02-28 18:49:48 +08:00
Haojun Liao e1c4451f81 fix(stream): avoid lock in timer to avoid sync operation blocks. 2025-02-28 17:46:54 +08:00