Commit Graph

16944 Commits

Author SHA1 Message Date
Yihao Deng 2151c5cae0
update telemInterval (#29703) 2025-03-17 17:42:24 +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
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
Yihao Deng 0806cca09e
fix(query): fix ins_usage error on multi storage (#30134)
* fix calc disk usage error

* fix calc disk usage error

* fix calc disk usage error

* fix calc disk usage error

* fix calc disk usage error

* add test case

* add test case

* add test case

* add test case

* add test case

* add test case

* refactor code

* refactor code

* refactor code

* refactor code

* refactor code

* refactor code
2025-03-14 18:11:39 +08:00
Simon Guan c642f5e6e0
Merge pull request #30033 from taosdata/fix/TS-6078-main
fix(query): change error log to warning when failed to acquire tsdb reader
2025-03-06 17:19:03 +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
Jinqing Kuang 7a7aacd6cc fix(query): change error log to warning when failed to acquire tsdb reader
Jira: https://jira.taosdata.com:18080/browse/TS-6066
2025-03-06 14:23:00 +08:00
Simon Guan 6fa7a7bb99
Merge pull request #29996 from taosdata/fix/droptask
feat(stream): add timeout parameter.
2025-03-05 18:49:23 +08:00
Haojun Liao 24882459e3 chore: merge main 2025-03-05 13:40:44 +08:00
yihaoDeng d1ded07b43 fix(index): fix return error 2025-03-05 11:07:59 +08:00
yihaoDeng a4b738b3c6 enh(index): opt error code 2025-03-05 11:04:39 +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 eb0553b737 refactor: do some internal refactor. 2025-03-04 18:45:29 +08:00
Haojun Liao 936f0af929 fix(analytics): check return value. 2025-03-04 17:04:07 +08:00
Haojun Liao 2eea385485 fix(analytics): check return value. 2025-03-04 15:29:54 +08:00
Haojun Liao c186d31c7d fix(analytics): check return value. 2025-03-04 14:30:48 +08:00
Haojun Liao 19f09d679d feat(stream): add timeout parameter. 2025-03-03 23:05:14 +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 f59d25f1a5 fix(stream): fix syntax error. 2025-03-03 16:27:54 +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
Haojun Liao d2d7279f0d fix(stream): fix memory leak if error occurs. 2025-03-01 19:22:26 +08:00
Haojun Liao f8cc9648f6 fix(stream): fix memory leak. 2025-03-01 15:33:31 +08:00
dmchen b0f62f4f91 fix:statusseq 2025-03-01 12:51:09 +08:00
dmchen 65773866ca fix:remove-send-status-lock 2025-03-01 01:02:30 +08:00
dmchen ccd4b19c5f fix:remove-send-status-lock 2025-03-01 00:53:04 +08:00
dmchen 6d2925b832 fix/remove-get-queue-size-when-print-heartbeat-log 2025-03-01 00:22:42 +08:00
dmchen 3359483836 fix:decouple get mload 2025-03-01 00:22:40 +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
Haojun Liao c726420081 Merge branch 'main' into fix/droptask 2025-02-28 19:42:35 +08:00
Haojun Liao e1c4451f81 fix(stream): avoid lock in timer to avoid sync operation blocks. 2025-02-28 17:46:54 +08:00
Haojun Liao 5f6ecab854 fix(stream): check the return values. 2025-02-28 15:05:00 +08:00
Haojun Liao 6e1206bbc1 fix(stream): add some logs. 2025-02-28 13:55:37 +08:00
Haojun Liao 951b469b10 fix(stream): add some logs. 2025-02-28 13:55:24 +08:00
Haojun Liao 14ef25101d fix(stream): adjust log. 2025-02-28 13:55:09 +08:00
Haojun Liao 3e55f8edfe fix(stream): follower nodes not restart tasks. 2025-02-28 13:54:26 +08:00
Haojun Liao ed03b3a22c fix(stream): try starting task even the inputQ is full. 2025-02-28 13:48:05 +08:00
Simon Guan 24fae6adbb
Merge pull request #29900 from taosdata/fix/checkfh
refactor(stream): scan wal is driven by time, instead of insert events.
2025-02-28 13:42:43 +08:00
dmchen aa7cb880bb fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 11:53:18 +08:00
Simon Guan aa1bf309ea
Merge pull request #29959 from taosdata/fix/droptask
refactor(stream): create task epset update trans out of lock
2025-02-28 11:00:58 +08:00
dmchen 4dd0622594 fix:decouple get mload 2025-02-27 19:07:33 +08:00
dmchen 7eeb800213 fix:add-status-timestamp 2025-02-27 15:29:52 +08:00
dmchen 1f6c4df422 fix/move-status-to-new-queue 2025-02-27 15:26:06 +08:00
Haojun Liao 7b56df0adc refactor(stream): create task epset update trans out of lock, to avoid blocking mnode-read thread. 2025-02-27 14:51:26 +08:00
Haojun Liao 899d2cef20 fix(stream): not discard stream msg 2025-02-27 00:39:30 +08:00
Haojun Liao 786ee101cd other: merge main. 2025-02-27 00:18:25 +08:00
Haojun Liao bf1f162aa0 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:36 +08:00
Haojun Liao 012ee53d35 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:31 +08:00