Commit Graph

11486 Commits

Author SHA1 Message Date
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
Benguang Zhao 95f8e96eb5 fix: align firstVer with lastVer too if no WAL logs exist 2022-11-22 23:42:08 +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
Benguang Zhao b80095dc87 enh: snapshot during recovery of SSynclogReplMgr 2022-11-22 22:24:20 +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
Xiaoyu Wang bc180e39c9 enh: ins_tables optimize 2022-11-22 16:39:30 +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
yihaoDeng 963d56cfc1 retry code 2022-11-22 11:10:28 +08:00
Benguang Zhao 8ef5ca78ee fix: protect syncNodeReplicate with mutex lock 2022-11-22 10:54:32 +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
Xiaoyu Wang 8b9691ddbf Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-22 09:27:14 +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
yihaoDeng 74859ae114 Merge branch 'enh/clientRetry' of https://github.com/taosdata/TDengine into retry 2022-11-21 21:25:45 +08:00
yihaoDeng 62bf1c024a refactor retry 2022-11-21 21:25:15 +08:00
Xiaoyu Wang 469fcd314e enh: ins_tables optimize 2022-11-21 18:44:04 +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
Benguang Zhao b90ee79623 fix: use syncLogBufferCommit in syncNodeOnLocalCmd 2022-11-21 13:51:01 +08:00
dapan1121 56853b923e Merge remote-tracking branch 'origin/enh/clientRetry.0' into enh/clientRetry 2022-11-21 13:22:43 +08:00
Minglei Jin ada76477fc fix: free stream state cursor 2022-11-21 11:54:25 +08:00
dapan1121 072a73ec3d enh: support max retry wait time configuration 2022-11-21 11:35:52 +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
Xiaoyu Wang 584ce8a9b8 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-21 09:13:59 +08:00
Haojun Liao 1e25eac4c7 refactor: do some internal refactor. 2022-11-20 23:11:12 +08:00
yihaoDeng ba23ed2317 add simple retry 2022-11-20 18:53:48 +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
dapan1121 2fbf082f7d enh: support client redirect processing 2022-11-18 19:55:15 +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
Xiaoyu Wang d00f65a8fe Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-18 15:05:19 +08:00
Ganlin Zhao 7291f2bd5a change interp linear behavior 2022-11-18 14:35:44 +08:00
Haojun Liao f26a492c67 fix(query): check result size before store it. 2022-11-18 14:00:27 +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
Benguang Zhao c9c05761d6 enh: rename syncLogToAppendEntries to syncBuildAppendEntriesFromRaftLog 2022-11-18 12:40:00 +08:00
Benguang Zhao 03b88ff41c enh: rename syncLogBuffer.h|c to syncPipeline.h|c 2022-11-18 12:39:04 +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
Benguang Zhao 363cbc8985 fix: update cbMeta rsp handle info in syncLogFsmExecute 2022-11-18 09:37:58 +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
Benguang Zhao 4526ff2876 enh: add syncLogBuffer.h and syncLogBuffer.c 2022-11-17 23:37:02 +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
Benguang Zhao da469149db enh: debug to info 2022-11-17 20:28:18 +08:00
Minglei Jin 78335f83d2 tdb/api: migrate txn related api changes of meta, sma, tq, and stream meta/state 2022-11-17 20:02:13 +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 ec7ad45b2b fix(query): fix a typo. 2022-11-17 17:37:45 +08:00
Haojun Liao 05ce262277 refactor:set the correct error code. 2022-11-17 17:30:57 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +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
Minglei Jin 1441684c03 cleanup: remove unused pager open 2022-11-17 09:29:27 +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
Benguang Zhao 6062632722 enh: turn commit-cb logging msg to debug level in vnodeSyncCommitMsg 2022-11-16 19:53:22 +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
Haojun Liao 42f8abcc0e refactor: do some internal refactor. 2022-11-16 15:24:30 +08:00
Haojun Liao 819235dd3b refactor: do some internal refactor. 2022-11-16 15:21:33 +08:00
Haojun Liao 2ee5fa87d0 refactor: do some internal refactor. 2022-11-16 15:19:15 +08:00
Liu Jicong ab57d069d4 enh(stream): add tbname map cache 2022-11-16 15:18:31 +08:00
Haojun Liao fade0507fa refactor: do some internal refactor. 2022-11-16 15:17:13 +08:00
Haojun Liao 82f22e407d refactor: do some internal refactor. 2022-11-16 15:13:54 +08:00
Haojun Liao 23da7bc5e9 refactor: add some logs. 2022-11-16 15:13:38 +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
Haojun Liao 2320c0d2bd refactor: update some logs. 2022-11-16 14:40:39 +08:00
Ganlin Zhao aae3475900 fix(query): ASAN heap buffer overflow
TD-20454
2022-11-16 14:36:51 +08:00
Shengliang Guan 12f7022789 Merge remote-tracking branch 'origin/3.0' into fix/TD-20439 2022-11-16 14:31:32 +08:00
Shengliang Guan 1114bdefb4 fix: invalid log print 2022-11-16 14:31:17 +08:00
Minghao Li 4c912aa955 fix(sync): fix hb-timer memory leak 2022-11-16 14:28:20 +08:00
Benguang Zhao 3e13cd8280 fix: check if timer triggered ahead of time in syncNodeElect 2022-11-16 14:26:18 +08:00
Minghao Li 81592dfb09 fix(sync): fix hb-timer memory leak 2022-11-16 14:25:21 +08:00
Haojun Liao 7d00b7a6c4 refactor: add tag filter cache. 2022-11-16 14:23:12 +08:00
Minghao Li 7bcd13e82a fix(sync): fix elect timer memory leak 2022-11-16 14:05:34 +08:00
Xiaoyu Wang 78378845cc fix: memory leak 2022-11-16 13:57:24 +08:00
slzhou 8f6ba995a5 fix: get group id from the group list when last row scan 2022-11-16 13:27:53 +08:00
Shengliang Guan b62a85dfdc
Merge pull request #18192 from taosdata/feature/stream
fix(stream): timer refer stream task
2022-11-16 12:40:50 +08:00
Shengliang Guan 9099f5cd10
Merge pull request #18190 from taosdata/fix/TD-20437
fix(sync): fix asan error, TD-20437
2022-11-16 12:31:38 +08:00
Benguang Zhao ab2f4e974c fix: protect against nullptr of pMsg in cliHandleExeptImpl 2022-11-16 12:02:46 +08:00
Liu Jicong 015c00aaca fix(stream): timer refer stream task 2022-11-16 11:16:32 +08:00
Shengliang Guan 3ada61c346 restore some invalid code modify 2022-11-16 11:13:53 +08:00
Xiaoyu Wang 6a50e9e271 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-16 10:58:06 +08:00
Minghao Li 023f61ccf5 fix(sync): fix asan error, TD-20437 2022-11-16 10:54:06 +08:00
Minghao Li 475919dd77 refactor(sync): add rtt trace log 2022-11-16 10:10:02 +08:00
Shengliang Guan 4b4f8eac86
Merge pull request #18184 from taosdata/fix/TD-20403
fix(query): fix signed integer overflow in builtinsimpl.c
2022-11-16 09:42:44 +08:00
Shengliang Guan 555bf7d4cb
Merge pull request #18181 from taosdata/feature/stream
fix(stream): check task
2022-11-16 08:11:30 +08:00
Liu Jicong 6478fcb2c1 fix(stream): check task 2022-11-15 22:32:52 +08:00
Shengliang Guan aab1ec632c fix: heap-use-after-free in syncNodeEqPingTimer 2022-11-15 22:29:59 +08:00
Shengliang Guan 6c0bbe684b fix: heap-use-after-free in syncNodeEqPingTimer 2022-11-15 22:28:03 +08:00
Shengliang Guan ede50530f3
Merge pull request #18178 from taosdata/feature/wal
fix(wal): set commit ver and snapshot ver after restore
2022-11-15 21:26:03 +08:00
Shengliang Guan 1b9cf9fade
Merge pull request #18176 from taosdata/feature/3.0_mhli
refactor(sync): optimize, make LRU Cache hit more
2022-11-15 20:31:07 +08:00
Shengliang Guan 7d443b1679
Merge pull request #18174 from taosdata/feature/stream
refactor: stream meta ref count
2022-11-15 20:07:42 +08:00
Liu Jicong 20e31aacca fix(wal): set commit ver and snapshot ver after restore 2022-11-15 19:48:16 +08:00
Shengliang Guan 53167df712
Merge pull request #18175 from taosdata/fix/TD-20444
fix stack-buffer-overflow in timewindowoperator.c
2022-11-15 19:47:35 +08:00
Shengliang Guan cddeee9959
Merge pull request #18171 from taosdata/fix/3.0_bugfix_wxy
fix: asan error
2022-11-15 19:37:21 +08:00
Minghao Li 7d63efd2af refactor(sync): optimize, make LRU Cache hit more 2022-11-15 19:24:43 +08:00
Minghao Li c5aa7e072d refactor(sync): optimize, make LRU Cache hit more 2022-11-15 19:17:28 +08:00
Liu Jicong a9bf05bc01 refactor: stream meta ref count 2022-11-15 19:11:42 +08:00
Ganlin Zhao bf7ad8e85e fix(query): fix signed integer overflow in builtinsimpl.c
TD-20403
2022-11-15 18:51:55 +08:00
54liuyao d696745e00 fix stack-buffer-overflow in timewindowoperator.c 2022-11-15 18:42:10 +08:00
Minghao Li 9e8404f60a refactor(sync): adjust timer 2022-11-15 17:50:15 +08:00
Xiaoyu Wang 1963761cc2 fix: asan error 2022-11-15 17:27:22 +08:00
dapan1121 49a3623f1a
Merge pull request #18112 from taosdata/fix/TD-19892
fix(query): report error if certain function query stable has duplicate timestamps
2022-11-15 17:24:08 +08:00
Benguang Zhao bf634a840d enh: check lastVer and commit version during syncNodeOpen 2022-11-15 17:13:31 +08:00
Xiaoyu Wang 40c7562470 enh: optimize statement for querying the number of sub tables of the super table 2022-11-15 16:38:51 +08:00
Shengliang Guan be6ff9a46e
Merge pull request #18154 from taosdata/fix/TD-20417-D
fix: null pointer check when invoke memcpy
2022-11-15 15:02:44 +08:00
Shengliang Guan 3f038205b4
Merge pull request #18156 from taosdata/fix/TD-20427
fix: memory leak of sync timer
2022-11-15 14:48:43 +08:00
dapan1121 957b1fb6bb
Merge pull request #18151 from taosdata/fix/TD-20412
fix: fix asan issues
2022-11-15 14:33:14 +08:00
Cary Xu 6c1361ef80 fix: null pointer check when invoke memcpy 2022-11-15 13:59:00 +08:00
Shengliang Guan a57efc49b4 fix: memory leak of sync timer 2022-11-15 13:43:30 +08:00
Shengliang Guan ea0b090c33
Merge pull request #18147 from taosdata/feature/stream
fix: memory leak
2022-11-15 13:01:02 +08:00
dapan1121 21e62f1279 Merge remote-tracking branch 'origin/3.0' into fix/TD-20412 2022-11-15 12:53:22 +08:00
Liu Jicong efde22f081 fix: memory leak 2022-11-15 11:59:29 +08:00
dapan1121 d985cb714f fix: fix asan issues 2022-11-15 11:38:01 +08:00
Benguang Zhao c0c1cd8211 enh: reset sync log repl mgr if restarting of the peer detected in HeartbeatReply 2022-11-15 10:24:11 +08:00
Haojun Liao 8b0b351d39 refactor: do some internal refactor. 2022-11-15 09:59:20 +08:00
Xiaoyu Wang cd3722837d Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-11-15 09:44:13 +08:00
Xiaoyu Wang 14b4adc6ce fix: memory leak 2022-11-15 09:39:17 +08:00
Shengliang Guan 1312b9c785
Merge pull request #18125 from taosdata/fix/liao_cov
fix(query): fix errors found by asan.
2022-11-14 20:55:25 +08:00
Shengliang Guan 9e18a86ad2
Merge pull request #18134 from taosdata/feature/stream
enh(stream): add stream task info into information schema
2022-11-14 20:55:00 +08:00
Shengliang Guan 2a0399cf04
Merge pull request #18133 from taosdata/fix/TD-20379-3.0
fix(query): fill operator memory leak fixed
2022-11-14 20:54:31 +08:00
Shengliang Guan a4e6d84124
Merge pull request #18128 from taosdata/fix/sync-error-log
fix(sync): do not use sNError in timer function
2022-11-14 20:53:07 +08:00
Minghao Li d31d05fe16 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-11-14 19:40:38 +08:00
Liu Jicong 7c8b2867ce enh(stream): add stream task info into information schema 2022-11-14 19:23:42 +08:00
Haojun Liao fc83468156
Merge branch '3.0' into fix/liao_cov 2022-11-14 19:02:30 +08:00
Alex Duan b2f9eeb5bb fix(query): fill operator memory leak fixed 2022-11-14 18:49:11 +08:00
Minghao Li d381b4da93 fix(sync): fix memory leak 2022-11-14 18:17:14 +08:00
Shengliang Guan 9f38bfa10b
Merge pull request #18123 from taosdata/fix/3.0_bugfix_wxy
fix: some problems of parser
2022-11-14 18:03:08 +08:00
Shengliang Guan b67e27bb51
Merge pull request #18119 from taosdata/fix/TD-20372
fix(sync): fix AddressSanitizer error: TD-20372
2022-11-14 17:57:01 +08:00
dapan1121 3fae636070
Merge pull request #18109 from taosdata/fix/TS-2063
fix: extend show create table result width
2022-11-14 17:34:51 +08:00
Minghao Li 76628a52e6 fix(sync): do not use SNError 2022-11-14 17:33:48 +08:00
Minghao Li ac8eeb87af refactor(sync): modify error log 2022-11-14 17:19:20 +08:00
Haojun Liao cf56c38e7a fix(query): fix errors found by asan. 2022-11-14 17:10:25 +08:00
Xiaoyu Wang 901c9b8f77 fix: some problems of parser 2022-11-14 16:53:01 +08:00
Shengliang Guan 308459c223
Merge pull request #18116 from taosdata/feature/stream
enh(stream): set path max length to 1024
2022-11-14 16:40:58 +08:00
Shengliang Guan 0ab60825c6
Merge pull request #18118 from taosdata/fix/sync
fix(sync): fix memory error
2022-11-14 16:40:38 +08:00
Minghao Li 8f55e007f4 refactor(sync): add trace log 2022-11-14 16:23:52 +08:00
Minghao Li 9b58176c58 fix(sync): fix AddressSanitizer error: TD-20372 2022-11-14 15:56:34 +08:00
Shengliang Guan 3bc41d37f9
Merge pull request #18115 from taosdata/fix/3.0_bugfix_wxy
fix: sanitizer error
2022-11-14 15:48:50 +08:00
dapan1121 c0463e46c9 fix: truncate show create table result 2022-11-14 15:48:01 +08:00
Minghao Li 7420b0aaaf fix(sync): fix memory error 2022-11-14 15:24:59 +08:00
Shengliang Guan 4505991578
Merge pull request #18097 from taosdata/fix/TD-19579
fix: flush pages to get buffer ready for fetching
2022-11-14 15:20:07 +08:00
dapan1121 2c265b861b
Merge pull request #18113 from taosdata/fix/asanIssues
fix: fix asan issues
2022-11-14 15:19:24 +08:00
Minghao Li c20627c1d6 fix(sync): fix AddressSanitizer error: TD-20372 2022-11-14 14:58:21 +08:00
Liu Jicong aa9e935854 enh(stream): set path max length to 1024 2022-11-14 14:46:50 +08:00
Xiaoyu Wang 7bddbb06f0 fix: sanitizer error 2022-11-14 14:38:51 +08:00
Haojun Liao c35f668c17 refactor: increase the initial buffer size. 2022-11-14 14:37:28 +08:00
dapan1121 d2468c5548 fix: fix asan issues 2022-11-14 14:22:13 +08:00
Minghao Li 51861bb82b refactor(sync): delete some code 2022-11-14 14:20:13 +08:00
Haojun Liao 618b4ab881 refactor: do some internal refactor. 2022-11-14 14:15:48 +08:00
Haojun Liao c888cbf068 refactor: do some internal refactor. 2022-11-14 14:14:24 +08:00
Shengliang Guan 72f6b93417
Merge pull request #18108 from taosdata/fix/TD-20366
fix: runtime error (division by zero in builtinsimpl.c)
2022-11-14 12:05:23 +08:00
dapan1121 14a1f4e373
Merge pull request #18074 from taosdata/fix/TD-20300
fix: fix query thread quit issue
2022-11-14 11:28:30 +08:00
dapan1121 a5b1cfc9a2 fix: extend show create table result width 2022-11-14 11:27:38 +08:00
stephenkgu 420be42269 fix: flush pages to get buffer ready for fetching 2022-11-14 10:37:56 +08:00
Shengliang Guan 49245efff4 fix: runtime error (division by zero in builtinsimpl.c) 2022-11-14 10:35:46 +08:00
dapan1121 d7c0c054aa
Merge pull request #18093 from taosdata/fix/TD-20299-D
fix(query): min/max query of float type from block sma
2022-11-14 10:10:33 +08:00
Shengliang Guan 11c3463814 refact: adjust sync code struct 2022-11-13 18:18:46 +08:00
Shengliang Guan 4940080a1c refact: adjust sync log prints 2022-11-13 18:00:11 +08:00
Shengliang Guan f1a41f5a37 refact: sync message headfile 2022-11-13 17:21:30 +08:00
Shengliang Guan f2191363b4 refact: sync local cmd msg 2022-11-13 17:14:03 +08:00
Shengliang Guan d37d83ee26 refact: adjust sync leadertransfer msg 2022-11-13 17:00:47 +08:00
Shengliang Guan fd7a499946 refact: adjust sync snapshotsend rsp 2022-11-13 16:41:40 +08:00
Shengliang Guan eec0ab8c8d refact: adjust sync snapshotsend msg 2022-11-13 16:39:21 +08:00
Shengliang Guan d5f7f8c398 refact: remove sync apply msg 2022-11-13 16:11:49 +08:00
Shengliang Guan 7bcda46c59 refact: remove sync pre snapshot 2022-11-13 16:03:45 +08:00
Shengliang Guan 973fc99f75
Merge pull request #18094 from taosdata/feature/3.0_mhli
refactor(sync): pre snapshot
2022-11-13 15:38:33 +08:00
Minghao Li ce4f32b8e7 refactor(sync): pre snapshot 2022-11-13 12:21:14 +08:00
Minghao Li 58fd2228d9 refactor(sync): pre snapshot 2022-11-13 10:45:33 +08:00
Shengliang Guan 9c31ec37ac
Merge pull request #18090 from taosdata/fix/TD-20052
refact: build sync heartbeat reply
2022-11-13 09:37:25 +08:00
Cary Xu 622c31f15d Merge branch '3.0' into fix/TD-20299-D 2022-11-13 01:54:58 +08:00
Cary Xu a7e197d2cb fix(query): sum/min/max/avg query of float type from block sma 2022-11-13 01:54:46 +08:00
Shengliang Guan e0785bfa2d
Merge pull request #18088 from taosdata/fix/TD-20052
refact: build sync heartbeat msg
2022-11-12 23:14:27 +08:00
Shengliang Guan 6681099245 refact: build sync heartbeat reply 2022-11-12 21:31:01 +08:00
Shengliang Guan d280001333
Merge pull request #18085 from taosdata/fix/TD-20052
enh: adjust sync append entry reply
2022-11-12 21:29:22 +08:00
Shengliang Guan b0f36f570b
Merge pull request #18077 from taosdata/fix/TD-20347
fix: fix tablemeta leak
2022-11-12 20:58:41 +08:00
Shengliang Guan 55927eaf0d refact: build sync heartbeat msg 2022-11-12 20:37:15 +08:00
Shengliang Guan 94076e5919 refact: adjust sync append entry 2022-11-12 20:29:49 +08:00
Shengliang Guan 152b1ea9a3 enh: adjust sync append entry reply 2022-11-12 20:28:45 +08:00
shenglian zhou 532189d662 fix: fix asan error of leaked memory 2022-11-12 19:42:49 +08:00
Shengliang Guan 54e05aee26 enh: adjust sync append entry reply 2022-11-12 18:21:58 +08:00
Shengliang Guan 437daf8c90 enh: adjust sync append entry msg 2022-11-12 16:43:44 +08:00
Shengliang Guan 2dfc970572 enh: adjust sync append entry msg 2022-11-12 16:40:09 +08:00
Haojun Liao 7b53b8142e refactor: do some internal refactor. 2022-11-12 16:03:47 +08:00
Shengliang Guan 5b46cbefe9 enh: adjust request vote reply 2022-11-12 15:24:49 +08:00
Shengliang Guan cd19ff0173 enh: adjust request vote reply 2022-11-12 13:17:56 +08:00
Shengliang Guan 8cca68f29d enh: adjust request vote msg 2022-11-12 12:58:08 +08:00
Shengliang Guan 26cb3c3856 refact: remove sync batch codes 2022-11-12 12:26:56 +08:00
Shengliang Guan 8deb3b83df refact: adjust timeout msg build 2022-11-12 10:54:36 +08:00
Shengliang Guan 60fd3c4e0e Merge branch '3.0' into fix/TD-20052 2022-11-12 10:22:01 +08:00
Shengliang Guan 2da7eac62d refact: adjust timeout msg build 2022-11-12 10:21:16 +08:00
Shengliang Guan 48c0358e98
Merge pull request #18073 from taosdata/feature/stream
fix(query): set tbname for stream session delete
2022-11-12 09:42:18 +08:00
Shengliang Guan 0597c01107
Merge pull request #18070 from taosdata/fix/TD-20052
refact: remove sync ping and pingreply
2022-11-12 09:41:43 +08:00
Benguang Zhao def4058eb1 feat: impl pipelining negotiation 2022-11-11 22:55:21 +08:00
Haojun Liao ab52d28cb0 refactor: do some internal refactor. 2022-11-11 22:18:06 +08:00
yihaoDeng 5a0da6d28d conn timeout refactor 2022-11-11 21:42:23 +08:00
yihaoDeng 174ba6ad6e conn timeout refactor 2022-11-11 21:18:36 +08:00
Minghao Li 352c2d8ec0 refactor(sync): pre snapshot 2022-11-11 20:46:30 +08:00
yihaoDeng df950055c2 fix tablemeta leak 2022-11-11 20:23:16 +08:00
yihaoDeng 197d5d4b7a free unfinished ahandle while quit 2022-11-11 19:41:02 +08:00
yihaoDeng 3572fa7f67 Merge branch '3.0' of https://github.com/taosdata/TDengine into tdd 2022-11-11 19:21:16 +08:00
yihaoDeng 52b28fbceb fix ahandle mem leak 2022-11-11 19:16:51 +08:00
dapan1121 56b33e9200 Merge remote-tracking branch 'origin/3.0' into fix/TD-20300 2022-11-11 18:57:12 +08:00
dapan1121 f60441e2dd fix: fix query thread quitting issue 2022-11-11 18:44:59 +08:00
Haojun Liao 6ae82b071e refactor: do some internal refactor. 2022-11-11 18:28:16 +08:00
dapan1121 7af2444300
Merge pull request #18065 from taosdata/fix/TD-20333
fix:avoid duplicate results
2022-11-11 18:16:20 +08:00
Haojun Liao f3be445412 refactor: do some internal refactor. 2022-11-11 18:09:38 +08:00
Liu Jicong 0a298fb23d fix(query): set tbname for stream session delete 2022-11-11 18:06:41 +08:00
Shengliang Guan 278cf9d327 refact: remove sync ping and pingreply 2022-11-11 17:48:15 +08:00
Shengliang Guan a18c731cd0 refact: remove sync ping and pingreply 2022-11-11 17:35:04 +08:00
Shengliang Guan 9d9e4ae01f
Merge pull request #18062 from taosdata/fix/TD-20052
refact: adjust head file and sync log
2022-11-11 17:30:53 +08:00
Shengliang Guan b33d0e05f7
Merge pull request #18060 from taosdata/fix/set_offset_for_empty_record
fix(query): set offset for empty record
2022-11-11 17:30:38 +08:00
dapan1121 89c13efba8 fix: fix query thread quit issue 2022-11-11 17:13:55 +08:00
Ganlin Zhao 2b53f7be84 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 16:43:45 +08:00
Ganlin Zhao eec1b0bfb0 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 16:22:31 +08:00
54liuyao 7ea790021f fix:avoid duplicate results 2022-11-11 16:18:54 +08:00
yihaoDeng 8fa39accdf conn timeout refactor 2022-11-11 16:11:37 +08:00
Shengliang Guan 170b78ec74
Merge pull request #18054 from taosdata/fix/3.0_bugfix_wxy
enh: optimize the error message when illegally modifying the column length
2022-11-11 16:06:50 +08:00
yihaoDeng 50f148abac conn timeout refactor 2022-11-11 16:04:20 +08:00
Liu Jicong 265bb81b49 fix(query): set offset for empty record 2022-11-11 15:35:17 +08:00
Ganlin Zhao 1cba568604 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 15:22:00 +08:00
Shengliang Guan 1336ed11b2 refact: adjust sync ping message handler 2022-11-11 15:06:47 +08:00
Shengliang Guan 791802b656 Merge remote-tracking branch 'origin/3.0' into enh/TD-20052 2022-11-11 14:44:47 +08:00
Shengliang Guan 57f1b593e4 refact: adjust head file and sync log 2022-11-11 14:40:21 +08:00
Shengliang Guan fd152f00ec refact: adjust head file and sync log 2022-11-11 14:35:16 +08:00
Shengliang Guan b4f8e45401 refact: adjust head file and sync log 2022-11-11 14:25:24 +08:00
Haojun Liao b83f895726 refactor: do some internal refactor. 2022-11-11 14:16:13 +08:00
Xiaoyu Wang dd4333b140 enh: optimize the error message when illegally modifying the column length 2022-11-11 14:11:42 +08:00
Shengliang Guan d7b74c38d8
Merge pull request #18051 from taosdata/fix/3.0_bugfix_wxy
fix: the problem of null in case when expression
2022-11-11 13:45:19 +08:00
Shengliang Guan 5de865992a refact: adjust head file and sync log 2022-11-11 12:19:10 +08:00
Xiaoyu Wang 35b79e7e69 fix: the problem of null in case when expression 2022-11-11 11:24:24 +08:00
Shengliang Guan b28f05e6fb
Merge pull request #18037 from taosdata/feature/stream
fix(stream): tbname max len to 192
2022-11-11 11:08:40 +08:00
Shengliang Guan 4d0c5c9d57 refact: adjust head file and sync log 2022-11-11 11:06:39 +08:00
Liu Jicong df4fd528c0 fix(stream): tbname max len to 192 2022-11-11 10:09:46 +08:00
Shengliang Guan 41c76d662f Merge branch '3.0' into fix/TD-20052 2022-11-11 09:39:00 +08:00
dapan1121 0eb89b1bd7
Merge pull request #18022 from taosdata/fix/TS-2038
fix(operator):Operator double free
2022-11-11 09:38:44 +08:00
Minghao Li 1c2892988f refactor(sync): modify CMakeLists.txt in test 2022-11-11 09:30:08 +08:00
Minghao Li a623ec31df refactor(sync): modify CMakeLists.txt in test 2022-11-11 09:25:38 +08:00
Minghao Li 03ca300520 refactor(sync): modify test, syncRespMgrTest.cpp 2022-11-11 09:20:05 +08:00
Shengliang Guan 8f1c969377
Merge pull request #18027 from taosdata/enh/3.0_planner_optimize
enh: show table tags command extension
2022-11-11 09:09:06 +08:00
Shengliang Guan 58f04f955f
Merge pull request #18034 from taosdata/enh/addRpcConfig
enh: add rpc retry config
2022-11-11 09:08:40 +08:00
yihaoDeng 27ebbdadf2 add rpc retry config 2022-11-10 19:44:45 +08:00
Haojun Liao ea83ae239e refactor: do some internal refactor. 2022-11-10 18:58:10 +08:00
yihaoDeng 1c519bcae0 redefine timer 2022-11-10 18:43:57 +08:00
Xiaoyu Wang 375657b2c8 enh: show table tags command extension 2022-11-10 18:24:20 +08:00
Xiaoyu Wang 38f20ec32d enh: show table tags command extension 2022-11-10 17:22:13 +08:00
yihaoDeng 5c5d70e0fc enh log 2022-11-10 17:05:53 +08:00
Shengliang Guan 8a051c001d refact: adjust sync debug codes 2022-11-10 17:05:13 +08:00
Liu Jicong 64f22d560c refactor(stream): drop stream task 2022-11-10 16:36:49 +08:00
54liuyao 1ca9839170 fix(operator):Operator double free 2022-11-10 15:47:07 +08:00
Liu Jicong 4afa56eb38 merge 3.0 2022-11-10 15:38:30 +08:00
Haojun Liao 9f5cf450de refactor: do some internal refactor. 2022-11-10 15:37:18 +08:00
Liu Jicong cebc6b6697 fix(stream): state and session agg partition tbname 2022-11-10 14:43:37 +08:00
Shengliang Guan 16418afb74
Merge pull request #18017 from taosdata/fix/3.0_bugfix_wxy
fix: case when type error
2022-11-10 14:39:12 +08:00
dapan1121 7dea2e99d3
Merge pull request #17973 from taosdata/fix/TD-20273
fix: free unfinished ahandle when cli quit
2022-11-10 13:52:32 +08:00
Shengliang Guan 79a8ebb304
Merge pull request #18016 from taosdata/fix/TD-20052
refact: remove assert and adjust log
2022-11-10 13:35:41 +08:00
Xiaoyu Wang 6f7d43c371 fix: case when type error 2022-11-10 13:33:55 +08:00
Shengliang Guan fba45da225 refact: remove assert and adjust log 2022-11-10 12:43:23 +08:00
Shengliang Guan f7d263862b refact: remove assert and adjust log 2022-11-10 11:26:52 +08:00
Shengliang Guan 5fb254739c
Merge pull request #18013 from taosdata/feature/stream
fix(stream): partition tbname reset to null
2022-11-10 11:22:06 +08:00
Liu Jicong d56dc950e4 fix(stream): partition tbname reset to null 2022-11-10 10:02:45 +08:00
dapan1121 56c5eb29b9
Merge pull request #18005 from taosdata/enh/TD-20288
enh: support vgroup epset update
2022-11-10 09:41:25 +08:00
Shengliang Guan 69ea49c4c0 Merge branch '3.0' into fix/TD-20052 2022-11-10 09:06:45 +08:00
Shengliang Guan b067079d7a
Merge pull request #18007 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-11-10 08:12:36 +08:00
Haojun Liao a2cec238ec fix(query): set correct operator type. 2022-11-09 22:16:56 +08:00
Shengliang Guan 2103df2907
Merge pull request #18006 from taosdata/feature/3.0_mhli
refactor(sync): if index less than wal.commitVer, do not truncate, otherwise it will print much log
2022-11-09 21:44:18 +08:00
Haojun Liao 015f1a1df8 other: merge 3.0 2022-11-09 19:17:45 +08:00
Shengliang Guan efbe9ecbdc
Merge pull request #17999 from taosdata/fix/TD-20052
refact: move sync test code to single lib and reduce the number of memory copies
2022-11-09 19:14:33 +08:00
Haojun Liao 2402fd1d48 refactor: do some internal refactor. 2022-11-09 19:14:27 +08:00
Shengliang Guan 4646640a11
Merge pull request #18001 from taosdata/fix/sync
fix(sync): fix AddressSanitizer error
2022-11-09 19:13:48 +08:00
Minghao Li fb9e62afe2 refactor(sync): if index less than wal.commitVer, do not truncate, otherwise it will print much log 2022-11-09 19:02:50 +08:00
Shengliang Guan 98b77fe8b4 refact: adjust head file 2022-11-09 19:02:47 +08:00
dapan1121 b607f4736d
Merge pull request #17996 from taosdata/fix/TD-20277
fix: fix valgrind invalid read error
2022-11-09 19:01:17 +08:00
dapan1121 2f807a85d0 Merge remote-tracking branch 'origin/3.0' into enh/TD-20288 2022-11-09 18:52:00 +08:00
Shengliang Guan 9584c07efc
Merge pull request #18000 from taosdata/fix/3.0_bugfix_wxy
fix: some problems of parser
2022-11-09 18:49:57 +08:00
dapan1121 9f7e06721c enh: support vgroup epset update 2022-11-09 18:48:52 +08:00
Shengliang Guan be9a32fcfd
Merge pull request #17998 from taosdata/fix/liao_cov
fix(query): fix syntax errors.
2022-11-09 18:13:43 +08:00
Shengliang Guan fdad108726 Merge branch '3.0' into fix/TD-20052 2022-11-09 18:02:46 +08:00
Shengliang Guan 35bacc2f96
Merge pull request #17995 from taosdata/feature/3.0_mhli
refactor(sync): add FpApplyQueueItems in fsm
2022-11-09 17:40:28 +08:00
Xiaoyu Wang 6298f92d56 fix: some problems of parser 2022-11-09 17:39:28 +08:00
Minghao Li 153c01ee73 fix(sync): fix AddressSanitizer error 2022-11-09 17:38:46 +08:00
Shengliang Guan f2fd847414 refact: move sync test code to single lib 2022-11-09 17:35:22 +08:00
Minghao Li fcc50467f4 fix(sync): fix AddressSanitizer error 2022-11-09 17:33:22 +08:00
Shengliang Guan 340bad7e99 Merge branch '3.0' into fix/TD-20052 2022-11-09 17:29:24 +08:00
Haojun Liao ffa34888df Merge branch '3.0' into fix/liao_cov 2022-11-09 17:14:32 +08:00
Haojun Liao 464f108e48 fix(query): fix syntax errors. 2022-11-09 17:14:01 +08:00
Haojun Liao 3f62f14cee refactor: do some internal refactor. 2022-11-09 16:54:33 +08:00
Minghao Li 2391391621 refactor(sync): save error code in syncPrintNodeLog 2022-11-09 16:44:05 +08:00
Ganlin Zhao e0f2a4b5fe Merge branch '3.0' into fix/TD-20277 2022-11-09 16:42:22 +08:00
Ganlin Zhao 652c6388f2 fix: fix valgrind invalid read error 2022-11-09 16:40:17 +08:00
Minghao Li 18363f52e5 refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:35:26 +08:00
Minghao Li d672e7a05c refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:18:28 +08:00
Haojun Liao fa45cd2ce8 enh(query): unfold the loop. 2022-11-09 15:50:31 +08:00
Haojun Liao 2ee0cf6701 fix(query): fix the string copy error. 2022-11-09 15:19:27 +08:00
dapan1121 ba34b7477f
Merge pull request #17986 from taosdata/feature/TD-20283
fix(operator):partition operator memory leak
2022-11-09 15:03:23 +08:00
Shengliang Guan 15e7e345dc refact: move sync test code to single lib 2022-11-09 14:45:07 +08:00
Haojun Liao 411371ba48 refactor: do some internal refactor. 2022-11-09 14:16:21 +08:00
Haojun Liao dc67c5041a refactor: do some internal refactor. 2022-11-09 13:46:19 +08:00
Haojun Liao b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
Shengliang Guan 0656cd8fe4
Merge pull request #17984 from taosdata/feature/3.0_mhli
refactor(sync): delete assert, call FpCommitCb when multi replica
2022-11-09 13:27:10 +08:00
54liuyao da13891ca4 fix(stream):partition operator memory leak 2022-11-09 12:52:17 +08:00
Shengliang Guan 0d4239af46
Merge pull request #17976 from taosdata/feature/3_liaohj
enh(query): optimize the query perf.
2022-11-09 11:41:17 +08:00
Minghao Li 372d26f74b refactor(sync): delete assert, call FpCommitCb when multi replica 2022-11-09 11:24:11 +08:00
dapan1121 7af6a0feaa
Merge pull request #17963 from taosdata/feature/stream_ly
fix(stream): state window, error result after deleting data
2022-11-09 11:18:25 +08:00
Haojun Liao 459bed5f86 enh(query): improve the query perf. 2022-11-09 10:41:53 +08:00
Haojun Liao 0c427b5f5b refactor: do some internal refactor. 2022-11-09 10:39:32 +08:00
Haojun Liao e3aabacf9a fix(query): fix error in min/max functions. 2022-11-09 09:47:21 +08:00
Haojun Liao 68f2f92116 fix(query): fix the syntax errors. 2022-11-09 09:07:21 +08:00
Haojun Liao d238f387ce other: merge 3.0 2022-11-09 00:00:14 +08:00
Shengliang Guan ebc17283de
Merge pull request #17974 from taosdata/fix/TD-20052
refact: adjust sync resp mgr
2022-11-08 23:56:25 +08:00
Shengliang Guan bf1aca1b9e fix: send response on enqueue msg failed 2022-11-08 23:00:14 +08:00
Shengliang Guan 1c8a2d696d fix: send response on enqueue msg failed 2022-11-08 22:59:05 +08:00
Shengliang Guan a4e96ca833 refact: adjust sync resp mgr 2022-11-08 22:43:12 +08:00
yihaoDeng 1ed333140b fix invalid free 2022-11-08 22:09:58 +08:00
yihaoDeng 7b30a6ee23 free unfinished ahandle while quit 2022-11-08 20:45:11 +08:00
dapan1121 fc85fc4048
Merge pull request #17971 from taosdata/fix/TS-2015
fix: TS-2015
2022-11-08 19:20:42 +08:00
Haojun Liao dc2c419f22 enh(query): optimize the query perf. 2022-11-08 19:01:35 +08:00
yihaoDeng 495bfe932a fix invalid free 2022-11-08 18:56:44 +08:00
Ganlin Zhao b902ab0d61 refactor code 2022-11-08 18:48:22 +08:00
Haojun Liao ecf3e2c000 enh(query): optimize the perf. 2022-11-08 18:44:28 +08:00
Shengliang Guan 855bcc72fc
Merge pull request #17969 from taosdata/fix/3.0_bugfix_wxy
fix: set operator subplan type error
2022-11-08 18:36:12 +08:00
Ganlin Zhao f19f620136 interp fill linear do not output NULL value 2022-11-08 18:25:38 +08:00
yihaoDeng 3c6246f85f TS-2015 2022-11-08 18:18:33 +08:00
dapan1121 884144ba23
Merge pull request #17960 from taosdata/fix/TD-20267
fix: filter merge issue
2022-11-08 17:52:31 +08:00
Haojun Liao 6e1a2b1e54 enh(query): improve the perf. 2022-11-08 17:38:09 +08:00
Xiaoyu Wang 1c9b0b38d8 fix: set operator subplan type error 2022-11-08 17:35:38 +08:00
Haojun Liao f85d66f5ee enh(query): opt query perf. 2022-11-08 16:59:00 +08:00
Shengliang Guan 920fc400a0
Merge pull request #17964 from taosdata/fix/TD-20264
fix: add log for use db rsp
2022-11-08 16:07:55 +08:00
dapan1121 398ccbcc9d
Merge pull request #17957 from taosdata/fix/compareIssue
fix: fix compare invalid read issues
2022-11-08 15:07:22 +08:00
Haojun Liao b0a54d3fab enh(query): improve the perf. 2022-11-08 14:54:42 +08:00
Ganlin Zhao 6aca4b8a5c enh: interp fill linear ignore null values during calculation 2022-11-08 14:51:32 +08:00
Ganlin Zhao a7d21c9ee7 enh: interp fill linear ignore null values during calculation 2022-11-08 14:50:03 +08:00
Shengliang Guan c016266989
Merge pull request #17951 from taosdata/fix/3.0_bugfix_wxy
fix: state_window error
2022-11-08 14:48:24 +08:00
54liuyao f66eded1e1 fix(stream): state window, error result after deleting data 2022-11-08 14:40:44 +08:00
dapan1121 d09351da68 fix: filter merge issue 2022-11-08 14:22:00 +08:00
Haojun Liao 032208e36a enh(query): optimize the query perf. 2022-11-08 14:01:29 +08:00
Shengliang Guan 7a5be43d14
Merge pull request #17954 from taosdata/feature/stream
fix(stream): delete tb should be checked in write thread
2022-11-08 13:50:15 +08:00
Shengliang Guan fb7d45303b fix: add log for use db rsp 2022-11-08 13:46:18 +08:00
dapan1121 fc73d39add fix: fix compare invalid read issues 2022-11-08 13:27:17 +08:00
Shengliang Guan 75d7ae5a9d
Merge pull request #17953 from taosdata/enh/TD-20263
enh: optimize the error code when create and drop a db in dropping status
2022-11-08 13:24:48 +08:00
Haojun Liao 2621dec4ae enh(query): improve the perf. 2022-11-08 12:02:44 +08:00
Xiaoyu Wang 8f7c0b8c60 fix: state_window error 2022-11-08 11:35:12 +08:00
Liu Jicong bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Shengliang Guan 36450e6dd7 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 11:08:14 +08:00
Xiaoyu Wang 2d6c4ebda8 fix: state_window error 2022-11-08 10:18:27 +08:00
Shengliang Guan 1f91eef038
Merge pull request #17932 from taosdata/fix/tdb-prep-async-commit
enh(tdb): new interface of meta prep async commit
2022-11-08 09:43:36 +08:00
dapan1121 b5ab7eaf5e
Merge pull request #17891 from taosdata/fix/TD-19906
fix(query): add mode with selectivity rows
2022-11-08 09:36:21 +08:00
Haojun Liao 9863879951 refactor: do some internal refactor. 2022-11-08 09:21:43 +08:00
Shengliang Guan 91e2a6b9e6
Merge pull request #17936 from taosdata/feature/3_liaohj
refactor: refactor to avoid spin operator in exchange operator.
2022-11-08 09:01:10 +08:00
Shengliang Guan 4a0468aa45
Merge pull request #17945 from taosdata/enh/TD-20043
reafct: adjust sync propose
2022-11-08 08:44:30 +08:00
Haojun Liao 1da67a569d fix(query): set correct status. 2022-11-08 00:23:40 +08:00
Shengliang Guan e21c20e229
Merge pull request #17941 from taosdata/fix/bench
fix: avoid cpu load imbalance
2022-11-07 23:34:55 +08:00
Shengliang Guan 29f8878519 refactor: adjust sync hb 2022-11-07 23:32:04 +08:00
Shengliang Guan 05d0a0fe30 Merge branch 'enh/TD-20043' of https://github.com/taosdata/TDengine into enh/TD-20043 2022-11-07 23:31:09 +08:00
Shengliang Guan 9914657cb0 refactor: adjust sync hb 2022-11-07 23:31:01 +08:00
Shengliang Guan 70d60a764f Merge branch '3.0' into enh/TD-20043 2022-11-07 23:29:53 +08:00
Shengliang Guan 8c97a5c1f2
Merge pull request #17940 from taosdata/feature/3.0_mhli
refactor(sync): delete assert, add error log
2022-11-07 23:26:24 +08:00
Shengliang Guan 848fd58402 enh: adjust sync propose 2022-11-07 21:12:43 +08:00
Minglei Jin 1a4cf6964b fix: add post commit to tq & stream 2022-11-07 20:34:23 +08:00
Shengliang Guan 4ddd25a29c enh: adjust sync propose 2022-11-07 20:31:26 +08:00
Shengliang Guan 46e55ba9fb refact: remove config change codes 2022-11-07 20:19:55 +08:00
yihaoDeng a8bb8373f4 avoid rpc send-recv cpu imbalance 2022-11-07 20:08:14 +08:00
Minghao Li d05f9412eb refactor(sync): delete assert, add error log 2022-11-07 19:40:49 +08:00
Shengliang Guan e060de7059 refact: remove config change codes 2022-11-07 19:34:48 +08:00
Haojun Liao b16853983e fix(query): count the correct number of completed sources. 2022-11-07 19:27:35 +08:00
Shengliang Guan 1ddbeb43bb refact: adjust sync log 2022-11-07 19:19:10 +08:00
Shengliang Guan bc072aa654 Merge branch '3.0' into enh/TD-20043 2022-11-07 18:45:44 +08:00
Shengliang Guan 4baafd3417 refact: adjust sync log 2022-11-07 18:44:29 +08:00
Shengliang Guan 854d840915
Merge pull request #17920 from taosdata/enh/3.0_planner_optimize
enh: insert optimize
2022-11-07 18:38:43 +08:00
Shengliang Guan b0f469adb1
Merge pull request #17931 from taosdata/feature/3.0_mhli
fix(sync): when apply queue not empty, can not read
2022-11-07 18:29:53 +08:00
Haojun Liao d016fc9d47 fix(query): set retrieve completed flag for exchange operator. 2022-11-07 18:27:26 +08:00
yihaoDeng 962ed38676 stmt reqid incr one 2022-11-07 18:15:09 +08:00
Haojun Liao 9932fa6bf0 refactor: refactor to avoid spin operator in exchange operator. 2022-11-07 17:48:27 +08:00
dapan1121 3e3354782c
Merge pull request #17930 from taosdata/enh/showWrite
enh: support grant check in vnode query
2022-11-07 17:42:15 +08:00
gccgdb1234 1102a88ad0 bench 2022-11-07 17:35:45 +08:00
Shengliang Guan a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Minglei Jin c17f8244be enh(tdb): new interface of meta prep async commit 2022-11-07 16:45:29 +08:00
Minghao Li b6aea6ae17 fix(sync): when apply queue not empty, can not read 2022-11-07 16:40:53 +08:00
dapan1121 5ab6166efe enh: support grant check in vnode query 2022-11-07 16:23:40 +08:00
Haojun Liao 0e11d344cc fix(query): increase the buffer size to 128Kb. 2022-11-07 16:04:13 +08:00
Haojun Liao 088a61bee5 fix(query): release the handle 2022-11-07 16:02:53 +08:00
yihaoDeng 90fc572394 avoid epset leak 2022-11-07 15:32:48 +08:00
Haojun Liao c86427c771 fix(query): enable update buf. 2022-11-07 15:27:09 +08:00
Xiaoyu Wang 00c0a5634e Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-07 14:56:35 +08:00
Haojun Liao fea40da5dc other: merge 3.0 2022-11-07 14:31:01 +08:00
Benguang Zhao 5878c9a31a fix: impl ring log buffer 2022-11-07 14:27:22 +08:00
Haojun Liao 2a49fed4ad fix(query): remove invalid free. 2022-11-07 14:02:23 +08:00
Haojun Liao 558cf28ae7 other: add log. 2022-11-07 13:26:10 +08:00
Haojun Liao 8ec132be6e other: add log. 2022-11-07 13:25:09 +08:00
Haojun Liao cd29972a4d enh(query): add cache for table meta. 2022-11-07 11:53:23 +08:00
Xiaoyu Wang 758b4b93a4 enh: insert optimize 2022-11-07 11:31:45 +08:00
Haojun Liao f86bfb433c Merge branch '3.0' into fix/liao_cov 2022-11-07 10:20:05 +08:00
Haojun Liao be5b72b25d enh(query): add cache for table meta entry in table scan. 2022-11-07 10:17:42 +08:00
Haojun Liao c1794e0252 refactor: do some internal refactor. 2022-11-07 09:38:44 +08:00
Haojun Liao 270404318c other: merge 3.0 2022-11-07 09:28:22 +08:00
dapan1121 888616f321
Merge pull request #17876 from taosdata/fix/TD-20140
fix(query): fix countAlwaysReturnValue param not taking effect for count and hyperloglog
2022-11-07 09:25:15 +08:00
Haojun Liao 341112923b fix(query): init filter in group operator. 2022-11-06 23:42:04 +08:00
Haojun Liao 2c4c9e69de fix(query): init filter in sys table scan. 2022-11-06 23:15:23 +08:00
Xiaoyu Wang b7bc828172 enh: insert optimize 2022-11-06 18:42:53 +08:00
Haojun Liao f44dd569cc fix(query): remove the invalid capacity changing. 2022-11-06 16:09:19 +08:00
Haojun Liao 10cd3c0f29 fix(query): remove the invalid capacity changing. 2022-11-06 15:18:33 +08:00
Xiaoyu Wang ac2ce21414 enh: insert optimize 2022-11-06 14:26:19 +08:00
Haojun Liao 9d1998d7d2 fix(query): temporarily disable assert. 2022-11-06 11:53:07 +08:00
Haojun Liao e3d0bc6bf7 other: merge 3.0. 2022-11-06 11:37:21 +08:00
Haojun Liao d200fe5145 refactor: do some internal refactor. 2022-11-06 01:34:04 +08:00
Shengliang Guan 47dfd9d3cb
Merge pull request #17917 from taosdata/fix/TD-19245
fix: coverity issues
2022-11-05 21:00:39 +08:00
Shengliang Guan fc7f62d29d
Merge pull request #17901 from taosdata/fix/TD-20174
fix: fix memory leak
2022-11-05 20:01:30 +08:00
Shengliang Guan adb335467c fix: coverity issues 2022-11-05 19:59:18 +08:00
dapan1121 91ff489813
Merge pull request #17899 from taosdata/fix/TD-20170
fix: fix interval query memory leak
2022-11-05 16:44:15 +08:00
dapan1121 1c78e2b4f8
Merge pull request #17909 from taosdata/fix/TD-20183
fix: fix catalog double free issue
2022-11-05 15:38:49 +08:00
dapan1121 7081ebe9e6
Merge pull request #17877 from taosdata/enh/TD-19920
enh: add show rewrite mask in query msg
2022-11-05 15:35:51 +08:00
Xiaoyu Wang 7484ff430c enh: insert optimize 2022-11-05 12:09:11 +08:00
Minghao Li 28377a9f37 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-11-05 10:56:09 +08:00
Minghao Li ddb815ac42 refactor(sync): optimize advance commit index when one replica 2022-11-05 10:54:59 +08:00
Haojun Liao 8bf01cdecb fix(query): fix error in unit test. 2022-11-05 00:02:25 +08:00
Haojun Liao 8c4be7dc21 refactor: do some internal refactor. 2022-11-04 22:13:40 +08:00
dapan1121 4443c7a9eb fix: fix catalog double free issue 2022-11-04 18:50:59 +08:00
Haojun Liao 03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Shengliang Guan 8ce2e12423
Merge pull request #17886 from taosdata/feature/3_liaohj
fix(query): set the last key of each tablescan info
2022-11-04 18:46:17 +08:00
Xiaoyu Wang 80dc658dbb Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-04 18:03:21 +08:00
Xiaoyu Wang 91da143ae5 enh: insert optimize 2022-11-04 18:01:39 +08:00
Hui Li cc3de73708
Merge pull request #17893 from taosdata/feature/3.0_mhli
refactor(sync): delete assert
2022-11-04 16:16:17 +08:00
Ganlin Zhao 1204faefb6 fix: fix memory leak 2022-11-04 16:15:37 +08:00
Shengliang Guan 8886785be1
Merge pull request #17853 from taosdata/fix/liao_cov
refactor(query): do some internal  refactor.
2022-11-04 15:58:11 +08:00
Xiaoyu Wang 9ae008235c enh: insert optimize 2022-11-04 15:45:47 +08:00
Xiaoyu Wang 8513dc1067 enh: insert optimize 2022-11-04 15:21:38 +08:00
Minghao Li 47d9fe6422 fix(sync): do not vote when last-index < my cmt index 2022-11-04 15:10:08 +08:00
dapan1121 69d545fb8d fix: fix interval query memory leak 2022-11-04 13:55:54 +08:00
dapan1121 65636154ea fix: fix msg head issue 2022-11-04 10:47:49 +08:00
Minghao Li 1f329f3025 refactor(sync): delete assert 2022-11-04 10:41:36 +08:00
Ganlin Zhao 85748ce8fd Merge branch '3.0' into fix/TD-20140 2022-11-04 09:44:28 +08:00
Haojun Liao 9c33d10ad9 refactor: remove the unnecessary function. 2022-11-04 09:15:14 +08:00
Shengliang Guan a2692a3d4e
Merge pull request #17878 from taosdata/fix/handleTransExcept
fix: handle trans except
2022-11-04 09:07:36 +08:00
Haojun Liao abfa8c1d87 fix(query): add api to memset buffer for filtering data. 2022-11-03 22:05:08 +08:00
Haojun Liao 0315414623 other: merge 3.0 2022-11-03 19:03:09 +08:00
Haojun Liao 4959529127 fix(query): set the last key of each tablescan info 2022-11-03 19:00:13 +08:00
Ganlin Zhao a0e13e04fe fix(query): add mode with selectivity rows 2022-11-03 18:27:43 +08:00
yihaoDeng 2c4d90aad4 handle trans except 2022-11-03 16:55:48 +08:00
dapan1121 ae5f6ef175 enh: add show rewrite mask in query msg 2022-11-03 16:28:48 +08:00
Shengliang Guan 33d64b67ff
Merge pull request #17865 from taosdata/feature/stream
refactor(stream): stream deploy and state transfer
2022-11-03 15:24:39 +08:00
Shengliang Guan c392abb0ad
Merge pull request #17869 from taosdata/feature/3.0_mhli
refactor(sync): add syncIsReadyForRead
2022-11-03 15:23:34 +08:00
dapan1121 62ca522b80
Merge pull request #17861 from taosdata/fix/TD-20086
fix: fix taosd memory leak issue
2022-11-03 15:05:57 +08:00
Ganlin Zhao 0b3a3aff21 fix hll tsCountAlwaysReturnValue not working 2022-11-03 15:01:52 +08:00
Minghao Li 0838afaa18 refactor(sync): add syncIsReadyForRead, set error code 2022-11-03 14:35:42 +08:00
Minghao Li a4b54c4f0e refactor(sync): add syncIsReadyForRead 2022-11-03 13:57:57 +08:00
Shengliang Guan 6cef3fa4fa
Merge pull request #17856 from taosdata/feature/3.0_mhli
enh(sync): add sync pre stop, local-cmd:follower-commit
2022-11-03 13:40:35 +08:00
Liu Jicong 15ad147c40 Merge branch '3.0' into feature/stream 2022-11-03 13:37:59 +08:00
Liu Jicong 2fbc8e6306 refactor(stream): stream deploy and state transfer 2022-11-03 13:22:23 +08:00
Minghao Li 1fc79e289d refactor(sync): modify leader transfer 2022-11-03 11:50:24 +08:00
dapan1121 499a266daf
Merge pull request #17855 from taosdata/fix/TD-20087
fix: fix tbname in crash issue
2022-11-03 11:48:31 +08:00
dapan1121 d282e511e3 fix: fix taosd memory leak issue 2022-11-03 11:47:15 +08:00