Commit Graph

21 Commits

Author SHA1 Message Date
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
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 2228a9fc33
Merge branch 'main' into fix/checkfh 2025-02-21 11:11:36 +08:00
Haojun Liao ecc667c22b
Revert "refactor(stream): drop task in async ways" 2025-02-21 01:10:18 +08:00
Haojun Liao 306f6ebc93 fix(stream): clear start task info if no tasks exist. 2025-02-20 23:54:06 +08:00
Haojun Liao c4cd6dd62d fix(stream): drop task in synch model in write thread. 2025-02-17 10:06:09 +08:00
Haojun Liao 628808c9a4 fix(stream): fix dead lock. 2024-11-15 17:16:47 +08:00
Haojun Liao 01748085cc fix(stream): not remove task when trying to stop it. 2024-10-31 00:25:26 +08:00
Haojun Liao 0bc5f8cb88 fix(stream): relase the task. 2024-10-28 10:20:08 +08:00
Haojun Liao 4802f59dfe fix(stream): use the refId in stream meta list, in order to avoid access already freed stream tasks. 2024-10-27 15:49:40 +08:00
Haojun Liao c4a49a7bd9 refactor: do some internal refactor. 2024-09-15 00:45:45 +08:00
Haojun Liao c13248dd4e refactor: remove void. 2024-09-12 19:23:05 +08:00
Haojun Liao 3d50df7191 refactor: remove void. 2024-09-12 16:05:07 +08:00
Haojun Liao 251bdf51c1 fix(stream): fix syntax error. 2024-08-29 16:02:33 +08:00
Haojun Liao 5bffb0c675 refactor: do some internal refactor. 2024-08-29 14:21:23 +08:00
Haojun Liao 40669f4e9c fix(tsdb): 1. repeat send req consensus-checkpoint-id; 2.add more error code to deal with the init event failure, 2024-08-29 11:14:58 +08:00
Haojun Liao 1fa94a4827 fix(stream): enable follower update the checkpoint info. 2024-08-28 19:20:48 +08:00
Haojun Liao b6084e64ce refactor: remove assert in stream module. 2024-08-21 10:00:35 +08:00
Haojun Liao 89eaf01621 fix(stream):fix memory leak. 2024-08-17 23:23:18 +08:00
Haojun Liao 0d3d0730d4 refactor: do some internal refactor. 2024-08-17 15:30:10 +08:00