Commit graph

10991 commits

Author SHA1 Message Date
Hongze Cheng
0c48a3ab25 fix: open meta invalid state handle 2025-03-07 16:47:04 +08:00
Minglei Jin
a94d6aef03 fix(tdb): restrict tdb allocation from buffer pool 2025-03-07 14:29:29 +08:00
Haojun Liao
95e75196e2 chore: merge main. 2025-03-06 18:45:21 +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
dmchen
952053598c enh: TD-33960-improve-sync-log 2025-03-06 14:47:44 +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
f9681cce1d
Merge pull request #30000 from taosdata/enh/3.0/TD33165
enh(insert): use cache to improve auto create table performance.
2025-03-05 18:52:22 +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
Zhixiao Bao
45d05761ae
Merge branch '3.0' into enh/3.0/TD33165 2025-03-04 14:46:51 +08:00
Simon Guan
1a9f75e663 Merge branch '3.0' into fix/internal 2025-03-04 13:47:03 +08:00
Simon Guan
b74b038f4f Merge branch '3.0' into merge/mainto3.0 2025-03-04 11:32:29 +08:00
Simon Guan
16ada1f0d3 Merge branch 'main' into merge/mainto3.0 2025-03-04 11:24:13 +08:00
xiao-77
e2b18a7182 End(insert):Use cache to improve auto create table performance. 2025-03-04 10:04:58 +08:00
Simon Guan
7326e3d8bc Merge branch '3.0' into merge/mainto3.0 2025-03-03 14:01:51 +08:00
Simon Guan
6826edf5e0 Merge branch 'main' into merge/mainto3.0 2025-03-03 14:01:43 +08:00
Simon Guan
d7207861bb Merge remote-tracking branch 'origin/3.0' into fix/internal 2025-03-03 10:43:07 +08:00
Haojun Liao
06ba3027b1 fix(stream): check return value. 2025-03-02 12:06:19 +08:00
Haojun Liao
a71f414d97 refactor(stream): stop all tasks before drop vnodes. 2025-03-02 02:06:14 +08:00
Haojun Liao
d2d7279f0d fix(stream): fix memory leak if error occurs. 2025-03-01 19:22:26 +08:00
Haojun Liao
c726420081 Merge branch 'main' into fix/droptask 2025-02-28 19:42:35 +08:00
Haojun Liao
8c3035cf24 fix(stream): avoid lock in timer to avoid sync operation blocks. 2025-02-28 17:47:43 +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
Hongze Cheng
e2b48e4397 enh: add more code 2025-02-27 15:06:49 +08:00
Hongze Cheng
b3ae5df8ac enh: more code 2025-02-27 14:06:30 +08:00
Simon Guan
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
Simon Guan
b91dd10846 enh: add log level to each log entry 2025-02-27 09:55:11 +08:00
wangmm0220
ef13df2e3d feat:[TD-33798]modify metadata logic for tmq 2025-02-27 09:55:11 +08:00
wangmm0220
a823efb3c4 feat:[TD-33798]modify metadata logic for tmq 2025-02-27 09:55:11 +08:00
wangmm0220
ebc8a2e433 fix:[TD-337958]send batch metadata & remove data if subscribe only meta 2025-02-27 09:55:11 +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
Haojun Liao
45b0e47a19 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-27 00:15:03 +08:00
Haojun Liao
7319f544c2 refactor(stream): drop task in async ways 2025-02-27 00:14:34 +08:00
Haojun Liao
c14ba08d7c refactor(stream): drop task in async ways 2025-02-27 00:12:11 +08:00
Hongze Cheng
f85ddb6633 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-25 09:47:38 +08:00
Shengliang Guan
8a324a45d5
Merge pull request #29885 from taosdata/feat/TD-33798
feat:[TD-33798]send batch metadata & remove data if subscribe only meta
2025-02-24 19:32:26 +08:00
Hongze Cheng
9a95abd26d more code 2025-02-24 16:32:09 +08:00
wangmm0220
e87541efaa feat:[TD-33798]modify metadata logic for tmq 2025-02-24 16:18:27 +08:00
Hongze Cheng
b01ed3bb80 more code 2025-02-24 15:32:46 +08:00
Hongze Cheng
b048c597dc more code 2025-02-24 14:41:56 +08:00
Hongze Cheng
f8a0dc8fe0 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-24 09:49:31 +08:00
Haojun Liao
514a63ab37 fix(stream): fix the error in check scan interval 2025-02-24 00:40:16 +08:00
Haojun Liao
00edb8e612 fix(stream): adjust init tmr position. 2025-02-23 16:27:18 +08:00
Haojun Liao
787590b6c9 fix(stream): adjust init tmr position. 2025-02-23 16:25:17 +08:00
Haojun Liao
b4de2d16b6 fix(stream): add some logs. 2025-02-23 16:18:49 +08:00
Haojun Liao
f4c3fdedbd fix(stream): add some logs. 2025-02-23 16:18:19 +08:00
Haojun Liao
4ff74ab2ea fix(stream): adjust log. 2025-02-23 15:37:59 +08:00
Haojun Liao
8c0ead7c61 refactor: add some comments. 2025-02-23 11:03:49 +08:00
Haojun Liao
2fdb31a41a fix(stream): adjust scan timer 2025-02-23 10:49:13 +08:00
Haojun Liao
f1c4d2734f fix(stream): follower nodes not restart tasks. 2025-02-23 10:43:56 +08:00
Haojun Liao
e378b5cb8a fix(stream): adjust scan timer 2025-02-23 03:42:44 +08:00
Haojun Liao
9018970135 refactor: do some internal refactor. 2025-02-23 01:39:00 +08:00
Haojun Liao
034c907ee1 refactor: do some internal refactor. 2025-02-23 01:38:05 +08:00
Shengliang Guan
3a739beaa5 Merge branch 'main' into merge/mainto3.0 2025-02-22 20:07:40 +08:00
Haojun Liao
a8d50f28a6 fix(stream): disable error injection. 2025-02-22 14:19:44 +08:00
Haojun Liao
56f1c80018 fix(stream): disable error injection. 2025-02-22 14:18:44 +08:00
Haojun Liao
4d62c60aaf fix(stream): fix syntax error. 2025-02-22 14:17:19 +08:00
Haojun Liao
6c92474afd fix(stream): fix syntax error. 2025-02-22 14:16:46 +08:00
Haojun Liao
a9b5d0fbf0 fix(stream): update function return value. 2025-02-22 14:13:42 +08:00
Haojun Liao
9bd8b532ad fix(stream): update function return value. 2025-02-22 14:12:38 +08:00
Haojun Liao
0ec8e1e202 refactor(stream): remove comments. 2025-02-22 12:38:19 +08:00
Haojun Liao
0f89421b62 refactor(stream): scan wal is driven by time, instead of insert events. 2025-02-22 12:38:03 +08:00
Haojun Liao
b5fdb44193 refactor(stream): remove comments. 2025-02-22 12:35:37 +08:00
Haojun Liao
09b6642e45 refactor(stream): scan wal is driven by time, instead of insert events. 2025-02-22 12:33:32 +08:00
Hongze Cheng
93e17112e1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-21 15:22:22 +08:00
wangmm0220
e594c2bbd5 feat:[TD-33798]modify metadata logic for tmq 2025-02-21 11:49:17 +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
wangmm0220
7b5edade95 fix:[TD-337958]send batch metadata & remove data if subscribe only meta 2025-02-20 19:50:37 +08:00
Haojun Liao
9d5735703b Merge branch 'fix/checkfh' into fix/checkpoint 2025-02-20 18:28:46 +08:00
Haojun Liao
bea8fe42db fix(stream): check status before scan history. 2025-02-20 18:28:19 +08:00
Haojun Liao
66697ee188 fix(stream): check status before scan history. 2025-02-20 18:22:45 +08:00
Shengliang Guan
2bee60a41a Merge branch 'main' into merge/mainto3.0 2025-02-20 18:12:02 +08:00
Hongze Cheng
b980bb35bc more code 2025-02-20 18:08:20 +08:00
Haojun Liao
6766e6db53 refactor(stream): add checkpoint queue to handle chkpt. 2025-02-20 16:13:33 +08:00
Haojun Liao
55f03f2187 fix(stream): try starting task even the inputQ is full. 2025-02-20 16:07:05 +08:00
Shengliang Guan
42bafc0d47
Merge pull request #29848 from taosdata/fix/ly_stream
fix(tsma):drop invalid state for tsma
2025-02-20 15:04:03 +08:00
Shengliang Guan
0a9f5086f0
Merge pull request #29775 from taosdata/fix/analysis
refactor(stream): drop task in async ways
2025-02-20 13:38:53 +08:00
54liuyao
870fe1c071 fix(tsma):drop invalid state for tsma 2025-02-20 11:52:04 +08:00
Shengliang Guan
f16ae7abe1
Merge pull request #29809 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2025-02-20 10:27:20 +08:00
Shengliang Guan
4e064b5aec
Merge pull request #29823 from taosdata/feat/TS-5928
fix:[TS-5928]add consumer parameters
2025-02-19 19:22:26 +08:00
Shengliang Guan
d13f9448eb
Merge pull request #29730 from taosdata/feat/3.0/TS-5584
Feat(sync):Add restore progress to the "show vnodes" command, and add…
2025-02-19 16:30:27 +08:00
wangmm0220
fc3995a10c fix:[TS-5776]add test case 2025-02-19 11:12:13 +08:00
Shengliang Guan
6735e5e948
Merge pull request #29822 from taosdata/kjq/enh-code-clarity
enh(stream): add options to control message and frame size
2025-02-18 18:59:28 +08:00
Shengliang Guan
8bee0e7030
Merge pull request #29666 from taosdata/feat/TS-5776
fix:[TS-5776]add raw type from consumer
2025-02-18 17:53:52 +08:00
wangmm0220
bdfa67e4a9 fix:[TS-5928]add consumer parameters 2025-02-18 17:32:00 +08:00
Jinqing Kuang
a48095d467 enh(streams): add options to control message and frame size
Add options to allow users to specify message and frame size limits for
event notifications.
2025-02-18 17:20:38 +08:00
Zhixiao Bao
05112546fd
Merge branch '3.0' into feat/3.0/TS-5584 2025-02-18 16:07:47 +08:00
wangmm0220
f824a75f4d Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-5776 2025-02-18 15:28:10 +08:00
wangmm0220
07e4265dde fix:[TS-5776]error in create table time 2025-02-18 15:21:51 +08:00
Shengliang Guan
92eb6038e2
Merge pull request #29762 from taosdata/feat/TS-5469-3.0
feat(stream)[TS-5469]: add more stream event notifications
2025-02-18 15:14:58 +08:00
wangmm0220
9dcac195cb fix:[TS-5776]error in ci 2025-02-18 11:20:42 +08:00
Shengliang Guan
63fc5dea34 Merge branch '3.0' into merge/mainto3.0 2025-02-18 10:29:16 +08:00
wangmm0220
6f2ccfc3b2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-5776 2025-02-17 17:41:25 +08:00
wangmm0220
bf5dc63a30 fix:[TS-5776]add test case 2025-02-17 17:40:54 +08:00
Shengliang Guan
6dedab4bba
Merge pull request #29784 from taosdata/fix/TS-6017-3.0m
fix: timeseries statistics and test case
2025-02-17 10:25:44 +08:00
wangmm0220
3da00b7c74 fix:[TS-5776]add raw type from consumer 2025-02-17 10:13:49 +08:00
Haojun Liao
c4cd6dd62d fix(stream): drop task in synch model in write thread. 2025-02-17 10:06:09 +08:00
Shengliang Guan
596e381e0e
Merge pull request #29779 from taosdata/fix/metanull
fix(stream): access value after null ptr check.
2025-02-17 09:36:09 +08:00
Jinqing Kuang
fc2d2672b9 feat(stream)[TS-5469]: add more stream event notifications
- Add event notifications for all window types
- Implement window invalidation notifications
- Add statistics for event notification delivery
2025-02-16 11:07:16 +08:00
wangmm0220
47a6836c27 fix:[TS-5776]add raw type from consumer 2025-02-16 00:15:01 +08:00
Haojun Liao
465e5eabd7 fix(stream): drop task in synch model in write thread. 2025-02-15 23:20:05 +08:00
Haojun Liao
0a101fc3c1 fix(stream): add missing release 2025-02-15 00:05:24 +08:00
Haojun Liao
57a2471cc6 fix(stream): add missing release 2025-02-15 00:03:33 +08:00
Haojun Liao
8848ae61a4 fix(stream): add missing release 2025-02-15 00:00:45 +08:00
Haojun Liao
25cdfa5ee9 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-14 18:34:20 +08:00
kailixu
5fa20d8cb3 Merge branch 'main' into fix/TS-6017-3.0m 2025-02-14 17:02:47 +08:00
wangmm0220
39f77e45fc fix:[TS-5776]add raw type from consumer 2025-02-14 16:54:53 +08:00
kailixu
6885b942b1 fix: timeseries statistics and test case 2025-02-14 16:53:32 +08:00
wangmm0220
f16f21897e fix:[TS-5776]add raw type from consumer 2025-02-14 16:12:00 +08:00
Haojun Liao
73ec4af4a7 Merge branch 'main' into fix/analysis 2025-02-14 15:37:11 +08:00
wangmm0220
d67de02a31 fix:[TS-5776]add raw type from consumer 2025-02-14 15:09:32 +08:00
Shengliang Guan
d6bd52ece7
Merge pull request #29750 from taosdata/enh/streamqueue
refactor(stream): add more operation handled in ctrl queue, and limit the stream input q size
2025-02-14 15:02:23 +08:00
Haojun Liao
03041d0f61 other: merge main 2025-02-14 10:18:19 +08:00
Haojun Liao
43d45e9f9a refactor(stream): drop task in async ways 2025-02-13 23:43:07 +08:00
Haojun Liao
fd96b096ea refactor(stream): drop task in async ways 2025-02-13 23:41:06 +08:00
kailixu
e3aaab405d fix: timeseries statistics and test case 2025-02-13 18:55:28 +08:00
kailixu
61a606a410 fix: timeseries calculation when create table 2025-02-13 14:03:54 +08:00
wangmm0220
daea0ec61a fix:[TS-5776]add raw type from consumer 2025-02-13 13:54:54 +08:00
Zhixiao Bao
e71c03a90f
Merge branch '3.0' into feat/3.0/TS-5584 2025-02-13 10:17:58 +08:00
Shengliang Guan
67b678f9f0
Merge pull request #29746 from taosdata/merge/mainto3.02
merge: from main to 3.0 branch
2025-02-12 13:57:36 +08:00
Shengliang Guan
54c8a2be0a
Merge pull request #29310 from taosdata/fix/TS-5805-check-arb
fix/TS-5805-check-arb
2025-02-12 13:46:06 +08:00
xiao-77
bdcec392b4 Merge remote-tracking branch 'origin/3.0' into feat/3.0/TS-5584 2025-02-12 09:56:23 +08:00
wangmm0220
878bac1556 fix:[TS-5776]avoid memcpy fo DataRspObj 2025-02-11 18:04:53 +08:00
Shengliang Guan
cd52401303 Merge branch 'main' into merge/mainto3.02 2025-02-11 15:15:35 +08:00
Haojun Liao
81b718ec69 refactor(stream): handle retrieve chkpt trigger in ctrl queue. 2025-02-11 13:07:06 +08:00
Haojun Liao
9ad6fd170b fix(stream): update the process queue. 2025-02-10 19:24:36 +08:00
Shengliang Guan
dae17cd1b0
Merge pull request #29718 from taosdata/enh/streamqueue
refactor(stream): notify close stream in main thread
2025-02-10 18:44:27 +08:00
Hongze Cheng
3d081041ba fix: invalid pointer 2025-02-10 18:38:27 +08:00
xiao-77
fbe65197d6 Feat(sync):Add restore progress to the "show vnodes" command, and add the applied index to the "show vgroups" command. 2025-02-10 15:58:25 +08:00
Hongze Cheng
d537b2f8b6 adjust api code 2025-02-10 15:56:23 +08:00
Hongze Cheng
b2bfbebfb1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5794-3.0 2025-02-10 14:29:13 +08:00
dongming chen
240a8b5d5b
Merge pull request #29723 from taosdata/3.0
3.0
2025-02-10 09:56:12 +08:00
Haojun Liao
694b6385d5 refactor(stream): adjust reset and mark failed Id. 2025-02-09 21:40:33 +08:00
Haojun Liao
a2dcba10a7 refactor(stream): 1) notify closing in main thread. 2) not saving the halt status. 2025-02-09 01:42:24 +08:00
Jinqing Kuang
d32cf8bcb8 fix(query)[TS-5984]. correct data block filtering logic in tsdbReader
When scanning a table with a primary key, tsdbReader could load
irrelevant data blocks outside the query time range, causing errors
when returning results.

