Commit Graph

4437 Commits

Author SHA1 Message Date
Shengliang Guan 4d318b32da refact: alter db replica 2022-10-20 16:47:03 +08:00
Minghao Li 5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Cary Xu af4957f672 chore: code optimization for rsma 2022-10-20 16:02:51 +08:00
Cary Xu b2b61bab96 fix: commit txn for rsma 2022-10-20 15:53:47 +08:00
Cary Xu a92ed83dea Merge branch '3.0' into fix/TD-19254-D 2022-10-20 14:23:04 +08:00
yihaoDeng c4f7607e8c opt sys query 2022-10-20 14:04:18 +08:00
yihaoDeng f612eafee8 opt sys query 2022-10-20 13:53:04 +08:00
Hongze Cheng 1c488cf7e4
Merge pull request #17503 from taosdata/fix/TD-19250-5
fix: coverity issues
2022-10-20 13:37:14 +08:00
Haojun Liao c41713cf21
Merge pull request #17495 from taosdata/fix/liao_cov
refactor: remove redundant codes and do some internal refactor.
2022-10-20 13:16:02 +08:00
Haojun Liao 12e81869bc fix(query): remove invalid free. 2022-10-20 11:52:30 +08:00
Haojun Liao 70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Hongze Cheng 2586f556cd Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_coverity_scan 2022-10-20 11:08:41 +08:00
Hongze Cheng d9daf76710 fix: invalid read problem 2022-10-20 10:18:28 +08:00
Minglei Jin 716c3f8a59 fix: coverity issues 2022-10-20 09:47:04 +08:00
Hongze Cheng 446e8c5d6d fix: coverity scan problem 2022-10-20 09:36:15 +08:00
Cary Xu db5f6dd61d Merge branch '3.0' into fix/TD-19254-D 2022-10-20 09:13:53 +08:00
dapan1121 991da95643 fix: fix coverity issues 2022-10-20 09:06:18 +08:00
Shengliang Guan 780c58e281
Merge pull request #17492 from taosdata/enh/TD-19650
enh: show the restore status of vnode when show vgroups
2022-10-19 23:35:42 +08:00
Shengliang Guan 30b60002fd
Merge pull request #17459 from taosdata/FIX/TD-19593-3.0
enh: enable the -Wformat=2 compiler option
2022-10-19 23:35:22 +08:00
Shengliang Guan 228640af3b fix: compile error 2022-10-19 20:51:25 +08:00
Shengliang Guan 7db984bdc4
Merge pull request #17490 from taosdata/fix/TD-19652
rm deleted table idx
2022-10-19 20:48:46 +08:00
Cary Xu 5abfeb47ca chore: code optimization for rsma 2022-10-19 20:25:42 +08:00
Shengliang Guan 097a047b61 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19593-3.0 2022-10-19 20:08:49 +08:00
Shengliang Guan 39e303b79b enh: show the restore status of vnode when show vgroups 2022-10-19 20:07:15 +08:00
yihaoDeng 54c7d6cbb9 merge 3.0 2022-10-19 20:03:55 +08:00
Cary Xu 706aa1da1e chore: code optimization for rsma 2022-10-19 19:59:35 +08:00
yihaoDeng 66a3269c6b add pre check 2022-10-19 19:57:31 +08:00
Cary Xu e997780044 chore: code optimization for rsma 2022-10-19 19:52:09 +08:00
Shengliang Guan 308dd56537
Merge pull request #17486 from taosdata/fix/liao_cov
refactor: remove redundant codes.
2022-10-19 19:51:59 +08:00
yihaoDeng 9805c50b38 rm deleted table idx 2022-10-19 19:44:07 +08:00
Cary Xu 20d812fdaa chore: code optimization for rsma 2022-10-19 19:43:59 +08:00
Cary Xu c5b5699c88 chore: code optimization for rsma 2022-10-19 19:41:15 +08:00
Shengliang Guan 985e6f53e4 Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 19:06:03 +08:00
Cary Xu 624eb89851 Merge branch '3.0' into fix/TD-19254-D 2022-10-19 18:54:11 +08:00
Minglei Jin 60b85028af fix: do not copy binary when nData is 0 2022-10-19 18:53:51 +08:00
Cary Xu 78828d4d47 enh: add more check 2022-10-19 17:58:39 +08:00
yihaoDeng 12ec7d7193 add pre check 2022-10-19 17:54:06 +08:00
Shengliang Guan 09a77b3b97
Merge pull request #17474 from taosdata/fix/TD-19250-4
fix: coverity issues
2022-10-19 17:51:39 +08:00
Cary Xu 8573fb56c8 chore: code optimization for rsma 2022-10-19 17:48:56 +08:00
Haojun Liao b20e2ed5af fix(query): set correct last value. 2022-10-19 17:43:23 +08:00
Cary Xu 54526adcc3 fix: commit txn for rsma 2022-10-19 17:18:41 +08:00
Benguang Zhao 2aa7afe7fa Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 16:31:13 +08:00
Minglei Jin 1e4601d8f6 fix: coverity issues 2022-10-19 16:30:50 +08:00
Minglei Jin 6dea891571 fix: release data file reader 2022-10-19 16:07:53 +08:00
Hongze Cheng 331e62e72a
Merge pull request #17470 from taosdata/fix/hzcheng_coverity_scan
fix: coverity scan problem
2022-10-19 15:50:36 +08:00
Shengliang Guan 881db69feb
Merge pull request #17453 from taosdata/feature/sync2-merge
refactor(sync): add sync ctrl queue in vnode
2022-10-19 15:50:09 +08:00
Haojun Liao 116d1451e4 fix(query): do some internal refactor. 2022-10-19 15:43:58 +08:00
Minglei Jin 640338893d tsdb/cache: handle OOM exceptions 2022-10-19 15:01:49 +08:00
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
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
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
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
Haojun Liao 5dcd319d3b fix(query): update last_row callback function. 2022-10-19 10:07:20 +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
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
Shengliang Guan b44a795179
Merge pull request #17432 from taosdata/fix/TD-19250-3
fix: coverity issues
2022-10-18 18:14:03 +08:00
Haojun Liao 60e7f2800b fix(query): fix bug in cached last query. 2022-10-18 17:39:28 +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
Hongze Cheng 1779c17375 more code 2022-10-18 16:22:06 +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 c5e9b6abd6
Merge pull request #17402 from taosdata/fix/TD-19259
fix: fix coverity scan problem
2022-10-18 14:50:45 +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
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 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
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 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
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
Liu Jicong 980fdd6e91 fix: error handling 2022-10-17 10:27:15 +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
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 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
Minglei Jin b8dfe8707f fix(tsdb): checksum checking shall skip page 1 when loading 2022-10-14 18:58:07 +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
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
Hongze Cheng 3950c8fc24
Merge pull request #17326 from taosdata/refact/code_format
refact: code format
2022-10-13 13:35:17 +08:00
Hongze Cheng bd2546a765
Merge pull request #17303 from taosdata/fix/TD-19482
fix(meta): META_READER_NOLOCK with inner meta readers
2022-10-13 13:19:57 +08:00
Minglei Jin 060eb307a9 fix(mac): new metaReaderReleaseLock api to keep reader's buffer 2022-10-13 12:02:18 +08:00
Haojun Liao 3d9e284913 other:merge 3.0 2022-10-13 12:01:47 +08:00
Haojun Liao fbd3aac007 fix(query):set the correct active block index and add some logs. 2022-10-13 11:59:14 +08:00
Hongze Cheng 6ed0634fb7 format more code 2022-10-13 11:56:16 +08:00
Liu Jicong d507678b35 refactor(stream): set state buffer size 2022-10-13 11:18:02 +08:00
Shengliang Guan 2db7ea4b16
Merge pull request #17310 from taosdata/fix/TD-19223-D
enh: code optimization for insert_req statistics
2022-10-13 10:56:26 +08:00
Minghao Li 3416ee66d8 fix(sync): enqueue timer msg 2022-10-12 15:35:15 +08:00
Hongze Cheng 69b7348efc
Merge pull request #17316 from taosdata/feat/tdlite
refact: adjust some code for further dev
2022-10-12 15:05:53 +08:00
Liu Jicong a596b5486c
Merge pull request #17295 from taosdata/feature/stream
chore: add demo for stream user defined table name
2022-10-12 14:32:44 +08:00
Hongze Cheng 8370eed0ab Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite 2022-10-12 13:39:44 +08:00
Minglei Jin 6c77cfc817 fix: need rlock to get schema without the outter stable's locking 2022-10-12 11:21:02 +08:00
Cary Xu 488b4f31fd enh: code optimization for insert_req statistics 2022-10-12 10:51:18 +08:00
Liu Jicong 69352e6e89 fix tbanme length check 2022-10-12 10:50:54 +08:00
Cary Xu 553394ca7f enh: code optimization for insert_req statistics 2022-10-12 10:47:31 +08:00
Cary Xu 0d50e5933b enh: code optimization for insert_req statistics 2022-10-12 10:46:18 +08:00
Cary Xu 0691d7ff9a enh: code optimization for insert_req statistics 2022-10-12 10:40:50 +08:00
Hongze Cheng 2d45b5a449 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite 2022-10-12 10:03:58 +08:00
Hongze Cheng c79fd325bd
Merge pull request #17299 from taosdata/fix/TD-19332
fix: use stable stats cache to get ctbNum
2022-10-12 10:02:21 +08:00
Haojun Liao d3b37ef294 other:merge 3.0 2022-10-11 22:56:54 +08:00
Hongze Cheng c4c6ce9b15 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite 2022-10-11 21:53:49 +08:00
Shengliang Guan 58b0ca6efe
Merge pull request #17273 from taosdata/fix/TD-19223-D
fix: support statistics of insert_req
2022-10-11 20:54:38 +08:00
Minglei Jin 0d52e92210 fix(meta): META_READER_NOLOCK with inner meta readers 2022-10-11 20:18:08 +08:00
Minglei Jin 5307458666 fix: pack stb list into array to release reader lock 2022-10-11 19:17:05 +08:00
Cary Xu 3734dd32b0 chore: code optimization for insert_req statistics 2022-10-11 18:32:02 +08:00
Cary Xu 114ae8dbda fix: support statistics of insert_req 2022-10-11 18:22:29 +08:00
Haojun Liao cee7185450 fix(query): update the copy function. 2022-10-11 18:02:46 +08:00
Minglei Jin de113ccf5f fix: use stable stats cache to get ctbNum 2022-10-11 17:50:42 +08:00
Cary Xu 6680ed32d2 chore: code format revert 2022-10-11 17:50:26 +08:00
Cary Xu 02979f081d fix: support statistics of insert_req 2022-10-11 17:47:23 +08:00
Minglei Jin 25b279dd7a meta/cache: a new cache for stable's ctbNum 2022-10-11 17:00:49 +08:00
Hongze Cheng c310d4a177 more code 2022-10-11 16:43:01 +08:00
Shengliang Guan e1ef696a09 Merge remote-tracking branch 'origin/3.0' into fix/TD-19441 2022-10-11 16:24:07 +08:00
Shengliang Guan dbae9a47da fix: check memory while alter db buffer 2022-10-11 16:23:23 +08:00
Hongze Cheng 1a8877c787 more code 2022-10-11 16:15:38 +08:00
Liu Jicong 11ca4ddf8c
Merge pull request #17288 from taosdata/feature/stream
refactor(stream): state/session map id to tbname
2022-10-11 16:07:22 +08:00
Cary Xu 7da3ed2748 fix: support statistics of insert_req 2022-10-11 15:36:35 +08:00
Liu Jicong 26fae13c61 refactor(stream): state/session map id to tbname 2022-10-11 15:27:56 +08:00
Hongze Cheng b412f19e73 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite 2022-10-11 13:27:50 +08:00
Liu Jicong 596ea98c2f
Merge pull request #17281 from taosdata/feature/stream
refactor(stream)
2022-10-11 09:27:49 +08:00
Liu Jicong fbfae317b3 refactor 2022-10-11 02:09:15 +08:00
Hongze Cheng 8fbf4af35f more code 2022-10-10 21:30:23 +08:00
Hongze Cheng dfc91a38b0 more code 2022-10-10 21:29:36 +08:00
Hongze Cheng 6c097be04e more code 2022-10-10 18:29:14 +08:00
Cary Xu fe115ab02e fix: support statistics of insert_req 2022-10-10 18:20:53 +08:00
Hongze Cheng 4eecd7fd4a more code 2022-10-10 18:17:58 +08:00
Minglei Jin 8f61346d29 meta/cache: separate entry cache to parepare for a new stats cache 2022-10-10 18:07:09 +08:00
Shengliang Guan f0a7430238
Merge pull request #17263 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-10-10 16:13:27 +08:00
Shengliang Guan f9df999a05
Merge pull request #17262 from taosdata/fix/TD-19416
fix(query): new META_READER_NOLOCK flag for metaReaderInit
2022-10-10 15:55:20 +08:00
Haojun Liao 7c3ddc4920 other:merge 3.0 2022-10-10 15:35:38 +08:00
Minglei Jin 9a410b96ef fix(query): new META_READER_NOLOCK flag for metaReaderInit 2022-10-10 15:04:33 +08:00
Haojun Liao 68842b9c64 refactor: do some internal refactor. 2022-10-10 14:55:58 +08:00
Shengliang Guan 66a5f6cc8d
Merge pull request #17255 from taosdata/feature/stream
fix: coverity scan
2022-10-10 13:44:07 +08:00
Shengliang Guan 6fbde2d119
Merge pull request #17254 from taosdata/fix/TD-19416
fix(meta): use rwlock to favor writers
2022-10-10 11:49:38 +08:00
Liu Jicong b1594a6857 fix coverity scan 2022-10-10 11:44:17 +08:00
Shengliang Guan 4084140fa0
Merge pull request #17252 from taosdata/fix/TD-19254-D
fix: coverity scan for sma and tfs
2022-10-10 11:24:37 +08:00
Minglei Jin 997dfb41d9 fix(meta): use rwlock to favor writers 2022-10-10 11:00:55 +08:00
Cary Xu 6b984ab448 fix: coverity scan for sma and tfs 2022-10-10 10:23:57 +08:00
Cary Xu 37c2fd5b08 fix: coverity scan for sma and tfs 2022-10-10 10:16:00 +08:00
Liu Jicong 86d80ad478
Merge pull request #17244 from taosdata/feature/stream
feat(stream): support define table name (DO NOT MERGE)
2022-10-10 10:05:33 +08:00
Liu Jicong 57d1406096 add tbname column into stream special block 2022-10-09 22:49:37 +08:00
Shengliang Guan edaf09403f
Merge pull request #17247 from taosdata/feature/3_liaohj
fix(query): fix the last block search error for ordinary table.
2022-10-09 20:52:00 +08:00
Haojun Liao a356b4eb7c fix(query): fix the last block search error for ordinary table. 2022-10-09 18:55:01 +08:00
Shengliang Guan b4c53d8345
Merge pull request #17237 from taosdata/feat/alter_pages_buffer
feat: alter pages buffer
2022-10-09 17:29:34 +08:00
Liu Jicong eafe8666f7 merge 3.0 2022-10-09 17:00:18 +08:00
Liu Jicong 2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
Haojun Liao 5402f6bc26 enh(query): opt query perf when handling the query of last files. 2022-10-09 15:25:42 +08:00
Hongze Cheng 2015db5756 alter pages 2022-10-09 15:01:20 +08:00
Haojun Liao c5e094efd0 enh(query): optimize the perf for ordinary table query with data in last file. 2022-10-09 14:34:10 +08:00
Hongze Cheng 6825d2a143 alter vnode buffer 2022-10-09 13:55:14 +08:00
Hongze Cheng ee56c50069 more code 2022-10-09 13:52:44 +08:00
yihaoDeng 27003dfaa5 fix invalid tag value 2022-10-08 15:48:52 +08:00
yihaoDeng c62b1985d7 fix invalid tag value 2022-10-05 18:32:30 +08:00
yihaoDeng 16c1473823 enh(query): opt get table meta 2022-10-01 13:49:30 +08:00
Haojun Liao fac464792d other:merge 3.0 2022-09-30 17:54:03 +08:00
Haojun Liao 7674fa972c
Merge pull request #17184 from taosdata/feature/3_liaohj
fix(query): fix memory leak in last_row query
2022-09-30 17:51:45 +08:00
Haojun Liao 877c707ce6 fix(query): fix memory leak in last_row query 2022-09-30 17:10:55 +08:00
Shengliang Guan b77a62dcd8
Merge pull request #17183 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-09-30 16:46:07 +08:00
Shengliang Guan 3442d14f58
Merge pull request #17182 from taosdata/enh/optTbnameINMem
fix(query): fix mem leak
2022-09-30 16:45:39 +08:00
Hongze Cheng 856c990fbc
Merge pull request #17102 from taosdata/feat/stream_compression
feat: stream compression
2022-09-30 16:17:19 +08:00
Haojun Liao 4b1e8e0cec fix(query): fix memory leak. 2022-09-30 16:02:28 +08:00
yihaoDeng 90c6116373 fix mem leak 2022-09-30 15:42:58 +08:00
Shengliang Guan 084414bebc
Merge pull request #17173 from taosdata/fix/TD-19245
fix: coverity issues
2022-09-30 15:42:46 +08:00
Haojun Liao 6faf1af5f5 fix(query): handle the block read case. 2022-09-30 14:44:42 +08:00
Shengliang Guan dfb2b0678f fix: coverity issues 2022-09-30 14:03:46 +08:00
Hongze Cheng 7754471aaa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-30 13:50:01 +08:00
Haojun Liao f8a84a1d19 other:merge 3.0 2022-09-30 13:47:21 +08:00
Haojun Liao 1f57a5a1cc
Merge pull request #17172 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-09-30 13:45:01 +08:00
Haojun Liao c9286fed25 fix(query): fix memory leak. 2022-09-30 13:03:25 +08:00
Hongze Cheng 145abcb17f more 2022-09-30 10:52:17 +08:00
Hongze Cheng be482feacc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-30 10:32:10 +08:00
yihaoDeng f41b494ac6 opt tbname in 2022-09-30 10:19:56 +08:00
Shengliang Guan e6ac8ed3a9
Merge pull request #17121 from taosdata/szhou/fixbugs
enhance: optimize when select from ins_tags when table_name='xxxx'
2022-09-30 09:39:27 +08:00
yihaoDeng 0d3da10954 fix invalid read 2022-09-30 09:31:19 +08:00
yihaoDeng d74779805a opt tbname in 2022-09-29 23:13:54 +08:00
Shengliang Guan 3be4a2ed9c Merge remote-tracking branch 'origin/3.0' into fix/TD-19245 2022-09-29 19:42:09 +08:00
Shengliang Guan e94646ca70 fix: coverity issues 2022-09-29 19:41:54 +08:00
Hongze Cheng d60ec735ca Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-29 17:07:58 +08:00
Hongze Cheng bdeb1ebcc5 compare 2022-09-29 17:06:18 +08:00
Shengliang Guan 752e13f94c Merge branch 'fix/TD-19325' into feature/tq 2022-09-29 14:52:08 +08:00
Shengliang Guan c56dd86399 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:29:30 +08:00
Liu Jicong 586175ecfa check vnode status for poll msg 2022-09-29 14:25:56 +08:00
Shengliang Guan 4df3303514 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:24:45 +08:00
Liu Jicong d41ce958f3 Merge branch 'fix/TD-19325' into feature/tq 2022-09-29 14:21:08 +08:00
Shengliang Guan f14d00a5d6 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:19:43 +08:00
Shengliang Guan 7e85a15c31 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:18:20 +08:00
Shengliang Guan 4223be379a fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:15:26 +08:00
Shengliang Guan ee484470f3 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:13:44 +08:00
Liu Jicong 0c48581c86 check push ver 2022-09-29 13:52:09 +08:00
Hongze Cheng cb554920aa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-29 13:23:20 +08:00
Hongze Cheng 768ec8942a fix code 2022-09-29 13:23:12 +08:00
Liu Jicong bb1165f1e9 optimize projection return 2022-09-29 12:14:41 +08:00
dapan1121 95b6d3f67f
Merge pull request #17132 from taosdata/fix/TD-19310
fix: fix rows missed in query result issue
2022-09-29 11:41:52 +08:00
yihaoDeng 88ac809f87 Merge branch '3.0' of https://github.com/taosdata/TDengine into dv3 2022-09-29 11:09:02 +08:00
yihaoDeng 5b4d0eaabe enh: opt tbname in 2022-09-29 11:07:32 +08:00
Hongze Cheng f12449b1b8 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-29 10:20:36 +08:00
Shengliang Guan 44b8d659ba
Merge pull request #17130 from taosdata/FIX/TD-19260-3.0
enh: improve error handling in syncNodeOpen instead of using assert, with allocated resources cleaned up properly
2022-09-29 09:23:28 +08:00
Liu Jicong a2a8fe0211 rsp consumer when taosd stop 2022-09-29 01:37:45 +08:00
Hongze Cheng 90915f1da3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-29 00:02:42 +08:00
Liu Jicong b0a46942c2 rsp to consumer if offset move forward 2022-09-28 23:47:47 +08:00
Liu Jicong fab0adde99 fix memory error 2022-09-28 23:06:45 +08:00
yihaoDeng 1286f7473c QRY: opt tbname in 2022-09-28 22:07:16 +08:00
Liu Jicong 057edd92c3
Merge branch '3.0' into feature/tq 2022-09-28 20:27:09 +08:00
Liu Jicong cde4085a6d optimize msg batch 2022-09-28 20:24:02 +08:00
Shengliang Guan 4ca305fd7a
Merge pull request #17131 from taosdata/fix/TD-19254-D
fix: coverity scan for sma
2022-09-28 20:22:58 +08:00
dapan1121 45fb658cec fix: fix rows missed in query result issue 2022-09-28 19:06:43 +08:00
Cary Xu bf377943e0 fix: api parameters 2022-09-28 18:56:57 +08:00
Cary Xu 9e49eb03e4 fix: coverity scan for sma 2022-09-28 18:54:39 +08:00
Haojun Liao 5a2c583c32 other:merge 3.0 2022-09-28 18:00:04 +08:00
Hongze Cheng 12371d344b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-28 17:49:16 +08:00
Shengliang Guan 53bfdf7bbb
Merge pull request #17117 from taosdata/revert-17106-feature/TD-18581-D
Revert "enh(tsdb): data migrate should not block data r/w and commit"
2022-09-28 17:43:21 +08:00
Benguang Zhao 4b4f7a44f4 fix: resolve memory leak in vnodeOpen when vnodeSyncOpen failure 2022-09-28 17:40:10 +08:00
Haojun Liao 71e3993185
Merge pull request #17114 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-28 17:36:01 +08:00
slzhou 00fc74acc9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-09-28 16:39:33 +08:00
slzhou 99bc329384 enhance: optimize select from ins_tags where table_name='tablename' without iterating through meta tdb 2022-09-28 16:30:40 +08:00
Cary Xu 1fe66cb846
Revert "enh(tsdb): data migrate should not block data r/w and commit" 2022-09-28 15:50:29 +08:00
Liu Jicong 01c94a775b feat(tmq): push optimization 2022-09-28 14:55:19 +08:00
Hongze Cheng a4d426aa13 more fix 2022-09-28 13:39:48 +08:00
Benguang Zhao b71a9e3483 enh: improve error handling in syncNodeOpen 2022-09-28 13:34:13 +08:00
Cary Xu d3c335a06e chore: fs merge optimization for data migrate 2022-09-28 12:56:17 +08:00
Haojun Liao 14412f2811 refactor(query): do some internal refactor. 2022-09-28 11:16:52 +08:00
Liu Jicong 1ad4d16373 Merge branch '3.0' into feature/tq 2022-09-28 10:57:59 +08:00
Haojun Liao 04f087793e refactor(query): do some internal refactor. 2022-09-28 10:54:54 +08:00
Liu Jicong 0e8aaf4c9e feat(tmq): push optimization 2022-09-28 10:38:49 +08:00
Cary Xu b78a39ced1 fix: resource release when end commit 2022-09-28 09:47:51 +08:00
Cary Xu 0841442db6 feat: logic optimization for data migration 2022-09-28 07:41:38 +08:00
Hongze Cheng 18f3bd53c5 fix code 2022-09-27 23:34:06 +08:00
Cary Xu 11d6db5ab2 Merge branch '3.0' into feature/TD-18581-D 2022-09-27 19:29:59 +08:00
Haojun Liao 59b7435170 fix(query): fix memory copy 2022-09-27 19:17:35 +08:00
Hongze Cheng 8bd8ff1523 more code 2022-09-27 18:59:29 +08:00
Haojun Liao 7818bed189 Merge branch 'feature/3_liaohj' into refact/query_opt 2022-09-27 18:51:42 +08:00
Haojun Liao c565c4cb63 fix(query): remove the primary timestamp column in the required column list. 2022-09-27 18:50:51 +08:00
Cary Xu ddf121496f chore: adjust debug log 2022-09-27 18:42:42 +08:00
Haojun Liao e2fa878136 other:merge 3.0 2022-09-27 18:39:03 +08:00
Haojun Liao 398c23edec enh(query): only load the required columns. 2022-09-27 18:37:02 +08:00
Cary Xu 8943fd2fc2 chore: log optimization for data migrate 2022-09-27 18:16:48 +08:00
Haojun Liao 4058ae1f9b Merge branch '3.0' into feature/3_liaohj 2022-09-27 18:16:26 +08:00
Haojun Liao bd6cf3137f other:merge 3.0 2022-09-27 18:12:54 +08:00
Haojun Liao 1b3721b42e
Merge pull request #17078 from taosdata/enh/load_by_column
enh: load by col opt
2022-09-27 18:07:34 +08:00
Hongze Cheng a53575a152 more code 2022-09-27 17:57:57 +08:00
Cary Xu 70f2c68570 chore: code format 2022-09-27 17:57:44 +08:00
Cary Xu b7253d8814 chore: code optimization for tsdb commit 2022-09-27 17:55:01 +08:00
Cary Xu 6536ad72a6 chore: update file naming for tsdb retention 2022-09-27 17:48:09 +08:00
Cary Xu 5c61e5da3e Merge branch '3.0' into feature/TD-18581-D 2022-09-27 17:43:52 +08:00
Cary Xu c426fa8bb1 feat: code optimization for data migrate 2022-09-27 17:43:33 +08:00
Hongze Cheng a4d16f1c00 more code 2022-09-27 17:36:02 +08:00
Hongze Cheng dc0d687a06 make it compile 2022-09-27 16:26:16 +08:00
Hongze Cheng e17c65fd82 Merge branch 'enh/load_by_column' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-27 16:22:42 +08:00
Haojun Liao 144a0c573b fix(query): set schema info for inner reader. 2022-09-27 16:17:03 +08:00
Hongze Cheng faea22cc56 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-27 15:40:48 +08:00
Hongze Cheng 3bd6808335 fix coredump 2022-09-27 15:37:00 +08:00
Haojun Liao a70a657f5f fix(query): initialize array list 2022-09-27 14:43:57 +08:00
Cary Xu 3d92b6c6f9 chore: remove debug logs when migrate 2022-09-27 14:33:17 +08:00
Cary Xu 024f6a2149 chore: send file with specified speed 2022-09-27 14:30:53 +08:00
Cary Xu 43c954b6e7 chore: data migration support specify max speed 2022-09-27 14:27:18 +08:00
Haojun Liao dbf7d01a84 fix(query): set the correct uid. 2022-09-27 14:01:17 +08:00
Haojun Liao cbe91fd4c3 fix(query): initialize the blockdata before load last block. 2022-09-27 13:48:53 +08:00
Shengliang Guan c16f4ae3f7
Merge pull request #17037 from taosdata/fix/TD-19220
fix: do not send ttl msg on taosd startup
2022-09-27 11:24:03 +08:00
Hongze Cheng 4bfdfe89a5 adjust api 2022-09-27 11:02:04 +08:00
Haojun Liao aa055abd7c refactor:do some internal refactor. 2022-09-27 10:52:55 +08:00
Cary Xu 6c682daf42 Merge branch '3.0' into feature/TD-18581-D 2022-09-27 10:33:51 +08:00
Hongze Cheng bba042124f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-27 09:27:02 +08:00
Shengliang Guan 1e5dc921e0 fix: set wal apply version on vnode reopen 2022-09-26 20:32:02 +08:00
Hongze Cheng 19529d6606 fix: wrong file corrupt report 2022-09-26 18:57:14 +08:00
Cary Xu 9169c90f8d fix: migrate logic for multi-tier storage 2022-09-26 18:29:08 +08:00
Haojun Liao 927478bff6 refactor(query): do some internal refactor. 2022-09-26 15:55:26 +08:00
Haojun Liao 54712ae302 other:merge 3.0 2022-09-26 14:50:51 +08:00
Hongze Cheng 08feade5fe more code 2022-09-26 14:24:35 +08:00
Hongze Cheng 30937189aa refact more code 2022-09-26 14:10:58 +08:00
Cary Xu f8702c03e7 Merge branch '3.0' into feature/TD-18581-D 2022-09-26 14:06:33 +08:00
Cary Xu d4fb75df8b chore: merge 3.0 and migrate fix for multi-tier storage 2022-09-26 14:02:57 +08:00