Commit Graph

11049 Commits

Author SHA1 Message Date
Minghao Li 2b411912d9 refactor(sync): can not propose when heartbeat timeout 2022-11-23 14:17:13 +08:00
Shengliang Guan 0335d334fb
Merge pull request #18380 from taosdata/fix/TD-20603
fix: [ASAN] offset on null pointer error
2022-11-23 14:14:34 +08:00
Haojun Liao c623336b6e refactor: enable continue query when the buffer of sink node is lower or empty. 2022-11-23 13:59:38 +08:00
dapan1121 188e6e6c7d
Merge pull request #18325 from taosdata/enh/msgRefactor2
enh: refact some messages
2022-11-23 13:53:37 +08:00
dapan1121 5ec50ca5eb enh: add stmt tag length validation 2022-11-23 13:51:13 +08:00
Haojun Liao f92c1d4271 refactor: add some logs. 2022-11-23 13:48:15 +08:00
Shengliang Guan 43b23b07bc
Merge pull request #18377 from taosdata/fix/TD-20564
fix: fix mem leak
2022-11-23 13:06:01 +08:00
Xiaoyu Wang 906fafc578 enh: last cache optimize 2022-11-23 12:58:27 +08:00
Xiaoyu Wang cf245fa520 enh: last cache optimize 2022-11-23 12:56:16 +08:00
Haojun Liao 6b53003f94 refactor: add some logs. 2022-11-23 12:18:38 +08:00
Ganlin Zhao 0e64614ce8 fix: [ASAN] offset on null pointer error 2022-11-23 12:03:58 +08:00
yihaoDeng 3f0ea98cb2 fix mem leak 2022-11-23 11:33:03 +08:00
yihaoDeng c9407a7726 fix mem leak 2022-11-23 11:31:13 +08:00
Minghao Li fd9a612d50 refactor(sync): fix coverity scan error 2022-11-23 11:15:46 +08:00
Alex Duan 3ad83db5b7 fix(query): remove 2.6 test code 2022-11-23 10:55:28 +08:00
Shengliang Guan be29bb0d62
Merge pull request #18364 from taosdata/fix/3.0_bugfix_wxy
some problems of insert parser
2022-11-23 10:14:55 +08:00
Shengliang Guan fda726df0c
Merge pull request #18371 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-23 09:25:13 +08:00
Haojun Liao ee371ba6c3 Merge branch '3.0' into fix/liao_cov 2022-11-23 09:09:32 +08:00
Xiaoyu Wang 937e5d20bf fix: insert stable error 2022-11-23 09:04:11 +08:00
dapan1121 2a1e6bf244
Merge pull request #18362 from taosdata/fix/TD-20584
fix: crash issue caused by insert from query clause
2022-11-23 08:43:16 +08:00
Haojun Liao 50a64b1ee8 refactor: do some internal refactor. 2022-11-22 22:46:06 +08:00
Haojun Liao 0d60f24db5 refactor: do some internal refactor. 2022-11-22 22:42:44 +08:00
Xiaoyu Wang 5922c725b1 fix: insert stable error 2022-11-22 20:55:24 +08:00
Shengliang Guan d588cd37f8
Merge pull request #18357 from taosdata/fix/liao_cov
fix(query): fix memory leak.
2022-11-22 20:49:33 +08:00
Shengliang Guan 7322ebb897
Merge pull request #18356 from taosdata/fix/TD-20536
fix: the message is repeatedly compressed when redirect
2022-11-22 19:58:31 +08:00
Shengliang Guan cda7781db0
Merge pull request #18355 from taosdata/fix/wal_remove
enh(wal): add debug log
2022-11-22 19:58:16 +08:00
Shengliang Guan a2138bfc62
Merge pull request #18353 from taosdata/fix/TD-20620
fix:Direct leak in timewindowoperator.c
2022-11-22 19:45:56 +08:00
Shengliang Guan 8ecb55d1b9
Merge pull request #18351 from taosdata/fix/TD-20098
fix: avoid invalid vgroup id
2022-11-22 19:44:47 +08:00
dapan1121 842217e77d fix: crash issue caused by insert from query clause 2022-11-22 18:53:48 +08:00
dapan1121 e1ea03fbda
Merge pull request #18345 from taosdata/fix/TD-20591
fix:  crash caused by elect null and issues found in asan
2022-11-22 18:49:19 +08:00
Xiaoyu Wang f2e2aa7722 fix: insert stable error 2022-11-22 18:18:31 +08:00
Haojun Liao 7c7b2f1cef fix(query): fix memory leak. 2022-11-22 18:06:01 +08:00
Liu Jicong 1344671869 fix(wal): add debug log 2022-11-22 17:24:43 +08:00
54liuyao 5b8d3d57bb fix:Direct leak in timewindowoperator.c 2022-11-22 17:01:59 +08:00
yihaoDeng 42e6f59e49 avoid invalid vgroup id 2022-11-22 16:53:58 +08:00
Liu Jicong 6f5d90658e fix(wal): add debug log 2022-11-22 16:40:18 +08:00
54liuyao 2020ea0a76 fix:stream fill crash 2022-11-22 16:28:55 +08:00
dapan1121 e42f895fea fix: fix select null crash issue and asan issues 2022-11-22 16:07:04 +08:00
dapan1121 dd5b2b73b3
Merge pull request #18336 from taosdata/fix/TD-20563
fix [ASAN] memory leak while tdbRealloc
2022-11-22 15:48:22 +08:00
Haojun Liao 2da5a6106e refactor: do some internal refactor. 2022-11-22 15:31:20 +08:00
yihaoDeng 865332d960 avoid double compress 2022-11-22 15:27:07 +08:00
yihaoDeng fec994e124 avoid double compress 2022-11-22 15:04:07 +08:00
54liuyao d3fe6f0ba3 fix [ASAN] memory leak while tdbRealloc 2022-11-22 14:36:27 +08:00
Shengliang Guan 94b648eba9
Merge pull request #18331 from taosdata/feature/sync-del-wal
refactor(sync): del wal in multi-replicas
2022-11-22 13:53:46 +08:00
Minghao Li 1d48426e94 refactor(sync): del wal in multi-replicas 2022-11-22 12:45:31 +08:00
Shengliang Guan 4f89b690df
Merge pull request #18318 from taosdata/fix/liao_cov
fix(query): fix some memory leaks.
2022-11-22 12:41:34 +08:00
dapan1121 19852ba85b Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor2 2022-11-22 10:45:11 +08:00
dapan1121 cafc5e4cae enh: refact fetch message 2022-11-22 10:43:56 +08:00
dapan1121 e2e52897a2
Merge pull request #18258 from taosdata/enh/msgRefactor1
enh: refact some messages
2022-11-22 09:10:39 +08:00
Haojun Liao 6d5a256774 fix(query): fix some memory leaks. 2022-11-21 22:40:20 +08:00
Shengliang Guan 8ad851466f
Merge pull request #18305 from taosdata/fix/liao_cov
refactor: do some internal refactor, and update the logs.
2022-11-21 22:32:49 +08:00
Ganlin Zhao 4f176e325d fix: [ASAN] devive by zero 2022-11-21 18:01:48 +08:00
dapan1121 8abdb21091 fix: fix memory leak issue 2022-11-21 17:34:50 +08:00
Minghao Li b600b4c8bc refactor(sync): modify wal pInfo++, to find which case can not pass 2022-11-21 16:18:50 +08:00
Haojun Liao cfb1fe9cb9 Merge branch '3.0' into fix/liao_cov 2022-11-21 15:42:47 +08:00
Haojun Liao 1bd0cc4a5a refactor: do some internal refactor, and update the logs. 2022-11-21 15:09:18 +08:00
dapan1121 a6c3bc20f1 Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor1 2022-11-21 15:04:10 +08:00
dapan1121 cba374ae6b enh: add query response message processing 2022-11-21 15:02:05 +08:00
Minglei Jin ada76477fc fix: free stream state cursor 2022-11-21 11:54:25 +08:00
dapan1121 d3a75048c2
Merge pull request #17972 from taosdata/fix/TD-20246
refactor: optimize interp linear interpolation ignore NULL values during calculation
2022-11-21 10:15:37 +08:00
54liuyao 3e29f19782 fix:stream state abnormal failure 2022-11-20 10:32:25 +08:00
Shengliang Guan 562a736de2
Merge pull request #18255 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-19 09:34:14 +08:00
Haojun Liao 5c60bf9a47 fix(query): disable limit in table merge scan. 2022-11-18 23:16:33 +08:00
Haojun Liao f24eb634ef fix(query): fix memory leak. 2022-11-18 22:38:50 +08:00
Shengliang Guan 8fc2cd2b73
Merge pull request #18273 from taosdata/fix/fix/TD-20445_4
fix: memory leaks while check mnode state
2022-11-18 22:21:48 +08:00
Shengliang Guan aa55baa30c
Merge pull request #18271 from taosdata/fix/sync
refactor(sync): optimize leader transfer
2022-11-18 22:20:38 +08:00
Haojun Liao e09ea90b97 other: merge 3.0 2022-11-18 22:19:32 +08:00
Shengliang Guan 0312833e48
Merge pull request #18270 from taosdata/fix/TD-20413
fix: fix memleak
2022-11-18 21:04:48 +08:00
Shengliang Guan 0b9989b252 Merge remote-tracking branch 'origin/fix/sync' into fix/fix/TD-20445_4 2022-11-18 20:15:45 +08:00
Shengliang Guan 9c426540e7 fix: memory leaks while check mnode state 2022-11-18 20:15:13 +08:00
Shengliang Guan 9eca87aceb
Merge pull request #18234 from taosdata/szhou/fixbugs
fix: scalar mnode for in set more than 10 and print only 1000 groups …
2022-11-18 20:01:50 +08:00
Shengliang Guan a12cf7f91d
Merge pull request #18266 from taosdata/feature/stream
enh(stream): put user defined tb name into stream state
2022-11-18 19:56:56 +08:00
Minghao Li ff2a0db9f7 refactor(sync): fix asan error 2022-11-18 18:58:50 +08:00
Minghao Li 788a103132 refactor(sync): optimize leader transfer 2022-11-18 18:42:08 +08:00
yihaoDeng 6775888545 fix memleak 2022-11-18 18:21:22 +08:00
Haojun Liao 54e7335477 fix(query): set the scan flag. 2022-11-18 17:27:05 +08:00
Liu Jicong 9a603e5663 enh(stream): put user defined tb name into stream state 2022-11-18 17:21:50 +08:00
Haojun Liao a39dc7b2bb fix(query): init cache. 2022-11-18 17:07:09 +08:00
slzhou 9994a9f2c5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-18 16:24:49 +08:00
slzhou c5cb72291f fix: fix windows compilation error 2022-11-18 16:24:28 +08:00
Ganlin Zhao 4703ccc4bc fix fill prev/next error 2022-11-18 15:54:25 +08:00
Ganlin Zhao 7291f2bd5a change interp linear behavior 2022-11-18 14:35:44 +08:00
Haojun Liao 8b1e13af5e refactor: do some internal refactor. 2022-11-18 13:40:03 +08:00
dapan1121 3de853ed61
Merge pull request #18256 from taosdata/fix/TD-20504
fix: fix asan issue
2022-11-18 13:27:20 +08:00
dapan1121 70eb1f445e fix: fix compile error 2022-11-18 13:18:23 +08:00
Shengliang Guan 37580fc4c9
Merge pull request #18254 from taosdata/feature/3.0_mhli
fix(sync): fix elect bug
2022-11-18 12:00:13 +08:00
dapan1121 3f88dbe256 enh: refact client server messages 2022-11-18 11:43:03 +08:00
dapan1121 c2d4d0907d fix: fix asan issue 2022-11-18 11:41:59 +08:00
Haojun Liao 875989aa30 refactor: do some internal refactor. 2022-11-18 11:24:56 +08:00
dapan1121 48d5e13ae3
Merge pull request #18233 from taosdata/fix/TS-2069-3.0
fix(query): createOneDataBlock rowsize must reset to zero
2022-11-18 11:11:48 +08:00
Minghao Li 3306785e60 fix(sync): fix elect bug 2022-11-18 11:06:35 +08:00
Shengliang Guan f32710d515
Merge pull request #18252 from taosdata/fix/TD-20505_1
test: add log and asan case
2022-11-18 10:37:27 +08:00
Shengliang Guan 36cc1fbc99
Merge pull request #18210 from taosdata/fix/3.0_bugfix_wxy
enh: fill value supports implicit type conversion
2022-11-18 10:13:55 +08:00
slzhou 83ee245715 fix: only set scan info information when the interp input operator is table scan 2022-11-18 10:12:21 +08:00
Shengliang Guan 7edde3a780 test: add log and asan case 2022-11-18 10:04:28 +08:00
Haojun Liao 2055879deb refactor: do some internal refactor. 2022-11-18 09:47:26 +08:00
Ganlin Zhao c8f069c647 change interp linear behavior 2022-11-18 09:43:40 +08:00
dapan1121 56a10167dd
Merge pull request #18240 from taosdata/fix/TD-20458
fix:memory leak while drop stream
2022-11-18 09:32:28 +08:00
dapan1121 a3f0283eba
Merge pull request #18226 from taosdata/enh/msgRefactor0
enh: refactor batch meta msg
2022-11-18 09:20:15 +08:00
Shengliang Guan fa6705df7a Merge branch '3.0' into fix/TD-20458 2022-11-17 21:23:42 +08:00
Shengliang Guan 42460320e7
Merge pull request #18250 from taosdata/fix/sync
refactor(sync): reduce lru-cache size
2022-11-17 21:22:07 +08:00
Haojun Liao 786caafab5 fix: check correct error code. 2022-11-17 19:01:16 +08:00
Haojun Liao e9aae51d85 fix(query): set correct error code. 2022-11-17 18:59:15 +08:00
Haojun Liao 4cb8d1b16c Merge branch '3.0' into fix/liao_cov 2022-11-17 18:45:36 +08:00
54liuyao 2635ec27b4 fix:memory leak while drop stream 2022-11-17 18:45:12 +08:00
dapan1121 1b0c98433e enh: refact query message 2022-11-17 18:04:57 +08:00
Haojun Liao 05ce262277 refactor:set the correct error code. 2022-11-17 17:30:57 +08:00
Minghao Li cf76b418f9 refactor(sync): reduce cache size 2022-11-17 17:19:26 +08:00
Minghao Li 9a8895ec5a refactor(sync): use taosLRUCacheErase instead of taosLRUCacheRelease 2022-11-17 17:07:16 +08:00
dapan1121 6aed8932a9
Merge pull request #18231 from taosdata/fix/TD-20428
fix:fill operator core
2022-11-17 17:05:05 +08:00
Xiaoyu Wang 4217441cad Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-11-17 16:25:18 +08:00
Xiaoyu Wang 7cda5c2752 enh: fill value supports implicit type conversion 2022-11-17 16:24:56 +08:00
Haojun Liao 4895e95057 Merge remote-tracking branch 'origin/fix/liao_cov' into fix/liao_cov 2022-11-17 16:12:06 +08:00
Haojun Liao 4cb7b369ac refactor: suppress one error. 2022-11-17 16:11:42 +08:00
slzhou 40af2903c1 fix: scalar mnode for in set more than 10 and print only 1000 groups to log in filter mode 2022-11-17 16:06:12 +08:00
Xiaoyu Wang dc0d3745a7 enh: fill value supports implicit type conversion 2022-11-17 15:48:42 +08:00
Minghao Li effc38d217 fix(sync): fix asan error, use rid in hbdata and syncnode 2022-11-17 14:51:32 +08:00
dapan1121 6208aeb123
Merge pull request #18224 from taosdata/fix/dropDb
fix: fix query thread stop issue
2022-11-17 13:45:34 +08:00
Shengliang Guan 5ae3eeeed9
Merge pull request #18212 from taosdata/fix/TD-20456
fix(query): [ASAN] fix time precision conversion overflow
2022-11-17 13:45:11 +08:00
Shengliang Guan 9b29fa0cc6
Merge pull request #18223 from taosdata/feature/stream
fix(stream): stop scan when no output
2022-11-17 13:44:36 +08:00
Shengliang Guan 40900b7eb2
Merge pull request #18220 from taosdata/fix/TD-20493
fix: memory leak while balance vgroup
2022-11-17 13:43:51 +08:00
54liuyao 507aa0c7f8 fix:fill operator core 2022-11-17 13:35:23 +08:00
Ganlin Zhao 8a19e84fe4 Merge branch '3.0' into fix/TD-20246 2022-11-17 11:20:33 +08:00
dapan1121 3a642f06d0 Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor0 2022-11-17 10:42:29 +08:00
dapan1121 49917d5156 enh: refactor batch meta msg 2022-11-17 10:35:25 +08:00
Liu Jicong 5161eca70f fix(stream): stop scan when no output 2022-11-17 10:30:05 +08:00
Shengliang Guan 2b67d39c05 Merge remote-tracking branch 'origin/fix/TD-20490' into fix/TD-20493 2022-11-17 09:22:56 +08:00
54liuyao 00937a7fc8 fix:[ASAN] src/builtinsimpl.c:1084:41: runtime error: division by zero 2022-11-17 09:06:22 +08:00
Ganlin Zhao 0b51e68c58 Merge branch '3.0' into fix/TD-20456 2022-11-17 08:50:11 +08:00
Shengliang Guan 624cd48b58
Merge pull request #18209 from taosdata/enh/function
enh: check function state
2022-11-16 22:11:11 +08:00
Shengliang Guan 2b5257f905 fix: memory lead found in asan 2022-11-16 20:45:15 +08:00
Shengliang Guan bffe0eea2a
Merge pull request #18216 from taosdata/feature/stream
fix(stream): skip check update for scalar
2022-11-16 19:53:03 +08:00
Liu Jicong e2005cfa86 fix(stream): skip check update for scalar 2022-11-16 18:48:08 +08:00
Shengliang Guan b7ba43ea5a
Merge pull request #18206 from taosdata/fix/fix-hb-timer
fix(sync): fix hb-timer heap-use-after-free
2022-11-16 18:08:42 +08:00
Ganlin Zhao a115ff1299 fix(query): fix time precision convert overflow
TD-20456
2022-11-16 17:25:57 +08:00
Shengliang Guan c8f9707d5a
Merge pull request #18203 from taosdata/feature/stream
enh(stream): add tbname map cache
2022-11-16 17:15:30 +08:00
Liu Jicong a0e22ca681 enh: check function state 2022-11-16 17:14:02 +08:00
Xiaoyu Wang cb0f1f537e enh: fill value supports implicit type conversion 2022-11-16 17:03:04 +08:00
Shengliang Guan 3fedd9106f
Merge pull request #18204 from taosdata/fix/TD-20480
fix: restore wal info changes
2022-11-16 16:51:26 +08:00
Shengliang Guan dc88d69231
Merge pull request #18201 from taosdata/fix/TD-20454
fix(query): ASAN heap buffer overflow
2022-11-16 16:26:53 +08:00
dapan1121 08be4503c9 fix: fix query thread stop issue 2022-11-16 16:25:58 +08:00
Shengliang Guan 7bdafa5f27
Merge pull request #18199 from taosdata/fix/TD-20439
fix(sync): fix timer memory leak
2022-11-16 16:22:58 +08:00
Minghao Li 84c9b79b4d fix(sync): fix hb-timer heap-use-after-free 2022-11-16 16:12:35 +08:00
Alex Duan 28c692b52f fix(query): fixed build error 2022-11-16 16:10:22 +08:00
Alex Duan 8b82fdf0e8 fix(query): correct calc sort page size 2022-11-16 16:00:37 +08:00
Shengliang Guan 201ce10fbc fix: restore wal info changes 2022-11-16 15:45:40 +08:00
Liu Jicong ab57d069d4 enh(stream): add tbname map cache 2022-11-16 15:18:31 +08:00
Ganlin Zhao cf601b206f fix(query): ASAN heap buffer overflow
TD-20454
2022-11-16 15:00:57 +08:00
Shengliang Guan a68f42f519
Merge pull request #18198 from taosdata/fix/3.0_bugfix_wxy
fix: memory leak
2022-11-16 14:59:17 +08:00
Ganlin Zhao aae3475900 fix(query): ASAN heap buffer overflow
TD-20454
2022-11-16 14:36:51 +08:00