This fix improves filtering logic to ensure only valid blocks are
read and adds test verification.
2025-02-08 17:32:25 +08:00
Hongze Cheng
499cf0c294 more code 2025-02-08 14:34:22 +08:00
Hongze Cheng
f2dafd9362 more code 2025-02-08 11:24:45 +08:00
Shengliang Guan
1c8b1520d6 Merge branch 'main' into merge/mainto3.02 2025-02-08 11:12:14 +08:00
Hongze Cheng
708fa269b5 more code 2025-02-08 11:10:17 +08:00
Hongze Cheng
cfb8cdb991 more code 2025-02-07 18:52:53 +08:00
wangmm0220
94b74cc20f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-5776 2025-02-07 18:25:08 +08:00
Shengliang Guan
a004d95996 Merge branch '3.0' into merge/mainto3.02 2025-02-06 13:46:36 +08:00
yihaoDeng
14bc7b03bc feat:add test logic 2025-02-05 18:20:02 +08:00
Haojun Liao
a5cdf3320c refactor(stream): handle stream check in ctrl queue. 2025-02-05 15:03:30 +08:00
Haojun Liao
0f04f47337 refactor(stream): dispatch req handled in ctrl queue. 2025-02-05 15:03:24 +08:00
Haojun Liao
fa2229c453 refactor(stream): dispatch rsp handled in ctrl queue. 2025-02-05 15:03:10 +08:00
Haojun Liao
5e130c4d53 enh(stream): add ctrl queue to handle hb rsp, to avoid hb rsp not being confirmed if all stream threads are occupied. 2025-02-05 14:57:15 +08:00
Shengliang Guan
e1cd2735a6
Merge pull request #29639 from taosdata/feat/3.0/TS-5795
Enh(tsdb):print fid while data file corrupted.
2025-02-05 09:41:28 +08:00
Haojun Liao
79284e7414 Merge branch 'main' into fix/disp_lost 2025-01-24 17:15:22 +08:00
Haojun Liao
093233203d
Revert "refactor(stream): do some internal refactor ." 2025-01-24 17:11:15 +08:00
wangmm0220
b5edb79d48 fix:[TS-5776]add raw type from consumer 2025-01-24 16:55:53 +08:00
Shengliang Guan
3089e3d904
Merge pull request #29544 from taosdata/fix/tag
refactor(stream): do some internal refactor .
2025-01-24 16:27:22 +08:00
wangmm0220
902d067776 fix:[TS-5776]add raw type from consumer 2025-01-24 14:56:00 +08:00
wangmm0220
7fad4bceb0 fix:[TS-5776]add raw type from consumer 2025-01-24 13:44:56 +08:00
Pan Wei
d6633a27ac
Merge pull request #29651 from taosdata/fix/addMetaDebugLog.m
fix: add table meta validation error and debug log
2025-01-24 09:54:36 +08:00
dapan1121
bd450fe751 fix: add meta debug log 2025-01-23 16:12:54 +08:00
Haojun Liao
963e397984 fix(stream): update logs. 2025-01-23 14:45:47 +08:00
Hongze Cheng
3405a007bd enh: accelerate tsdb snapshot when data are all in stt file 2025-01-23 14:23:54 +08:00
Haojun Liao
6cc3b5da0e fix(stream): add upper bound for the time of waiting for creating table. 2025-01-23 13:37:41 +08:00
Haojun Liao
e5e57923cd fix(stream): add upper bound for the time of waiting for creating table. 2025-01-23 13:18:56 +08:00
xiao-77
362aac2de1 Enh(tsdb):print fid while data file corrupted. 2025-01-22 16:46:10 +08:00
wangmm0220
7c5c9f6245 fix:[TS-5776]add raw type from consumer 2025-01-22 16:38:37 +08:00
Shengliang Guan
8c0600649f
Merge pull request #29623 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2025-01-22 16:36:17 +08:00
dapan1121
89cea7859a fix: invalid subtable in tbname in clause issue 2025-01-21 17:41:37 +08:00
Jinqing Kuang
eb5d463490 feat(stream)[TS-5469]. add support for window event notifications in stream processing
- Introduce new syntax to specify notification type and destination address
- Collect relevant event information during window computations
- Implement websocket-based notification delivery to the specified address
2025-01-21 17:39:46 +08:00
Haojun Liao
84eaed0bbb fix(stream): fix invalid read. 2025-01-19 00:13:58 +08:00
Haojun Liao
b4a6523aa6 fix(stream): fix invalid read. 2025-01-18 01:35:24 +08:00
Haojun Liao
c93fe999ba refactor(stream): injection error. 2025-01-18 01:26:49 +08:00
Haojun Liao
6274eea7c4 fix(stream): adjust the free stream meta position and check the close flag of streamMeta before starting scan wal. 2025-01-17 19:15:08 +08:00
Haojun Liao
3223cc0287 other: add todo 2025-01-09 18:37:05 +08:00
Shengliang Guan
081c902c64
Merge pull request #29520 from taosdata/fix/TD-32471-main
fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL
2025-01-09 13:33:48 +08:00
Hongze Cheng
dbfb910bff
Merge pull request #29522 from taosdata/fix/TS-5853-main
enh: add strict message check for submit message
2025-01-09 13:18:38 +08:00
Hongze Cheng
c2528b8535 more code 2025-01-09 11:11:19 +08:00
Haojun Liao
30039bb53b enh(stream): add ctrl queue to handle hb rsp, to avoid hb rsp not being confirmed if all stream threads are occupied. 2025-01-09 09:17:08 +08:00
Hongze Cheng
a881103c86 more code 2025-01-08 18:13:10 +08:00
Shengliang Guan
37eb686d7c
Merge pull request #29502 from taosdata/fix/main/TD-33457
Fix(cfg): resolve dynamic configuration update failure after rolling …
2025-01-08 17:31:13 +08:00
Hongze Cheng
00b0a46060 enh: add strict message check for submit message 2025-01-08 17:29:32 +08:00
wangmm0220
ba9892bae0 fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL 2025-01-08 16:50:38 +08:00
xiao-77
77359f26b3 Fix(cfg): resolve dynamic configuration update failure after rolling upgrade to 3.3.5.0 2025-01-07 15:26:01 +08:00
Hongze Cheng
bb01c4d763 fix: compile issue 2025-01-07 15:13:26 +08:00
Hongze Cheng
4587beb849 fix: meta entry snapshot problem for old version 2025-01-07 14:09:29 +08:00
Shengliang Guan
b81ade633f
Merge pull request #29478 from taosdata/fix/TD-33440-3.0m
fix: eliminate duplicated read locks in one thread
2025-01-06 13:34:19 +08:00
kailixu
c69215576d fix: eliminate duplicated read locks in one thread 2025-01-03 19:00:06 +08:00
Hongze Cheng
55a27061da fix: possible snapshot.py fail 2025-01-03 15:51:59 +08:00
Shengliang Guan
0bbbab1bfa
Merge pull request #29447 from taosdata/fix/tag
fix(stream): fix dead-lock caused by invalid repeatly unlock.
2025-01-02 14:02:35 +08:00
Haojun Liao
055441d8fb fix(stream): fix dead-lock caused by invalid repeatly unlock. 2025-01-02 09:55:05 +08:00
wangmm0220
85aad90d3a fix:[TD-33396]add log for tmq 2024-12-31 11:22:56 +08:00
wangmm0220
b63787aa09 fix:[TD-33396]add log for tmq 2024-12-30 17:23:11 +08:00
Shengliang Guan
e53600fee2
Merge pull request #29380 from taosdata/fix/tag
fix(stream): check if the altered tag value table
2024-12-29 22:16:11 +08:00
Haojun Liao
a73ad9642a fix(stream): check if the altered tag value table should be added into stream/tq scan table list. 2024-12-28 21:25:40 +08:00
Hongze Cheng
a72c46a7fc more cases 2024-12-27 17:44:05 +08:00
Shengliang Guan
912fcb13bf
Merge pull request #29351 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-12-27 09:06:35 +08:00
Shengliang Guan
bc17e0aa9a
Merge pull request #29328 from taosdata/fix/TS-5812-main
fix[TS-5812]:add params check
2024-12-26 11:35:06 +08:00
54liuyao
f6500b3551 ci(test):delete invalid code&& add ci 2024-12-26 11:16:02 +08:00
Shengliang Guan
173e6191f3
Merge pull request #29331 from taosdata/fix/fixMetaDeadlock
fix dead lock
2024-12-26 10:04:12 +08:00
yihaoDeng
ae168b2560 fix dead lock 2024-12-25 19:14:52 +08:00
wangmm0220
25dc5d7b5c fix[TS-5812]:add params check 2024-12-25 17:53:34 +08:00
wangmm0220
a95304a857 fix[TS-5812]:add params check 2024-12-25 11:59:48 +08:00
dmchen
0da606c7fb show code 2024-12-24 12:14:47 +00:00
Hongze Cheng
a89dd27ec1
Merge pull request #29309 from taosdata/enh/TD-33263-3.0-1
ehn: remove useless code
2024-12-24 20:03:08 +08:00
Hongze Cheng
91a9bc30e2
Merge pull request #29228 from taosdata/fix/TD-33284-compact-coverage
Fix/td 33284 compact coverage
2024-12-24 19:01:42 +08:00
Hongze Cheng
b32f05bb7c ehn: remove useless code 2024-12-24 18:28:37 +08:00
Shengliang Guan
3c807c59af
Merge pull request #29302 from taosdata/merge/mainto3.0
merge: from main to 3.0
2024-12-24 17:45:15 +08:00
Shengliang Guan
8e5d6d1acd
Merge pull request #29293 from taosdata/fix/code_error
fix:error rewrite if terrno is not 0
2024-12-24 13:35:00 +08:00
wangmm0220
20c1e28d0c fix:[TD-33272]add test case 2024-12-24 10:08:02 +08:00
wangmm0220
f9976c75ef fix:error rewrite if terrno is not 0 2024-12-24 09:54:05 +08:00
wangmm0220
e65a3802a2 fix:[TD-33272]add test case 2024-12-24 09:21:09 +08:00
Haolin Wang
493a23a480 fix: free unallocated memory in tsdbRowClose() 2024-12-24 08:38:35 +08:00
wangmm0220
4b62a9a587 fix:[TD-33272]add test case 2024-12-23 19:30:36 +08:00
wangmm0220
6244712887 fix:[TD-33272]add test case 2024-12-23 18:12:47 +08:00
wangmm0220
1d29d52662 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-33272 2024-12-23 16:17:30 +08:00
wangmm0220
a1e20680f7 fix:[TD-33272]add test case 2024-12-23 15:57:49 +08:00
Jinqing Kuang
4f71d4a3f5 enh(query)[TD-33268]. add unit tests to increase test coverage 2024-12-22 14:23:05 +08:00
Shengliang Guan
92b09f9fc7 fix: check void 2024-12-20 23:50:38 +08:00
Shengliang Guan
1a176e6e94
Merge pull request #29229 from taosdata/enh/TS-5749-3.0
enh: seperate tsdb async tasks to different thread pools
2024-12-20 17:57:23 +08:00
wangmm0220
d927e8c31a fix:[TD-33272]refactor code 2024-12-20 16:50:49 +08:00
dmchen
9715bb59fe fix/TD-33294-compact-coverage-fix-case 2024-12-20 11:33:26 +08:00
Hongze Cheng
8b77ac9a03 fix: windows compile issue 2024-12-20 08:41:41 +08:00
Hongze Cheng
288dc33f97 enh: seperate tsdb async tasks to different thread pools 2024-12-19 17:48:11 +08:00
Minglei Jin
e389583334 fix num ptr crash 2024-12-19 15:20:25 +08:00
Hongze Cheng
18fb01264d change some apis 2024-12-19 14:51:21 +08:00
Minglei Jin
8f5d5e7b59 fix(tsdb/cache del): remove commit w.r.t del 2024-12-19 13:47:21 +08:00
wangmm0220
c7615868b0 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-32166 2024-12-18 17:37:02 +08:00
Shengliang Guan
988f30f255 Merge remote-tracking branch 'origin/main' into merge/mainto3.0 2024-12-17 23:49:35 +08:00
kailixu
53645e86e1 enh: compile problem in release mode 2024-12-17 09:47:08 +00:00
Shengliang Guan
c7a05b0798
Merge pull request #29169 from taosdata/fix/query.remain
fix: query remain issues
2024-12-17 15:27:19 +08:00
kailixu
9fd2d86ae3 enh: memory safe function 2024-12-17 07:11:16 +00:00
Shengliang Guan
9becb9ca5a
Merge pull request #29041 from taosdata/enh/TD-29367-3.0
Enh/TD-29367-3.0
2024-12-16 21:33:20 +08:00
Shengliang Guan
7e2a6f1686
Merge pull request #29129 from taosdata/fix/TD-33191
fix(tsdb/cache): fix invalid param caused by column mismatching
2024-12-16 19:04:56 +08:00
dapan1121
7be31eea30 fix: query remain issues 2024-12-16 18:40:27 +08:00
Hongze Cheng
169bb122e6 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-16 17:35:44 +08:00
Hongze Cheng
fe84704bdb Merge branch 'enh/TD-29367-3.0-cache' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-16 17:35:35 +08:00
Hongze Cheng
dc883e95ce fix: ci problem 2024-12-16 17:35:04 +08:00
Minglei Jin
7aacaf580e meta/tsdb cache: add/drop column with supertables 2024-12-16 11:27:27 +08:00
Minglei Jin
5b6136ec82 fix(meta/tsdb cache): fix drop sub tables for super table 2024-12-16 11:00:51 +08:00
Hongze Cheng
a2506e4a90 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-16 11:00:10 +08:00
Hongze Cheng
a0cae0ddca more code 2024-12-16 10:59:55 +08:00
Minglei Jin
7e6ffb12a8 Merge branch '3.0' into fix/TS-4937-2 2024-12-16 08:43:37 +08:00
Shengliang Guan
90272cf0c7
Merge pull request #29133 from taosdata/enh/TD-32403-3.0
enh: [TD-32403] replace unsafe functions
2024-12-15 18:11:25 +08:00
Minglei Jin
d18caf6606
Merge branch '3.0' into fix/TS-4937-2 2024-12-15 13:23:17 +08:00
Shengliang Guan
e8fcf16b89
Merge pull request #29138 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-12-15 12:08:55 +08:00
Hongze Cheng
2b4046ecf8 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-15 11:28:37 +08:00
Hongze Cheng
72abbd0e5b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-32403-3.0 2024-12-15 11:25:48 +08:00
Hongze Cheng
5cac78d10b fix: compile issue 2024-12-14 20:00:09 +08:00
Shengliang Guan
ea96f51ba2 Merge branch '3.0' into merge/mainto3.0 2024-12-14 18:24:39 +08:00
Shengliang Guan
9c15eb7b3b Merge branch 'main' into merge/mainto3.0 2024-12-14 18:20:51 +08:00
Hongze Cheng
389f545a53 more code 2024-12-14 18:06:50 +08:00
Hongze Cheng
161081a0a2 feat: add drop tag index of super table feature 2024-12-14 17:21:17 +08:00
Hongze Cheng
582a40874f feat: replace add index 2024-12-14 17:08:44 +08:00
Hongze Cheng
bdaa3228a2 fix: CI case 2024-12-14 13:12:40 +08:00
Hongze Cheng
b6b9c65b99 more code 2024-12-13 20:59:39 +08:00
Hongze Cheng
7905c80fd4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 18:12:53 +08:00
Minglei Jin
7e7572cd8a not update auxiliaried ts to none 2024-12-13 17:44:26 +08:00
Hongze Cheng
b2181b4282 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-13 16:48:06 +08:00
Hongze Cheng
a6463884f0 more code 2024-12-13 16:47:05 +08:00
Hongze Cheng
921704e043 more code 2024-12-13 15:28:15 +08:00
Hongze Cheng
cc4a6608df Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-32403-3.0 2024-12-13 15:03:09 +08:00
Hongze Cheng
dea8d6fd62 fix some code 2024-12-13 15:03:01 +08:00
Shengliang Guan
3f6ddbcf48
Merge pull request #29124 from taosdata/feat/TD-30268
feat: support query memory pool
2024-12-13 14:37:42 +08:00
Hongze Cheng
8bf5f3f62b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 13:54:45 +08:00
Hongze Cheng
8525df81a8 fix: update table column compress 2024-12-13 12:27:40 +08:00
Hongze Cheng
95130d2cac feat: update table options 2024-12-13 12:20:08 +08:00
Hongze Cheng
13a4dcbc53 more code 2024-12-13 12:00:27 +08:00
Minglei Jin
9da0de4d5f fix(tsdb/cache): fix invalid param caused by column mismatching 2024-12-13 11:54:28 +08:00
Hongze Cheng
1247fb614c free resources 2024-12-13 10:49:25 +08:00
Hongze Cheng
69efdda495 fix: compile error 2024-12-13 08:48:30 +08:00
Hongze Cheng
8c7b8a8afa feat: refact alter child table tag 2024-12-12 20:33:55 +08:00
Hongze Cheng
3aebca5404 feat: update table column name 2024-12-12 19:05:39 +08:00
Hongze Cheng
823f3b2137 fix: ci case 2024-12-12 18:51:10 +08:00
Hongze Cheng
ff0389d8d9 drop table column 2024-12-12 17:19:06 +08:00
Jinqing Kuang
8605f1c32a fix(query)[TD-33181]. reset error code when retry in vnodeGetBufPoolToUse 2024-12-12 16:56:57 +08:00
Hongze Cheng
9ce7d0e986 fix: ci cases 2024-12-12 16:38:55 +08:00
Pan Wei
d5aa88165d
Merge branch '3.0' into feat/TD-30268 2024-12-12 13:41:59 +08:00
dapan1121
ca15163215 Merge remote-tracking branch 'origin' into feat/TD-30268 2024-12-12 11:41:00 +08:00
Hongze Cheng
01ceb2e90b more code 2024-12-12 11:27:34 +08:00
Hongze Cheng
b1c480afd1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-12 11:26:19 +08:00
Kaili Xu
bad8d9dd2f
Merge branch '3.0' into enh/TD-32406-3.0 2024-12-12 10:32:31 +08:00
Hongze Cheng
2e4f435467 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-12 08:42:58 +08:00
Hongze Cheng
3ede729a7c feat: replace drop super table api 2024-12-12 08:42:48 +08:00
Hongze Cheng
2763c81f45 fix: memory problem 2024-12-11 21:15:58 +08:00
Shengliang Guan
ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
Shengliang Guan
3fc511c128
Merge pull request #29079 from taosdata/fix/TD-32405
enh(meta): use memory safe functions
2024-12-11 19:29:00 +08:00
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
Hongze Cheng
982c0665f5 more code 2024-12-11 18:47:47 +08:00
Minglei Jin
ab10a1815d fix iColHash null condition 2024-12-11 17:20:16 +08:00
Minglei Jin
f676926188 tests/script/api: last query with websocket 2024-12-11 17:18:58 +08:00
Shengliang Guan
448745754c
Merge pull request #29065 from taosdata/fix/create-db-log-and-return-code
fix/create-db-log-and-return-code
2024-12-11 17:18:42 +08:00
Hongze Cheng
4922cade44 feat: refact drop super table 2024-12-11 17:04:26 +08:00
kailixu
f48e0727e6 enh: use memory safe functions 2024-12-11 16:40:11 +08:00
Hongze Cheng
e853de4d3f fix: typo 2024-12-11 16:06:56 +08:00
Hongze Cheng
fd858372f6 more code 2024-12-11 15:44:42 +08:00
Minglei Jin
71d27a369b use check exit instead of goto 2024-12-11 14:36:35 +08:00
Minglei Jin
acfd94c123 tsdb/cache: remove block cache of rocks 2024-12-11 11:39:59 +08:00
Minglei Jin
fd29d6ad44 Merge branch '3.0' into fix/TS-4937-2 2024-12-11 11:20:28 +08:00
Hongze Cheng
82188ded46 fix: ci case 2024-12-11 09:29:55 +08:00
Hongze Cheng
02ceb83314 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-10 20:54:59 +08:00
kailixu
eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
wangmm0220
7f6e0c5980 feat:[TD-32166] fix conflicts from 3.0 2024-12-10 15:09:09 +08:00
wangmm0220
bea48dfe98 feat:[TD-32166] check input params for tmq 2024-12-10 14:45:45 +08:00
WANG MINGMING
4a3eda51e0
Merge branch '3.0' into feat/TD-32642 2024-12-10 14:11:47 +08:00
Minglei Jin
1c7ff36dd0 meta: use tstrncpy instead of strcpy 2024-12-10 13:46:00 +08:00
Minglei Jin
92f41ef5c5 enh(meta): use memory safe functions 2024-12-10 11:15:41 +08:00
Hongze Cheng
4ba185fbfe Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-10 08:41:26 +08:00
Hongze Cheng
71d4274b6b fix: memory leak 2024-12-10 08:41:16 +08:00
Hongze Cheng
4458956f6a fix: check return code 2024-12-09 19:16:42 +08:00
Shengliang Guan
b99f32b8f0 Merge branch '3.0' into merge/mainto3.0 2024-12-09 19:06:11 +08:00
Shengliang Guan
e99b888654 Merge branch 'main' into merge/mainto3.0 2024-12-09 19:06:06 +08:00
Hongze Cheng
57f16a6f24 more code 2024-12-09 18:28:29 +08:00
Hongze Cheng
f549bbdeb2 fix: ci cases 2024-12-09 15:09:10 +08:00
yihaoDeng
abc4a3768f opt code 2024-12-09 14:48:21 +08:00
yihaoDeng
32b5ec1da7 opt code 2024-12-09 14:35:12 +08:00
yihaoDeng
b5642faef5 Merge remote-tracking branch 'origin/main' into enh/useSafySysFunc 2024-12-09 13:46:45 +08:00
Minglei Jin
f0c997cf80 remove block cache for rocksdb 2024-12-09 11:36:37 +08:00
Minglei Jin
f61dbfc459 Merge branch '3.0' into fix/TS-4937-2 2024-12-09 11:32:37 +08:00
dmchen
42e0d1fc81 fix/create-db-log-and-return-code 2024-12-09 10:42:24 +08:00
Hongze Cheng
5c8ce60dd0 more code 2024-12-08 16:54:30 +08:00
Hongze Cheng
9bfdbca110 fix: CI problem 2024-12-06 18:29:01 +08:00
dapan1121
d77147d296 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-06 17:43:19 +08:00
Minglei Jin
b3f0b2aa35 fix schema sver updating 2024-12-06 17:27:53 +08:00
Hongze Cheng
76d36ab9fb more code 2024-12-06 16:20:53 +08:00
Minglei Jin
20e4e7cd71 fix skyline init 2024-12-06 15:09:45 +08:00
Hongze Cheng
4804ff63cc fix: more code 2024-12-06 14:46:38 +08:00
Minglei Jin
ec0d8409a3 fix ci issues 2024-12-06 14:25:11 +08:00
Haojun Liao
05bfb61ec0 Merge branch 'main' into fix/liaohj 2024-12-06 14:11:54 +08:00
kailixu
f8343dcaac chore: merge 3.0 and update test case of show_create_db.py 2024-12-06 11:09:22 +08:00
Haojun Liao
43ad35f911 refactor: adjust the lock procedure for unregister stream tasks. 2024-12-06 09:20:39 +08:00
Haojun Liao
406e877700 fix(stream): send chkpt-source rsp to mnd even if it is failed. 2024-12-06 00:11:51 +08:00
wangmm0220
0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
Minglei Jin
d88e8d297a release simple hash 2024-12-05 18:35:15 +08:00
Minglei Jin
2b062ed146 tsdb/cache: merge lru with mem 2024-12-05 17:13:59 +08:00
dmchen
302758db1b fix/skip-trim-during-restore 2024-12-05 17:08:18 +08:00
Hongze Cheng
60ffaddc92 fix: CI issue 2024-12-05 16:57:25 +08:00
yihaoDeng
c5c56606c4 use safe sys func 2024-12-05 16:35:45 +08:00
Hongze Cheng
a51be1cee3 fix: invalid logic 2024-12-05 14:50:00 +08:00
Hongze Cheng
96b9e3d20e fix error 2024-12-05 13:41:54 +08:00
Hongze Cheng
98c7111f13 fix: compile issue 2024-12-04 19:28:35 +08:00
Hongze Cheng
23fb0fcc24 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-04 17:39:41 +08:00
Hongze Cheng
3e06712493 refact: create super table code 2024-12-04 17:39:28 +08:00
Minglei Jin
65e6c04a2d tsdb/cache: iterator for mem row 2024-12-04 14:14:54 +08:00
yihaoDeng
215208a985 Replace unsafe memory functions with safe versions 2024-12-04 13:35:11 +08:00
Minglei Jin
a0509ab93d tsdb/cache: framework for merging lru & mem 2024-12-04 09:57:15 +08:00
Haojun Liao
3847ed2dc9 refactor: 1) adjust wal scan interval to be 500ms, 2) record the checkpointVer to be timestamp for force_window_close, 3) do some other internal refactor. 2024-12-04 09:43:51 +08:00
kailixu
92471c5834 feat: add time range list for auto compact 2024-12-03 17:51:41 +08:00
Hongze Cheng
8120765b24 Make a copy of old code 2024-12-03 17:00:37 +08:00
Hongze Cheng
cc1da2ebc7 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-03 16:39:52 +08:00
kailixu
583c4e8bb6 Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 15:28:19 +08:00
Hongze Cheng
3d2a5be1b6 more code 2024-12-03 15:20:27 +08:00
Hongze Cheng
25b9de5d51 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-03 14:32:03 +08:00
kailixu
c47cbc42cc Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 07:04:13 +08:00
yihaoDeng
3d92cbb691 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-12-02 19:05:33 +08:00
Hongze Cheng
0e1d731954 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-02 17:29:37 +08:00
Shengliang Guan
fb8a10e717
Merge pull request #28958 from taosdata/fix/TD-33037
fix(meta/commit): make begin return code instead of 0
2024-12-02 16:43:02 +08:00
kailixu
a157caa38d enh: process log rotate every 30 minutes 2024-11-29 18:57:09 +08:00
Minglei Jin
451093188d tsdb/cache: remove uid array when loading from imem 2024-11-29 15:47:49 +08:00
Minglei Jin
d20ef164b3 Merge branch '3.0' into fix/TS-4937-2 2024-11-29 15:15:09 +08:00
Hongze Cheng
9f6f82ff98 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-29 15:10:27 +08:00
yihaoDeng
e495d39220 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-29 13:50:09 +08:00
Shengliang Guan
fb4486cedb Merge branch 'main' into merge/mainto3.0 2024-11-28 19:21:25 +08:00
yihaoDeng
95a1005e1f update test case and remove invalid code 2024-11-28 15:09:20 +08:00
Shengliang Guan
ab604c18f9
Merge pull request #28925 from taosdata/feat/updateMultiTag
Feat/updateMultiTag
2024-11-28 14:24:23 +08:00
dapan1121
90b60d9d01 fix: scheduler timer stop issue 2024-11-28 13:56:27 +08:00
Minglei Jin
cd22ddbdd2 fix(meta/commit): make begin return code instead of 0 2024-11-28 10:53:23 +08:00
Minglei Jin
c60b6d9912 tsdb/cache: close col iter early 2024-11-28 10:44:24 +08:00
Shengliang Guan
26ba4b1f29 Merge branch '3.0' into merge/mainto3.0 2024-11-27 22:32:50 +08:00
Shengliang Guan
6db8a25c98 Merge branch 'main' into merge/mainto3.0 2024-11-27 22:31:17 +08:00
Hongze Cheng
df8a4ea6dc more code 2024-11-27 18:49:48 +08:00
Hongze Cheng
3ae5a72a4c more code 2024-11-27 17:53:53 +08:00
Shengliang Guan
642a5152f7
Merge pull request #28900 from taosdata/fix/liaohj
fix(stream): check whether dispatch trigger block is expired or not
2024-11-27 15:47:47 +08:00
Haojun Liao
5e49268cd8 Merge branch 'main' into fix/liaohj 2024-11-27 15:44:53 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
yihaoDeng
221eac50ca refactor code 2024-11-27 09:28:01 +08:00
yihaoDeng
a84a849ef7 add test case 2024-11-27 09:12:17 +08:00
yihaoDeng
2aac26e0a9 fix partial failure 2024-11-27 07:56:24 +08:00
yihaoDeng
e87570c036 fix invalid free 2024-11-26 20:50:37 +08:00
Hongze Cheng
9ec73f6ca6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-26 13:23:54 +08:00
Shengliang Guan
135131fb3a
Merge pull request #28921 from taosdata/fix/TD-33008-main
fix(query)[TD-33008]. fix error handling in tsdbCacheRead
2024-11-26 11:56:41 +08:00
Shengliang Guan
7e8ef8ed98
Merge pull request #28920 from taosdata/fix/TD-33008-3.0
fix(query)[TD-33008]. fix error handling in tsdbCacheRead
2024-11-26 11:56:32 +08:00
Shengliang Guan
c8c208be2f
Merge pull request #28918 from taosdata/fix/TD-33006-3.0
fix(query)[TD-33006]. resolve wild pointer release issue in tsdbCreateReader
2024-11-26 11:55:28 +08:00
Minglei Jin
12b0e70a22 tsdb/cache: use macro to check error code 2024-11-25 16:43:42 +08:00
Hongze Cheng
9bac4f4da2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-25 16:39:22 +08:00
Shengliang Guan
ed3cc87575
Merge pull request #28851 from taosdata/ehn/vnode-open-log
ehn/vnode-open-log
2024-11-25 16:07:24 +08:00
Hongze Cheng
ef2e694a36 more code 2024-11-25 16:05:32 +08:00
Minglei Jin
65698470b7 cache/row iter close: move close to cleanup section 2024-11-25 16:02:58 +08:00
Minglei Jin
270e9f0bcf tsdb/cache: Not lazy init ctxArray 2024-11-25 15:55:40 +08:00
yihaoDeng
4d857b0149 fix mem leak 2024-11-25 15:22:53 +08:00
Jinqing Kuang
513ccaaad8 fix(query)[TD-33008]. fix error handling in tsdbCacheRead
Fix an issue that a freed null pointer was accessed during error
handling in tsdbCacheRead, which would cause a crash.
2024-11-25 15:11:53 +08:00
Jinqing Kuang
7bbda0c92a fix(query)[TD-33008]. fix error handling in tsdbCacheRead
Fix an issue that a freed null pointer was accessed during error
handling in tsdbCacheRead, which would cause a crash.
2024-11-25 15:09:11 +08:00
Jinqing Kuang
ab7badb0c0 fix(query)[TD-33006]. resolve wild pointer release issue in tsdbCreateReader
Initialize pointer member variables in tsdbCreateReader to prevent
random memory errors. It addresses a bug where uninitialized pointers
are freed during error cleanup.
2024-11-25 15:01:49 +08:00
Jinqing Kuang
fbc77d1e71 fix(query)[TD-33006]. resolve wild pointer release issue in tsdbCreateReader
Initialize pointer member variables in tsdbCreateReader to prevent
random memory errors. It addresses a bug where uninitialized pointers
are freed during error cleanup.
2024-11-25 14:58:42 +08:00
yihaoDeng
97e08abe8c support update multi tag 2024-11-25 10:55:28 +08:00
yihaoDeng
3027e377fa support update multi tag 2024-11-23 22:18:30 +08:00
Haojun Liao
d397c9a9b7 fix(stream): remove failed task in hash table and array list. 2024-11-22 19:22:37 +08:00
yihaoDeng
407eeb6620 Unable to 2024-11-22 14:43:11 +08:00
Hongze Cheng
4d6faa8f13 enh: (TD-29367-2) add a new meta handle function called metaHandleEntry2 2024-11-21 16:09:55 +08:00
Hongze Cheng
8991e50eee enh: (TD-29367-1)Add delete entry encode and decode 2024-11-21 15:52:20 +08:00
Shengliang Guan
ba15fb0644 Merge branch '3.0' into merge/mainto3.0 2024-11-21 11:04:36 +08:00
Shengliang Guan
cfa7d275f2 Merge branch 'main' into merge/mainto3.0 2024-11-21 11:00:00 +08:00
Shengliang Guan
e8d663809d
Merge pull request #28756 from taosdata/fix/main/tsbs_perf_optimization
fix tsbs perf issue
2024-11-21 10:40:47 +08:00
dapan1121
2738d5dd9c fix: code merge issue 2024-11-21 10:30:16 +08:00
dapan1121
164fa67db5 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-21 10:23:57 +08:00
Minglei Jin
4113921448 Merge branch '3.0' into fix/TS-4937-2 2024-11-20 18:41:24 +08:00
Minglei Jin
7947b94b03 tsdb/commit: update lru from imem 2024-11-20 18:40:49 +08:00
dmchen
a7fdabb6d7 ehn/vnode-open-log 2024-11-20 17:27:35 +08:00
wangjiaming0909
9314dfb80c fix not setting step in tsdbread 2024-11-20 14:29:27 +08:00
Minglei Jin
ffab4e8886 tsdb/cache: get first row from imem 2024-11-19 14:36:16 +08:00
Shengliang Guan
a4b6d9dee0
Merge pull request #28797 from taosdata/enh/TD-32907-3.0
enh: add bypassFlag to facilitate performance testing
2024-11-19 14:24:09 +08:00
Shengliang Guan
99bebacd8e
Merge pull request #28784 from taosdata/fix/TD-32861-main
fix(query)[TD-32861]. fix that WHERE condition not work in statements with INTERP function
2024-11-19 09:40:28 +08:00
Shengliang Guan
6044bb06f1
Merge pull request #28793 from taosdata/fix/main/TD-32883
remove duplicate group by cols
2024-11-18 19:32:16 +08:00
kailixu
3ebb664953 enh: add bypassFlag to facilitate performance testing 2024-11-18 18:12:39 +08:00
Jinqing Kuang
f5c66cec19 fix(query)[TD-32861]. fix that WHERE condition not work with INTERP function
Previously, a statement with INTERP would force underlying TABLE SCAN
operator to scan all data within the RANGE clause, causing the time
range constraint in the WHERE condition to be ignored. This fix ensures
that the TABLE SCAN respects both the RANGE clause and WHERE condition,
improving query accuracy and performance.
2024-11-18 16:08:27 +08:00
kailixu
3225c381e2 enh: add bypassFlag to facilitate performance testing 2024-11-18 15:41:08 +08:00
wangjiaming0909
6c18289de0 fix tsbs perf issue 2024-11-18 14:11:21 +08:00
kailixu
748c7f9cf2 enh: add bypassFlag to facilitate performance testing 2024-11-15 19:26:12 +08:00
wangjiaming0909
2be0ca15d8 fix group_partition test 2024-11-15 18:10:44 +08:00
Minglei Jin
66535adb70 tsdb/cache: update lru when committing 2024-11-15 17:04:22 +08:00
Hongze Cheng
0c45c80d71 enh: add dangle child table filter in recovery mode 2024-11-15 14:26:53 +08:00
Haojun Liao
b74a1bc726 refactor: update logs, and set correct vgId. 2024-11-15 13:48:42 +08:00
Haojun Liao
fd1996a1d1 fix(stream): fix error in build msg. 2024-11-15 01:27:31 +08:00
Haojun Liao
f65651f6ef fix(stream): update the msg encoder. 2024-11-15 00:19:35 +08:00
yihaoDeng
42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
Haojun Liao
c9a120e1d0 Merge branch '3.0' into fix/3_liaohj 2024-11-14 17:42:04 +08:00
Haojun Liao
b2b5a14d9d fix(stream): reset task add the failed chkptId info. 2024-11-14 17:38:40 +08:00
Shengliang Guan
b88088792e
Merge pull request #28752 from taosdata/fix/liaohj
fix(stream): always return success for resume req.
2024-11-14 15:58:03 +08:00
Shengliang Guan
a1f3b0a1ed
Merge pull request #28758 from taosdata/fix/3_liaohj
refactor: return the error code and do some refactor.
2024-11-14 15:57:51 +08:00
Minglei Jin
e3f57a1678 tsdb/cache: reuse update ctx array 2024-11-14 10:34:19 +08:00
Shengliang Guan
80b7cbdb84 Merge branch '3.0' into merge/mainto3.0 2024-11-13 23:11:05 +08:00
Haojun Liao
3b129f7e36 fix(stream): alwasy return success for resume req. 2024-11-13 19:35:01 +08:00
Haojun Liao
67a547f65a fix(stream): alwasy return success for resume req. 2024-11-13 13:46:23 +08:00
yihaoDeng
11064d43e6 support disk usage 2024-11-11 18:16:41 +08:00
Jinqing Kuang
b4e0f9a922 enh(query)[TD-32127]: improve code quality of tsdbRead module
- Add parameter validation for functions to ensure robustness
- Nullify pointers when freeing memory to prevent dangling pointers
- Initialize local variables to avoid undefined behavior
- Add error handling and logging for better debugging
2024-11-11 11:53:28 +08:00
dapan1121
a8561fba4f Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-11 11:01:22 +08:00
dapan1121
411d61504f fix: remove taosMem calling 2024-11-11 09:09:40 +08:00
dapan1121
371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +08:00
wangjiaming0909
274a7fd876 refine unused codes 2024-11-08 09:50:32 +08:00
wangjiaming0909
2ddd07142a remove logs 2024-11-08 09:50:32 +08:00
wangjiaming0909
a70b4e28c8 fix tests 2024-11-08 09:50:30 +08:00
wangjiaming0909
9a92c136ce fix drop child table with tsma 2024-11-08 09:47:47 +08:00
wangjiaming0909
65dffbda0c fix tsma drop ctb 2024-11-08 09:47:04 +08:00
wangjiaming0909
413cf3e504 sink submit data one-by-one 2024-11-08 09:42:59 +08:00
54liuyao
f452ca47fe delete window state when drop table 2024-11-08 09:42:56 +08:00
wangjiaming0909
a5a3d1d8ad fix same timestamp written into same tsma res ctb 2024-11-08 09:40:06 +08:00
yihaoDeng
4f9c9a15db support disk usage 2024-11-07 20:20:44 +08:00
Hongze Cheng
6c487c3f48
Merge pull request #28472 from taosdata/enh/TD-31867-main
enh: add more log for last cache retrieve
2024-11-07 19:46:46 +08:00
yihaoDeng
8c56a75f4f support disk usage 2024-11-07 17:09:57 +08:00
yihaoDeng
12beff2a0a support disk usage 2024-11-06 21:22:26 +08:00
yihaoDeng
a6436882a2 support disk usage 2024-11-06 15:25:50 +08:00
54liuyao
719a3faa12 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-06 11:13:15 +08:00
54liuyao
ba31bf2c52 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-06 09:42:50 +08:00
Shengliang Guan
0be118c0aa
Merge pull request #28408 from taosdata/enh/TD-32181/client
Enh/td 32181/client
2024-11-06 09:42:05 +08:00
yihaoDeng
af80d0a6bf opt disk 2024-11-05 20:05:54 +08:00
yihaoDeng
dc576905f0 support disk usage 2024-11-05 19:57:13 +08:00
Shungang Li
e3beccbde1 enh: add more log for last cache retrieve 2024-11-05 13:49:38 +08:00
Haojun Liao
8148f26d30
Merge branch '3.0' into fix/ref 2024-11-05 10:50:28 +08:00
54liuyao
158eda13f9 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-31 17:49:58 +08:00
Shungang Li
2879fafc1c fix: typo issue 2024-10-31 14:54:01 +08:00
Haojun Liao
b1ad121bae fix(stream): release task before returning. 2024-10-31 14:49:16 +08:00
Shungang Li
fde2a56076 enh: tsdbCacheRowFormatUpdate check for memory funcs 2024-10-31 11:47:32 +08:00
xsren
73be7ddbc6 fix: set tablefield of stream block to NULL 2024-10-30 19:38:08 +08:00
Shungang Li
84b17a144b Merge branch 'fix/TS-4937' into fix/TD-32338-3.0 2024-10-30 16:33:09 +08:00
Shungang Li
6da22e6483 enh: tsdb cache schema 2024-10-30 16:13:27 +08:00
54liuyao
b6d16eccdb Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-30 14:54:42 +08:00
Shengliang Guan
ea9ed2e538
Merge pull request #28300 from taosdata/enh/TS-5441-3.0
enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info
2024-10-30 13:43:41 +08:00
Minglei Jin
d8df6db06a fix schema update with sver param 2024-10-30 10:23:32 +08:00
54liuyao
d065d71821 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-30 10:09:48 +08:00
Shengliang Guan
c026f26289
Merge pull request #28546 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-10-30 08:57:21 +08:00
Haojun Liao
9bae0adba6 fix(stream): start scheduler task after set the refId. 2024-10-29 19:14:37 +08:00
Minglei Jin
6b67c2ebf0 uncomment tsdb cache commit 2024-10-29 15:07:13 +08:00
Minglei Jin
e364d5aa66 tsdb/cache: invalidate cached schema 2024-10-29 14:41:14 +08:00
Minglei Jin
cf3e84e79d tsdb/cache: cache schema to reuse 2024-10-29 12:25:25 +08:00
yihaoDeng
b523cf8802 fix:conflicts from 3.0 2024-10-28 17:34:20 +08:00
Shungang Li
d34fc78a22 fix: (last) eliminate redundant logs caused by incorrect return results 2024-10-28 11:18:06 +08:00
Haojun Liao
51f3f29d5b fix(stream): fix syntax check failure. 2024-10-27 21:52:46 +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
xinsheng Ren
412c10ed94
Merge branch '3.0' into enh/TD-32181/client 2024-10-25 22:54:04 +08:00
54liuyao
f79dcffc8c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-25 14:14:43 +08:00
Minglei Jin
3795f9cd13 fix(vnode/commit): fix sync commit log output 2024-10-25 10:26:15 +08:00
54liuyao
cea454b002 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-24 19:24:55 +08:00
dapan1121
4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
Shengliang Guan
f59f3901c0 Merge remote-tracking branch 'origin/main' into merge/3340 2024-10-24 10:16:26 +08:00
Shengliang Guan
81c30ab7c0 fix: format cmake file 2024-10-24 10:10:07 +08:00
xsren
f35d2847b9 enh: blockencode 2024-10-23 13:51:46 +08:00
xsren
d01a3481bc block buf len check 2024-10-23 13:51:46 +08:00
dmchen
bf2261bcff fix/TD-32621-add-log 2024-10-23 03:40:40 +00:00
Shungang Li
0c4e863b56 fix: (last) iterator of nextRowIterGet 2024-10-22 14:37:56 +08:00
Minglei Jin
4401b5e568 Merge branch '3.0' into feat/TS-5215-2 2024-10-21 10:48:37 +08:00
54liuyao
6a2a5b80a1 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-18 09:28:18 +08:00
wangmm0220
bc05289192 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-18 09:28:16 +08:00
Haojun Liao
d715e50d68
Merge pull request #28403 from taosdata/fix/syntax
refactor: do some internal refactor.
2024-10-17 17:19:34 +08:00
54liuyao
e825d74213 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-17 17:12:00 +08:00