Commit Graph

16667 Commits

Author SHA1 Message Date
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 1f22d43527 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-05 13:43:46 +08:00
Hongze Cheng 96b9e3d20e fix error 2024-12-05 13:41:54 +08:00
kailixu a6e86619b0 feat: database auto compact 2024-12-05 13:06:53 +08:00
xiao-77 cf5960d847 Fix mem error at mndConfig.c. 2024-12-05 10:58:56 +08:00
kailixu 615f7f395f enh: default compact start and end time if compact interval is not zero 2024-12-05 10:52:11 +08:00
kailixu a3dc026c0d feat: db auto compact 2024-12-05 10:33:51 +08:00
xiao-77 cb50b1e52c Fix some mem errors and add dmstop while verify failed. 2024-12-05 09:16:10 +08:00
Shengliang Guan ea96288654
Merge pull request #29033 from taosdata/fix/calculate-vnode-memory-used
fix/calculate-vnode-memory-used
2024-12-04 21:03:26 +08:00
kailixu f4fc423f34 feat: dispatch db auto compact 2024-12-04 20:09:04 +08:00
xiao-77 dbaa4349ea Merge branch '3.0' into enh/3.0/TS-5007 2024-12-04 19:34:14 +08:00
xiao-77 eb202e556a Fix sdb lost val while kill taosd. 2024-12-04 19:32:21 +08:00
Hongze Cheng 98c7111f13 fix: compile issue 2024-12-04 19:28:35 +08:00
Haojun Liao 6bbfc1aead fix(stream): do rsp for checkpoint reqs. 2024-12-04 19:19:57 +08:00
wangmm0220 f338357477 feat:[TD-32642] add test case for charset 2024-12-04 18:50:52 +08:00
kailixu 4707149369 feat: dispatch auto compact req 2024-12-04 17:50:17 +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
kailixu fa3b212980 Merge branch 'feat/TS-4994-3.0' into feat/TS-4994-3.0-auto_compact 2024-12-04 15:47:33 +08:00
kailixu fb029944a4 feat: auto compact options for db 2024-12-04 15:46:42 +08:00
Minglei Jin 65e6c04a2d tsdb/cache: iterator for mem row 2024-12-04 14:14:54 +08:00
Shengliang Guan 178a95542a
Merge pull request #29016 from taosdata/enh/TD-30933-3.0
enh(log): specify log output and process log rotate periodically
2024-12-04 14:00:53 +08:00
yihaoDeng 215208a985 Replace unsafe memory functions with safe versions 2024-12-04 13:35:11 +08:00
Hongze Cheng b2eded387f Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-04 13:31:50 +08:00
kailixu 77418f154a feat: db options for auto compact 2024-12-04 10:49:33 +08:00
Minglei Jin a0509ab93d tsdb/cache: framework for merging lru & mem 2024-12-04 09:57:15 +08:00
dmchen 495e224319 fix/calculate-vnode-memory-used 2024-12-04 09:49:52 +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
Hongze Cheng 121e99dd77 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-04 09:05:46 +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
Shengliang Guan 704a395134 Merge branch '3.0' into merge/mainto3.0 2024-12-03 15:52:10 +08:00
Shengliang Guan 84ea0f1ddd Merge branch 'main' into merge/mainto2.0 2024-12-03 15:50:18 +08:00
kailixu 583c4e8bb6 Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 15:28:19 +08:00
kailixu 3e816658af chore: resolve conflicts 2024-12-03 15:27:55 +08:00
Hongze Cheng 3d2a5be1b6 more code 2024-12-03 15:20:27 +08:00
kailixu c8df537dbf log: enable log output only on linux 2024-12-03 14:52:35 +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 4f33875f16 chore: disable log output on windows platform 2024-12-03 12:25:24 +08:00
Shengliang Guan 0829d2219c
Merge pull request #28983 from taosdata/fix/liaohj
refactor: display the time window for force_window_close as the progress.
2024-12-03 11:20:29 +08:00
kailixu 60450f3e24 test: test case for log output and rotate 2024-12-03 11:13:14 +08:00
dmchen f4aedcf6fd fix/exit-fail-retry-when-follower 2024-12-03 09:58:14 +08:00
dmchen 8b1125e554 fix/exit-fail-retry-when-follower 2024-12-03 09:53:46 +08:00
kailixu c47cbc42cc Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 07:04:13 +08:00
kailixu 1e8a2ab839 test: add test case for log output 2024-12-03 07:03:53 +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
wangjiaming0909 9a01b42bc2 replace unsafe funcs 2024-12-02 16:20:40 +08:00
Shengliang Guan b0691e997b
Merge pull request #28961 from taosdata/fix/refactor-vnode-management-open-vnode
fix/refactor-vnode-management-open-vnode
2024-12-02 14:22:53 +08:00
kailixu 57afdc6612 fix: compile problem of log rotate on windows 2024-12-01 14:51:12 +08:00
Haojun Liao 67d6458254 fix: check return value. 2024-11-30 00:34:13 +08:00
kailixu a157caa38d enh: process log rotate every 30 minutes 2024-11-29 18:57:09 +08:00
wangmm0220 d52e9a1c5c feat:[TD-32642] add userApp & userIp for connection support 2024-11-29 17:59:53 +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 f7cb4b9b09 update interface 2024-11-29 14:56:29 +08:00
Haojun Liao dee5017c53 fix(stream): check return value. 2024-11-29 14:03:54 +08:00
yihaoDeng e495d39220 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-29 13:50:09 +08:00
Haojun Liao 9a9a1828c1 refactor: display the time window for force_window_close. 2024-11-29 13:47:20 +08:00
kailixu 4b2aea8100 Merge branch '3.0' into enh/TD-30933-3.0 2024-11-29 13:41:25 +08:00
kailixu b4e6e2dfa8 enh: support specify log output by -o option 2024-11-29 13:40:33 +08:00
xiao-77 bcabfa3382 Merge branch '3.0' into enh/3.0/TS-5007 2024-11-29 11:33:38 +08:00
Shengliang Guan a3f077ce99 Merge branch '3.0' into merge/mainto3.0 2024-11-28 19:22:17 +08:00
Shengliang Guan fb4486cedb Merge branch 'main' into merge/mainto3.0 2024-11-28 19:21:25 +08:00
xiao-77 e846c5e47b Fix ci errors. 2024-11-28 19:06:27 +08:00
xiao-77 8610a85878 Fix config thread leak. 2024-11-28 16:56:00 +08:00
Shengliang Guan 1c3af7500e
Merge pull request #28953 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-11-28 16:39:06 +08:00
xiao-77 e67db0f301 Add null check. 2024-11-28 15:47:14 +08:00
yihaoDeng 95a1005e1f update test case and remove invalid code 2024-11-28 15:09:20 +08:00
dmchen f4116f35f0 fix/refactor-vnode-management-open-vnode 2024-11-28 14:50:45 +08:00
Hongze Cheng 544447c724 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-28 14:50:10 +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
Shengliang Guan fb51956f0a
Merge pull request #28580 from taosdata/fix/TS-5251-add-conflict-check
fix/TS-5251-add-conflict-check
2024-11-28 13:31:01 +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
xiao-77 5416e73203 Fix some ci errors. 2024-11-28 10:22:16 +08:00
xiao-77 377461152b Fix some ci case failed. 2024-11-28 09:52:55 +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
xiao-77 4f64bae0de Fix google test case. 2024-11-27 14:59:10 +08:00
wangmm0220 0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
xiao-77 08402e60be Fix some mem errors. 2024-11-27 13:54:03 +08:00
xiao-77 90af4457ef Add func sdb set&get float. 2024-11-27 10:50:04 +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
kailixu 67924ee55b feat: support auto compact 2024-11-26 19:46:48 +08:00
xiao-77 c6e39b8286 fix heap over flow at obj str. 2024-11-26 19:23:10 +08:00
xiao-77 223e0f55c5 Fix ci error. 2024-11-26 17:05:07 +08:00
xiao-77 d778ada8f9 Add show 2024-11-26 16:08:16 +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
xiao-77 2b3dca319a Fix some ci error. 2024-11-26 10:07:00 +08:00
dmchen 6c820cc79c fix/TS-5251-add-conflict-check-add-case 2024-11-26 10:04:13 +08:00
wangmm0220 2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
xiao-77 e4416d4935 Fix mem error. 2024-11-25 19:34:48 +08:00
Haojun Liao 99cab90827 refactor: send success rsp to vnode if hb already processed. 2024-11-25 18:46:02 +08:00
xiao-77 1451cfb076 Fix ci file check error. 2024-11-25 16:45:06 +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
xiao-77 5d2bc35569 Add more log info. 2024-11-25 16:23:34 +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
xiao-77 cf8cea4c2d Merge branch '3.0' into enh/3.0/TS-5007 2024-11-25 14:47:38 +08:00
Hongze Cheng 496d9bb405 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-25 13:39:47 +08:00
yihaoDeng 97e08abe8c support update multi tag 2024-11-25 10:55:28 +08:00
xiao-77 a63c132fba Add config item alter lazy mode. 2024-11-25 10:37:12 +08:00
xiao-77 8ffa8811f5 Rename persistLocalConfig to taosPersistLocalConfig. 2024-11-25 10:24:44 +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
wangmm0220 69da972796 feat:[TD-32642] add timezone logic 2024-11-22 18:31:51 +08:00
Shengliang Guan f733583117 Merge branch 'main' into doc/internal 2024-11-22 16:30:48 +08:00
xiao-77 db67245af0 Add more dyn configs and fix vesion in mnd bug. 2024-11-22 15:57:18 +08:00
Shengliang Guan 2d13ce5105 refact: rename taos lib name 2024-11-22 15:33:55 +08:00
yihaoDeng 407eeb6620 Unable to 2024-11-22 14:43:11 +08:00
Shengliang Guan a607951115 Merge branch 'main' into merge/mainto3.0 2024-11-22 13:39:44 +08:00
Shengliang Guan 36deebdde9
Merge pull request #28873 from taosdata/fix/liaohj
fix(analytics): do some internal refactor and fix the error in parse options.
2024-11-22 09:06:13 +08:00
xiao-77 1089f323e4 Add logic to set configs while init dnode. 2024-11-21 16:43:58 +08:00
Haojun Liao e103d3963b fix(analytics): check return value. 2024-11-21 16:40:06 +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
xiao-77 f46037870d Add version control and persist. 2024-11-21 15:34:32 +08:00
Haojun Liao af1c0c98bb fix(analytics): do some internal refactor and fix the error in parse the option string. 2024-11-21 15:14:37 +08:00
xiao-77 6b744211ff Add alter dyn code. 2024-11-21 14:30:28 +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
Hongze Cheng 9e484be276 feat: support `alter dnode max_compact_tasks` 2024-11-20 14:17:50 +08:00
Hongze Cheng 0d3210a2c9 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-19 14:59:13 +08:00
Minglei Jin ffab4e8886 tsdb/cache: get first row from imem 2024-11-19 14:36:16 +08:00
Shengliang Guan 82b20df9ab
Merge pull request #28804 from taosdata/fix/TD-32914-free-vnode-after-lock
fix/TD-32914-free-vnode-after-lock
2024-11-19 14:27:42 +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 bed0792bdb
Merge pull request #28811 from taosdata/fix/TS-5639-check-mnode-leader
fix:[TS-5639]check-mnode-leader
2024-11-19 13:31:09 +08:00
Shengliang Guan 686c20cd9f
Merge pull request #28779 from taosdata/fix/3_liaohj
fix(stream): update the msg encoder.
2024-11-19 11:23:08 +08:00
Hongze Cheng 8b5664f185
Merge pull request #28787 from taosdata/fix/optReturnCode
opt return code
2024-11-19 10:33:09 +08:00
Shengliang Guan e5fe064034
Merge pull request #28724 from taosdata/test/main/TD-32816
test:add stream and query test cases
2024-11-19 10:17:09 +08:00
dapan1121 a5bd91492d fix: memory leak and dead lock issues 2024-11-19 10:12:45 +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
xiao-77 4b8feab900 fix mnd config persist. 2024-11-18 19:52:41 +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
dmchen 31f5055f21 fix/TS-5639-check-mnode-leader 2024-11-18 19:06:46 +08:00
yihaoDeng 45df3ee3b2 reset return code 2024-11-18 18:43:15 +08:00
kailixu 3ebb664953 enh: add bypassFlag to facilitate performance testing 2024-11-18 18:12:39 +08:00
Hongze Cheng 5a85688819 enh: add query filesets sql supoort 2024-11-18 16:57:15 +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
yihaoDeng dbb5c9e864 change return code 2024-11-18 14:44:18 +08:00
Hongze Cheng e97750608e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-18 14:33:43 +08:00
wangjiaming0909 6c18289de0 fix tsbs perf issue 2024-11-18 14:11:21 +08:00
dmchen 7348cbe5ef fix/TD-32914-free-vnode-after-lock 2024-11-18 12:31:38 +08:00
xiao-77 9b9b3e8e96 Write configs to mnd sdb. 2024-11-18 12:05:08 +08:00
Haojun Liao 20ad165ae3 Merge branch 'main' into fix/liaohj 2024-11-16 01:31:50 +08:00
wangmm0220 7aef49638e feat:[TD-32642] add timezone logic 2024-11-15 19:44:03 +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
Haojun Liao 9cc2aec9d6 fix(stream): set correct value and open inputQ for stream if reset checkpoint. 2024-11-15 17:12:01 +08:00
Minglei Jin 66535adb70 tsdb/cache: update lru when committing 2024-11-15 17:04:22 +08:00
Hongze Cheng d343a00d21
Merge pull request #28786 from taosdata/enh/recovery-mode-change
enh: add dangle child table filter in recovery mode
2024-11-15 16:35:09 +08:00
yihaoDeng 2b2377869f Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-15 15:36:05 +08:00
xiao-77 4a03483683 add prepare func. 2024-11-15 14:39:10 +08:00
Hongze Cheng 0c45c80d71 enh: add dangle child table filter in recovery mode 2024-11-15 14:26:53 +08:00
Shengliang Guan c3619f0f8b
Merge pull request #28739 from taosdata/fix/TD-32863-add-lock-for-allocate-primary-main
fix:[TD-32863]add-lock-for-allocate-primary
2024-11-15 13:51:52 +08:00
Haojun Liao b74a1bc726 refactor: update logs, and set correct vgId. 2024-11-15 13:48:42 +08:00
happyguoxy d16e8ee2a7 Merge branch 'main' of github.com:taosdata/TDengine into test/main/TD-32816 2024-11-15 10:33:45 +08:00
Haojun Liao a79f63caeb Merge branch '3.0' into fix/3_liaohj 2024-11-15 10:28:13 +08:00
Shengliang Guan 527def388d
Merge pull request #28778 from taosdata/main
merge: from main to 3.0 branch
2024-11-15 10:14:22 +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 969db55e9f fix(stream): update the checkpoint report info in SCheckpointReport 2024-11-14 17:42:55 +08:00
Haojun Liao b88a786fdf fix(stream): set correct error code and open inputq for upstream . 2024-11-14 17:42:49 +08:00
Haojun Liao c9a120e1d0 Merge branch '3.0' into fix/3_liaohj 2024-11-14 17:42:04 +08:00
Haojun Liao fba44da577 fix(test): fix error in unit test. 2024-11-14 17:40:47 +08:00
Haojun Liao 187997d5f0 fix(stream): record the failed checkpointId, after receive reset task info. 2024-11-14 17:40:37 +08:00
Haojun Liao b2b5a14d9d fix(stream): reset task add the failed chkptId info. 2024-11-14 17:38:40 +08:00
xiao-77 cc3f4504bf Add mnd init cfg and mnd cfg trans. 2024-11-14 17:20:50 +08:00
Hongze Cheng 9a9f73273c Merge branch 'feat/TS-4994-3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0-auto_compact 2024-11-14 17:11:17 +08:00
Hongze Cheng 71a1d75ac6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-14 17:09:25 +08:00
yihaoDeng 6ad894b356 support quick cmd 2024-11-14 17:04:11 +08:00
Hongze Cheng be743733a5 feat: support database auto compact parameters 2024-11-14 17:01:15 +08:00
Shengliang Guan 82d8f1357c
Merge pull request #28743 from taosdata/fix/TD-32860-main
fix: print multi dataDir
2024-11-14 16:03:03 +08:00
dmchen 336429e149 fix/TD-32863-add-creating-hash-fix-review 2024-11-14 16:01:28 +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
Hongze Cheng 1f51f480af Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-14 14:16:09 +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
Shungang Li 67da7b1036 feat: alter systable variablesSchema 2024-11-13 16:51:40 +08:00
xiao-77 748bb000b0 fix some error and rename some functions 2024-11-13 16:51:26 +08:00
Hongze Cheng 9a59689fba more code 2024-11-13 16:17:16 +08:00
dmchen 7ff6884779 fix/TD-32863-add-creating-hash-change-lock 2024-11-13 16:07:45 +08:00
dmchen 0b9f158174 fix/TD-32863-add-creating-hash-fix-case 2024-11-13 14:48:57 +08:00
Hongze Cheng 7c0d150708 feat: show progress and remain time for compact task 2024-11-13 14:17:27 +08:00
xiao-77 90a2dac7d6 Add decode for local/global.json 2024-11-13 13:56:39 +08:00
dmchen 156421f8a0 fix/TD-32863-add-creating-hash-fix-case 2024-11-13 13:53:55 +08:00
Haojun Liao 67a547f65a fix(stream): alwasy return success for resume req. 2024-11-13 13:46:23 +08:00
dmchen b141e0e2ba fix/TD-32863-add-creating-hash 2024-11-13 12:37:09 +08:00
dmchen 3c34ce6e96 fix/TD-32863-add-lock-for-allocate-primary 2024-11-12 14:09:47 +08:00
xiao-77 9758cd7825 fix some errors. 2024-11-12 13:40:19 +08:00
yihaoDeng 11064d43e6 support disk usage 2024-11-11 18:16:41 +08:00
xiao-77 8a90ebaa38 add process config rsp. 2024-11-11 16:52:47 +08:00
yihaoDeng 6c03a8c1ca fix double free 2024-11-11 15:06:17 +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
xiao-77 f931119e14 Add encode and decode rpc config msg 2024-11-11 11:33:10 +08:00
dapan1121 a8561fba4f Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-11 11:01:22 +08:00
Hongze Cheng 7d9c7918cb Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-11 10:31:01 +08:00
dapan1121 411d61504f fix: remove taosMem calling 2024-11-11 09:09:40 +08:00
xiao-77 8355be28d9 add encode and decode for config 2024-11-08 16:11:04 +08:00
Shengliang Guan d107976bd3
Merge pull request #28647 from taosdata/fix/3.0/TD-32519_drop_ctb
fix TD-32519 drop child table with tsma caused crash
2024-11-08 12:27:04 +08:00
Hongze Cheng def6f69819 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-08 11:24:29 +08:00
Hongze Cheng f3de4bb2d8 more code 2024-11-08 11:13:37 +08:00
dapan1121 371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +08:00
dapan1121 e4c87a024b fix: memory free not found issues 2024-11-08 09:58:32 +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 de8576a6a1 refine comments and functions 2024-11-08 09:50:07 +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
WANG MINGMING 1960a4fe86
Merge branch '3.0' into fix/TD-32563 2024-11-08 09:11:55 +08:00
yihaoDeng 4f9c9a15db support disk usage 2024-11-07 20:20:44 +08:00