Commit Graph

7001 Commits

Author SHA1 Message Date
Minglei Jin ceec953498 fix: copy binary type column data out 2022-10-19 14:50:36 +08:00
Minglei Jin 60d889a0fc Merge branch 'feature/3_liaohj' of https://github.com/taosdata/TDengine into feature/3_liaohj 2022-10-19 13:59:42 +08:00
Minglei Jin a1c18bba33 fix: cache load calculation 2022-10-19 13:58:59 +08:00
Hongze Cheng cc455b9903 fix: coverity scan problem 2022-10-19 13:40:16 +08:00
Haojun Liao 74305814f0 fix(query): fix coverity issues. 2022-10-19 13:38:01 +08:00
Shengliang Guan 0e30d177fa Merge remote-tracking branch 'origin/3.0' into enh/TD-19623 2022-10-19 13:33:00 +08:00
Shengliang Guan c58daa705b
Merge pull request #17468 from taosdata/enh/TD-19611
enh: close vnode with multiple threads
2022-10-19 13:27:49 +08:00
Shengliang Guan 35a071b9c3 enh: close vnode with multiple threads 2022-10-19 12:13:13 +08:00
Hongze Cheng 20b3e2168b Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 11:56:15 +08:00
Shengliang Guan 67e23350b2
Merge pull request #17461 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-19 11:54:35 +08:00
Shengliang Guan 93f0c4c854
Merge pull request #17462 from taosdata/fix/TD-19254-D
chore: code optimization for sma commit
2022-10-19 11:42:01 +08:00
Benguang Zhao f23018e38a fix: get a thread id for printing with taosGetPthreadId 2022-10-19 11:26:37 +08:00
Haojun Liao f7fdeecc44
Merge branch '3.0' into feature/3_liaohj 2022-10-19 11:23:55 +08:00
Shengliang Guan 96ca18e61e Merge remote-tracking branch 'origin/3.0' into enh/TD-19623 2022-10-19 11:18:21 +08:00
Shengliang Guan 8764cf9adb refact: remove multi process codes 2022-10-19 11:08:42 +08:00
Minglei Jin 467c6386ed fix: last_row array element type 2022-10-19 11:06:08 +08:00
Minghao Li 28a5a9d7e1 refactor(sync): add log, update quorum first when reconfig 2022-10-19 10:57:50 +08:00
Hongze Cheng 7aa16f8e98 more fix 2022-10-19 10:43:06 +08:00
Hongze Cheng cebb964e31 fix more code 2022-10-19 10:33:07 +08:00
Hongze Cheng 1d6c5e63ed Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 10:13:59 +08:00
Haojun Liao 5dcd319d3b fix(query): update last_row callback function. 2022-10-19 10:07:20 +08:00
Shengliang Guan fc5af24975
Merge pull request #17444 from taosdata/enh/TD-19622
refact: remove bnode codes
2022-10-19 10:06:35 +08:00
Benguang Zhao 00a066443f Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 09:38:36 +08:00
Cary Xu 39243cbb19 Merge branch '3.0' into fix/TD-19254-D 2022-10-19 09:37:55 +08:00
Cary Xu a6e3da8045 chore: code optimization for sma commit 2022-10-19 09:37:38 +08:00
Haojun Liao c7c99ae346 fix(query): update last_row callback function. 2022-10-19 09:33:54 +08:00
Benguang Zhao 3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
dapan1121 53e73511b5 Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-19 09:16:13 +08:00
dapan1121 20085e5b72 fix:fix coverity issues 2022-10-19 09:15:04 +08:00
Hongze Cheng 71a2db6cf2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 09:10:36 +08:00
Shengliang Guan a941b0b919
Merge pull request #17441 from taosdata/enh/TD-19463_2
enh: sync propose return at once if replica is 1
2022-10-19 09:07:57 +08:00
Hongze Cheng 864111d85c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 09:02:01 +08:00
Liu Jicong 936c78f424
Merge pull request #17440 from taosdata/feature/stream
refactor: tmq commit
2022-10-18 23:47:26 +08:00
Hongze Cheng 74d025c783 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-18 22:47:12 +08:00
dapan1121 99fd3284df
Merge pull request #17439 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-18 22:15:20 +08:00
Haojun Liao d7e01b30c7 fix(query): update last_row callback function. 2022-10-18 19:13:42 +08:00
Minghao Li 4c9f10b6f3 refactor(sync): add sync ctrl queue in vnode 2022-10-18 19:12:34 +08:00
Minglei Jin 82132cdfdd meta: new metaFinishCommit api & rollback parameter with metaOpen 2022-10-18 18:34:39 +08:00
dapan1121 cbfc9872c6 fix: add cachesize in show create database result 2022-10-18 18:28:49 +08:00
Shengliang Guan b44a795179
Merge pull request #17432 from taosdata/fix/TD-19250-3
fix: coverity issues
2022-10-18 18:14:03 +08:00
Shengliang Guan 2ece142aba Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 18:13:16 +08:00
Shengliang Guan 3cbfd2d160
Merge pull request #17392 from taosdata/FIX/TD-19183-3.0
enh: not allowed to start on disk space unavailable
2022-10-18 17:46:14 +08:00
Shengliang Guan c30f6a7720
Merge pull request #17438 from taosdata/fix/TD-19254-D
chore: remove codes unused currently for sma
2022-10-18 17:44:58 +08:00
Haojun Liao 60e7f2800b fix(query): fix bug in cached last query. 2022-10-18 17:39:28 +08:00
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
Shengliang Guan 9e0feee081 enh: sync propose return at once if replica is 1 2022-10-18 17:06:03 +08:00
Liu Jicong ca2012a521 refactor: tmq commit 2022-10-18 16:56:07 +08:00
Hongze Cheng 0ca2d9e970 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-18 16:55:29 +08:00
Hongze Cheng 0706f2dea2 more code 2022-10-18 16:54:53 +08:00
dapan1121 0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00
Shengliang Guan af070148b9
Merge pull request #17394 from taosdata/enh/TD-19463_2
fix: crash while reconfig mnode will cause taosd reboot failure
2022-10-18 16:24:08 +08:00
Hongze Cheng 1779c17375 more code 2022-10-18 16:22:06 +08:00
Benguang Zhao 2525a5cf1f enh: report proper errorcode on disk unavailability 2022-10-18 16:06:52 +08:00
Cary Xu 4c6623d3dd chore: remove obsolete file 2022-10-18 15:47:36 +08:00
Cary Xu c528ae010f Merge branch '3.0' into fix/TD-19254-D 2022-10-18 15:42:52 +08:00
Cary Xu 0f5f0d7cfb chore: remove codes unused currently for sma 2022-10-18 15:42:28 +08:00
Shengliang Guan b92f1efd40 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 15:16:38 +08:00
Benguang Zhao 0cbaa03fcc fix: osDefaultInit on all platform in testing Init at sut.cpp 2022-10-18 14:51:19 +08:00
Shengliang Guan c5e9b6abd6
Merge pull request #17402 from taosdata/fix/TD-19259
fix: fix coverity scan problem
2022-10-18 14:50:45 +08:00
Shengliang Guan 0f6ba60da4 fix: wrong unlock commands 2022-10-18 14:49:43 +08:00
Minglei Jin 029abe7396 fix: coverity issues 2022-10-18 14:32:18 +08:00
Hongze Cheng 40c7fed80d more code 2022-10-18 14:00:12 +08:00
Minghao Li e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Hongze Cheng 5d51fdc663 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-18 13:50:55 +08:00
Hongze Cheng 6c1149f086 more code 2022-10-18 13:50:32 +08:00
Liu Jicong 12e5aa76a1
Merge pull request #17424 from taosdata/feature/stream
fix: memory leak
2022-10-18 13:48:16 +08:00
Hongze Cheng b7342525c7 more code 2022-10-18 13:38:26 +08:00
Shengliang Guan f76261dcb5 fix: become leader if replica num is 1 2022-10-18 12:31:15 +08:00
Haojun Liao 95dd30be57 fix(query): fix coverity issues. 2022-10-18 11:43:58 +08:00
yihaoDeng 0c6ada5eea Merge branch 'n2' into new 2022-10-18 11:42:00 +08:00
Liu Jicong 44401b6b90 fix: memory leak 2022-10-18 10:58:33 +08:00
Shengliang Guan 9490075f9c
Merge pull request #17412 from taosdata/feature/TD-19148-D
fix: coverity scan of dead code when print submit msg
2022-10-18 09:52:17 +08:00
Shengliang Guan a609f0efb5 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 09:37:33 +08:00
Shengliang Guan 1c245904d7
Merge pull request #17406 from taosdata/feature/stream
refactor(stream): optimize auto create child table
2022-10-17 23:00:02 +08:00
Haojun Liao 7e1521ba0a
Merge pull request #17401 from taosdata/fix/liao_cov
fix(query): fix coverity  issues.
2022-10-17 22:45:02 +08:00
Shengliang Guan 00080750fa fix: mnode may deadlock while drop another mnode if it crashed 2022-10-17 20:40:11 +08:00
yihaoDeng 80a8858fe1 fix invalid packet 2022-10-17 20:10:57 +08:00
dapan1121 1992925d8d Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-17 19:50:37 +08:00
dapan1121 cf9abe7258 fix: fix coverity check issues 2022-10-17 19:48:36 +08:00
Liu Jicong 77c4c8fd88 test: fix failed case 2022-10-17 19:47:34 +08:00
Haojun Liao c8b180b129 fix(query): update the cached last query. 2022-10-17 19:14:06 +08:00
Hongze Cheng 50dfc57cda
Merge pull request #17398 from taosdata/fix/TD-19250-2
fix: coverity issues
2022-10-17 18:59:40 +08:00
Cary Xu 5d5c0b876c fix: coverity scan of deadcode when print submit msg 2022-10-17 18:42:07 +08:00
Minglei Jin 109d50a4cc fix: last row array form bug 2022-10-17 18:13:38 +08:00
Haojun Liao da9df99461 fix(query): opt last query. 2022-10-17 17:59:43 +08:00
Minghao Li 8a6eaed6f6 refactor(sync): delete some code 2022-10-17 17:36:51 +08:00
Haojun Liao 2c656a2cdc Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2022-10-17 17:22:04 +08:00
Minglei Jin b62fa20b53 tsdb/cache: return last row as array of SLastCol 2022-10-17 17:20:32 +08:00
Liu Jicong bcae6e1f4e refactor(stream): optimize auto create child table 2022-10-17 17:18:57 +08:00
Minghao Li 94d8c09e58 refactor(sync): use new interface in mnode 2022-10-17 17:01:42 +08:00
Minghao Li 092a07475d refactor(sync): process hb and appendentries 2022-10-17 16:38:44 +08:00
yihaoDeng c9aadfadee fix coverity scan problem 2022-10-17 16:29:50 +08:00
Haojun Liao 4639051e68 fix(query): fix coverity issues. 2022-10-17 16:03:45 +08:00
Liu Jicong 7467a54a16
Merge pull request #17396 from taosdata/fix/client_mem_leak
fix: client mem leak
2022-10-17 16:01:53 +08:00
Minglei Jin 5c66712b91 fix: coverity issues 2022-10-17 15:28:10 +08:00
Haojun Liao 08397dc698
Merge pull request #17389 from taosdata/fix/liao_cov
fix(query): fix bug in group by tag.
2022-10-17 15:06:26 +08:00
Liu Jicong 73662b3058 refactor: table sink 2022-10-17 14:48:56 +08:00
Shengliang Guan 8fe672feab fix: crash whle reconfig mnode will cause taosd reboot failure 2022-10-17 14:34:51 +08:00
Benguang Zhao 23a4a37677 enh: not allowed to start when disk space unavailable 2022-10-17 14:22:20 +08:00
Liu Jicong eb26fbeaf2
Merge pull request #17385 from taosdata/feature/stream
fix: error handling
2022-10-17 14:21:18 +08:00
Haojun Liao ed9ec795eb fix(query): fix coverity issues. 2022-10-17 14:05:40 +08:00
Haojun Liao 87516ea332 fix(query): fix bug in group by tag. 2022-10-17 13:00:31 +08:00
Minghao Li 5745223bca refactor(sync): add double queues in mnode 2022-10-17 10:33:27 +08:00
Liu Jicong 980fdd6e91 fix: error handling 2022-10-17 10:27:15 +08:00
Liu Jicong 9a3ac0ca57 Merge branch '3.0' into feature/stream 2022-10-17 10:17:45 +08:00
Liu Jicong 6f9153c6e3 fix: error handling 2022-10-17 10:13:10 +08:00
Hongze Cheng ef06a9d265 fix more coverity scan problem 2022-10-17 09:58:34 +08:00
Shengliang Guan 4223b43a3a
Merge pull request #17322 from taosdata/FIX/TD-19239-3.0
fix: enhance subroutines to resolve WAL inconsistency after crashing or disk full
2022-10-17 09:06:16 +08:00
yihaoDeng 1132f72440 Merge branch 'n2' into new 2022-10-16 21:33:12 +08:00
Haojun Liao bcb3d41d08 fix(query): fix coverity issues. 2022-10-16 13:46:21 +08:00
Haojun Liao aa9c99fa53 Merge branch '3.0' into feature/3_liaohj 2022-10-16 12:50:05 +08:00
Minghao Li fa30b94c67 refactor(sync): append entries 2022-10-16 12:07:02 +08:00
Benguang Zhao 616eb5f903 Merge branch '3.0' into FIX/TD-19239-3.0 2022-10-16 00:29:01 +08:00
Benguang Zhao 34ea8996a0 fix: check disk availability for committing vnode 2022-10-15 23:57:37 +08:00
Benguang Zhao 8f6a81a18c enh: indicate intentionally restarting taosd on tsdbCommit failure 2022-10-15 23:57:37 +08:00
Benguang Zhao 12d870ef3b fix: response TSDB_CODE_VND_NOT_SYNCED while not pVnode->inUse in vnodeProcessWriteMsg 2022-10-15 23:57:37 +08:00
Shengliang Guan 31e712c16b
Merge pull request #17369 from taosdata/fix/TD-19559
fix(tsdb): checksum checking shall skip page 1 when loading
2022-10-15 21:55:27 +08:00
Shengliang Guan 513db327e8
Merge pull request #17366 from taosdata/fix/TD-19250
fix: dismiss some coverity scan issues
2022-10-15 21:54:58 +08:00
Hongze Cheng 85276450a3
Merge pull request #17370 from taosdata/fix/hzcheng_coverity_scan
fix: more cv issue
2022-10-15 20:45:13 +08:00
Shengliang Guan edf9253a16 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-15 17:19:08 +08:00
Hongze Cheng 7e174e347e fix more issue 2022-10-15 11:20:37 +08:00
Benguang Zhao 3af05070cf fix: assert on availability of inUse SVBufPool for vnode 2022-10-14 22:58:56 +08:00
Benguang Zhao 56b32a77a4 fix: allow to restart on disk space full, e.g. in dmCheckDiskSpace 2022-10-14 22:57:27 +08:00
Benguang Zhao 36bf800e15 fix: improve fault tolerance on disk space full with error handling enhanced 2022-10-14 22:02:27 +08:00
dapan1121 0df311a78f
Merge pull request #17264 from taosdata/refact/query_opt
refactor:do some internal refactor to optimize the query performance.
2022-10-14 19:51:46 +08:00
Shengliang Guan ea4ae8a960 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-14 19:23:02 +08:00
Minglei Jin b8dfe8707f fix(tsdb): checksum checking shall skip page 1 when loading 2022-10-14 18:58:07 +08:00
Shengliang Guan 78fb1911d4 enh: refactor the code to create and delete mnodes 2022-10-14 17:59:09 +08:00
Minglei Jin 3f46bd64b9 fix: dismiss some coverity scan issues 2022-10-14 17:47:21 +08:00
Minglei Jin 977fc4b15c fix(tsdb/cache): release lock when table's empty 2022-10-14 15:28:19 +08:00
Hongze Cheng e20dbd566a
Merge pull request #17352 from taosdata/fix/hzcheng_coverity_scan
fix: converity scan problem
2022-10-14 14:42:43 +08:00
Liu Jicong cface2840e
Merge pull request #17349 from taosdata/feature/stream
fix(tmq): push msg
2022-10-14 14:18:17 +08:00
Hongze Cheng 2268a1e94e fix some converity scan problem 2022-10-14 13:34:25 +08:00
Liu Jicong 6f8d4d6955 fix(tmq): push msg 2022-10-14 13:31:05 +08:00
Minghao Li 4d123c4da6 refactor(sync): add interface in sync 2022-10-14 11:18:48 +08:00
yihaoDeng bd5b94cb94 Merge branch 'd3' into new 2022-10-14 10:06:21 +08:00
Minghao Li 2ae4081a3f refactor(sync): add double queues in vnode 2022-10-13 20:57:36 +08:00
Minglei Jin 3a0ea21342 fix: get SLastCol from array instead of SColVal 2022-10-13 19:54:25 +08:00
Shengliang Guan 5a5cdb318c
Merge pull request #17342 from taosdata/fix/TD-19468
fix: close merge tree for each file set
2022-10-13 19:12:33 +08:00
yihaoDeng 681b973cae add index to ins_tables 2022-10-13 18:53:04 +08:00
Minglei Jin 66962bdddc fix: close merge tree for each file set 2022-10-13 18:12:26 +08:00
Hongze Cheng 5f010843a6 more code format 2022-10-13 16:58:43 +08:00
Haojun Liao 18740e7b48 other:merge 3.0, and support last query cache 2022-10-13 15:35:51 +08:00
Haojun Liao 260ca17337
Merge pull request #17331 from taosdata/feature/3_liaohj
fix(query):set the correct active block index and add some logs.
2022-10-13 15:30:29 +08:00
Minghao Li 733440b352 refactor(sync): add double queues in vnode 2022-10-13 14:37:18 +08:00
Liu Jicong 7f8d2ff56d
Merge pull request #17328 from taosdata/feature/stream
refactor(stream): set state buffer size
2022-10-13 14:24:31 +08:00
Haojun Liao f5f0a7026f other: merge 3.0 2022-10-13 14:20:51 +08:00
Haojun Liao ab5bff4f37
Merge branch '3.0' into feature/3_liaohj 2022-10-13 14:06:26 +08:00
Shengliang Guan bf5c14b64c
Merge pull request #17305 from taosdata/feature/rpc_compress
support compress
2022-10-13 13:58:36 +08:00
Shengliang Guan 969a688b7a
Merge pull request #17330 from taosdata/fix/TD-19486
fix: coverity issues
2022-10-13 13:57:55 +08:00