Commit Graph

16618 Commits

Author SHA1 Message Date
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
Alex Duan 85ec70d099 fix(query): improve performance for first function x10 quickly1 2022-10-18 17:26:51 +08:00
yihaoDeng f0d2f145e2 add pre check 2022-10-18 17:25:13 +08:00
Alex Duan e2637ab6a7 fix(query): improve performance for first function x10 quickly 2022-10-18 17:22:41 +08:00
Minghao Li 1df2703c41 refactor(sync): modify strategy for syncBeginSnapshot 2022-10-18 17:15:57 +08:00
Shengliang Guan 5b7872b119 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 17:06:28 +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
Shengliang Guan 194587558b
Merge pull request #17434 from taosdata/fix/3.0_bugfix_wxy
fix: plan problem with 'partition by tag group by tag' statement
2022-10-18 16:33:36 +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
Minghao Li e85954276f refactor(sync): rename functions 2022-10-18 16:16:53 +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
dapan1121 3ec553aab6
Merge pull request #17433 from taosdata/fix/TD-19588
fix:assert core if db is empty
2022-10-18 15:30:12 +08:00
yihaoDeng e74881c17c add systable filter 2022-10-18 15:26:29 +08:00
Minghao Li 1b36ad119c refactor(sync): rename functions 2022-10-18 15:24:00 +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
wangmm0220 41866ed397 fix:defeats in converity scan 2022-10-18 15:13:52 +08:00
Xiaoyu Wang eaa2a344e1 fix: plan problem with 'partition by tag group by tag' statement 2022-10-18 15:01:52 +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
wangmm0220 98306426f0 fix:assert core if db is empty 2022-10-18 14:47:02 +08:00
Minglei Jin 029abe7396 fix: coverity issues 2022-10-18 14:32:18 +08:00
Minghao Li 49c19e13f2 refactor(sync): rename function 2022-10-18 14:16:39 +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
wangmm0220 7b84b217c2 opti:add auto compile 2022-10-18 13:46:42 +08:00
Hongze Cheng b7342525c7 more code 2022-10-18 13:38:26 +08:00
Haojun Liao 5a7b360d6c
Merge pull request #17428 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-18 13:29:00 +08:00
dapan1121 c51629e5d3
Merge pull request #17423 from taosdata/fix/TS-1901
fix: fix varchar and bigint compare issue
2022-10-18 13:16:27 +08:00
Shengliang Guan f76261dcb5 fix: become leader if replica num is 1 2022-10-18 12:31:15 +08:00
dapan1121 ab7a00abbe fix: fix case when crash issue 2022-10-18 11:54:30 +08:00
Haojun Liao 2e4dca1171 fix: remove a typo 2022-10-18 11:53:22 +08:00
Haojun Liao 91c376ab63 other: merge 3.0 2022-10-18 11:52:44 +08:00
Shengliang Guan 3ff1ae2bd5
Merge pull request #17421 from taosdata/feature/stream_ly
fix(stream): coverity scan, memory leak
2022-10-18 11:49:14 +08:00
wangmm0220 9fe6d23462 feat:add new interface for schemaless 2022-10-18 11:49:03 +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
Ganlin Zhao 8dc5bb0ebb fix: coverity issues
CID: 399632
2022-10-18 11:40:36 +08:00
Xiaoyu Wang 0228caaa0d enh: last cache optimize 2022-10-18 11:38:59 +08:00
Ganlin Zhao 9aa1818a47 fix: coverity issues
CID: 399614
2022-10-18 11:35:35 +08:00
Benguang Zhao cf2b6ccbfb enh: write idx ahead of writing its log entry in WAL 2022-10-18 11:23:24 +08:00
Benguang Zhao af9aa9d783 enh: assert on alignment of idx entries in walWriteIndex 2022-10-18 11:23:13 +08:00
Benguang Zhao f0427c9322 fix: ftrunc on appending WAL log failure for recovery in walWriteImpl 2022-10-18 11:22:21 +08:00
Benguang Zhao 23e18bff76 fix: fsync fatal log messages 2022-10-18 11:22:21 +08:00
Benguang Zhao 3190ef65a3 fix: deal with misaligned idx entries in walCheckAndRepairIdxFile 2022-10-18 11:21:48 +08:00
Liu Jicong 44401b6b90 fix: memory leak 2022-10-18 10:58:33 +08:00
yihaoDeng b5f7623219 fix invalid packet 2022-10-18 10:53:29 +08:00
dapan1121 bdb81e2b89 fix: fix varchar and bigint compare issue 2022-10-18 10:44:24 +08:00
Xiaoyu Wang 78589248f2
Merge branch '3.0' into fix/3.0_bugfix_wxy 2022-10-18 09:53:08 +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
54liuyao 5fc475b960 fix(stream): coverity scan, memory leak 2022-10-18 09:40:19 +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
Shengliang Guan 98f1c3d89a
Merge pull request #17411 from taosdata/fix/coverity_glzhao
fix: coverity issues
2022-10-17 22:58:37 +08:00
Shengliang Guan b660f03f24
Merge pull request #17418 from taosdata/fix/invalidPack
fix: fix invalid packet
2022-10-17 22:58:04 +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 78df93e0ca fix invalid packet 2022-10-17 22:17:47 +08:00
Shengliang Guan 00080750fa fix: mnode may deadlock while drop another mnode if it crashed 2022-10-17 20:40:11 +08:00
Minghao Li 94ba0f47f0 refactor(sync): stop elect when not candidate 2022-10-17 20:20:55 +08:00
yihaoDeng 80a8858fe1 fix invalid packet 2022-10-17 20:10:57 +08:00
yihaoDeng 5ff8bb5bc0 fix invalid packet 2022-10-17 19:56:59 +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
wangmm0220 a0cd578668 feat:add new interface for schemaless 2022-10-17 19:37:34 +08:00
wangmm0220 d150bd1d5d Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19221-3.0 2022-10-17 19:36:16 +08:00
wangmm0220 b7222bc4ea feat:add new interface for schemaless 2022-10-17 19:21:11 +08:00
Haojun Liao c8b180b129 fix(query): update the cached last query. 2022-10-17 19:14:06 +08:00
Liu Jicong 814aa051d6
Merge pull request #17403 from taosdata/fix/client_mem_leak
refactor: tmq client
2022-10-17 19:07:41 +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
Ganlin Zhao 16fb3525aa fix: coverity issues
CID: 399527
2022-10-17 18:37:16 +08:00
Minglei Jin 109d50a4cc fix: last row array form bug 2022-10-17 18:13:38 +08:00
Minghao Li 45bce6ad49 refactor(sync): add syncBeginSnapshot, syncEndSnapshot 2022-10-17 18:08:35 +08:00
Haojun Liao da9df99461 fix(query): opt last query. 2022-10-17 17:59:43 +08:00
wangmm0220 0029ddd232 feat:add new interface for schemaless 2022-10-17 17:48:30 +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
Ganlin Zhao 1a3b2fa4f2 fix: coverity issues
CID: 399527
2022-10-17 16:55:27 +08:00
Xiaoyu Wang 93aee94a3f fix: do coverity scan 2022-10-17 16:54:12 +08:00
Minghao Li 092a07475d refactor(sync): process hb and appendentries 2022-10-17 16:38:44 +08:00
Liu Jicong 177fe40ea2 merge 3.0 2022-10-17 16:31:49 +08:00
yihaoDeng c9aadfadee fix coverity scan problem 2022-10-17 16:29:50 +08:00
Liu Jicong 68e0ddfa88 refactor: tmq client 2022-10-17 16:28:55 +08:00
Haojun Liao 6d965b8b81 fix(query): fix coverity issues. 2022-10-17 16:27:44 +08:00
Shengliang Guan ced97588d1
Merge pull request #17395 from taosdata/szhou/fixbugs
fix: reserve enough capacity for inter/final result block when performing scalar calculation of fill operator
2022-10-17 16:26:24 +08:00
Shengliang Guan b16639247a
Merge pull request #17393 from taosdata/feature/TD-14761
fix:scan converity defects
2022-10-17 16:25:53 +08:00
Xiaoyu Wang b286b0cf26 fix: do coverity scan 2022-10-17 16:18:35 +08:00
Haojun Liao 89f80436c6 fix(query): fix coverity issues. 2022-10-17 16:17:16 +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
Ganlin Zhao c695606184 fix: coverity issues
CID: 399357
2022-10-17 16:00:15 +08:00
Ganlin Zhao 51dd72ec82 fix: coverity issues
CID: 372918
2022-10-17 15:53:24 +08:00
Xiaoyu Wang 9abea76791 fix: do coverity scan 2022-10-17 15:43:42 +08:00
Minglei Jin 5c66712b91 fix: coverity issues 2022-10-17 15:28:10 +08:00
Ganlin Zhao 7e54b77024 fix: coverity issues
CID: 354728
2022-10-17 15:20:36 +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 d2fc6215c6 fix: client mem leak 2022-10-17 15:06:05 +08:00
Ganlin Zhao 2abd0eec40 fix: coverity issues
CID: 354727
2022-10-17 15:03:01 +08:00
Liu Jicong 73662b3058 refactor: table sink 2022-10-17 14:48:56 +08:00
Shengliang Guan 77e40abea2
Merge pull request #17359 from taosdata/enh/3.0_planner_optimize
fix: problem when last is used for system table query
2022-10-17 14:37:04 +08:00
Shengliang Guan 933c332a7d
Merge pull request #17384 from taosdata/feature/stream_ly
fix(stream): coverity scan,type conversion
2022-10-17 14:36:40 +08:00
Shengliang Guan 8fe672feab fix: crash whle reconfig mnode will cause taosd reboot failure 2022-10-17 14:34:51 +08:00
slzhou 4c2896236f fix: reserve enough capacity for inter/final result block when performing scalar calculation of fill operator 2022-10-17 14:34:34 +08:00
wangmm0220 54e3617a6f fix:scan converity defects 2022-10-17 14:32:18 +08:00
Benguang Zhao 23a4a37677 enh: not allowed to start when disk space unavailable 2022-10-17 14:22:20 +08:00
Benguang Zhao a4fd2def98 fix: resolve a typo in errormsg printing in walScanLogGetLastVer 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
54liuyao 2df86022c0 fix(stream): coverity scan,type conversion 2022-10-17 13:11:52 +08:00
Haojun Liao 87516ea332 fix(query): fix bug in group by tag. 2022-10-17 13:00:31 +08:00
Ganlin Zhao 84817bf743 fix: coverity issues
CID: 354715
2022-10-17 12:48:14 +08:00
Ganlin Zhao bcf2cfeed7 fix: coverity issues
CID: 354713
2022-10-17 11:06:02 +08:00
Ganlin Zhao 132681a8bc fix: coverity issues
CID: 308488
2022-10-17 10:59:32 +08:00
Minghao Li a3f8c03a65 refacotr(sync): add case sync2-test.sim 2022-10-17 10:58:55 +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
yihaoDeng 4ff0b21bb4 opt systable query 2022-10-16 21:30:53 +08:00
Haojun Liao bcb3d41d08 fix(query): fix coverity issues. 2022-10-16 13:46:21 +08:00
Benguang Zhao e3f50c0d48 fix: align vers.firstVer with vers.snapshotVer+1 in WAL meta info 2022-10-16 13:10:57 +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
Benguang Zhao 6f39a36344 fix: replace asserts on failure of tdbPagerWrite with tdbError msg 2022-10-15 23:57:37 +08:00
Benguang Zhao a4cc3f76d4 fix: ignore file not exist error of tdbOsRemove 2022-10-15 23:57:37 +08:00
Benguang Zhao c70d10334c enh: print vgId in error msg within syncNodeCommit 2022-10-15 23:57:37 +08:00
Benguang Zhao b6c31ee67d fix: fsync the current wal log and idx files at first to ensure validity of meta in walSaveMeta 2022-10-15 23:57:37 +08:00
Benguang Zhao 7fb827debd fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx.
* search for the last entry in the contiguous range of valid WAL from the last pos fsynced as firstTrial
    * find the last entry before the last pos fsynced backwards as second trial
    * reserve sufficient space for computing CRC32 checksum, esp. of WAL record body
    * rebuild meta info to resolve potential misalignment between lists of meta and actual log files
    * retract commitIndex and appliedIndex to lastLogIndex if needed
    * put an upper size limit on possibly corrupted WAL range to be recovered
2022-10-15 23:56:31 +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 0a0f67c872
Merge pull request #17373 from taosdata/revert-17368-refact/tag_agg_opt
Revert "enh(query): opt group by tag perf."
2022-10-15 20:43:59 +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 329b750701
Revert "enh(query): opt group by tag perf." 2022-10-15 16:14:50 +08:00
Hongze Cheng 7e174e347e fix more issue 2022-10-15 11:20:37 +08:00
Minghao Li 797d1324c5 refactor(sync): request vote 2022-10-15 09:28:55 +08:00
Haojun Liao 77cafebd63
Merge pull request #17368 from taosdata/refact/tag_agg_opt
enh(query): opt group by tag perf.
2022-10-14 23:26:34 +08:00
Benguang Zhao 3af05070cf fix: assert on availability of inUse SVBufPool for vnode 2022-10-14 22:58:56 +08:00
Benguang Zhao c693384ec4 enh: replace asserts with error logs in walReadVer 2022-10-14 22:57:28 +08:00
Benguang Zhao 948fa60ef0 fix: check the length of remaining content for computing CRC32 chksum of WAL record body 2022-10-14 22:57:28 +08:00
Benguang Zhao 63b13db10f fix: eliminate asserts on getting and committing log entries 2022-10-14 22:57:27 +08:00
Benguang Zhao df18ddbbb5 enh: remove WAL log file corrupted completely 2022-10-14 22:57:27 +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 715f53a856 fix: eliminate asserts on errors of appending or getting log entry 2022-10-14 22:46:35 +08:00
Benguang Zhao 9055f63742 fix: ftruncate WAL log after the last valid WAL record properly in walScanLogGetLastVer 2022-10-14 22:43:41 +08:00
Benguang Zhao 76865258cf enh: protect WAL meta by flushing to a tmpfile at first and then renaming 2022-10-14 22:32:15 +08:00
Shengliang Guan fc090a1a4a enh: refactor the code to create and delete mnodes 2022-10-14 22:19:10 +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
yihaoDeng 044f025bc6 opt systable query 2022-10-14 19:54:05 +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
Haojun Liao aa04aee7fd enh(query): opt group by tag perf. 2022-10-14 18:49:19 +08:00
dapan1121 3a20447b9d
Merge pull request #17351 from taosdata/fix/TD-19544
fix: fix kill query crash issue
2022-10-14 18:37:48 +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
Liu Jicong bf2d8540d3
Merge pull request #17355 from taosdata/feature/stream
fix(stream): memory leak
2022-10-14 17:24:24 +08:00
dapan1121 fdffc2883f fix: fix code merge issue 2022-10-14 17:05:18 +08:00
Liu Jicong 1a113a5a0c temporarily disable failed test 2022-10-14 16:30:51 +08:00
Xiaoyu Wang bb3bb18c01 fix: problem when last is used for system table query 2022-10-14 16:24:00 +08:00
Shengliang Guan 2f69d657e0
Merge pull request #17353 from taosdata/feature/stream_ly
fix(stream):Defects Tracking, delete log
2022-10-14 16:03:46 +08:00
Shengliang Guan 075c2e9126
Merge pull request #17343 from taosdata/enh/3.0_planner_optimize
enh: do coverity scan
2022-10-14 16:03:03 +08:00
Liu Jicong 50896c3a01 Merge branch '3.0' into feature/stream 2022-10-14 15:38:58 +08:00
Minglei Jin 977fc4b15c fix(tsdb/cache): release lock when table's empty 2022-10-14 15:28:19 +08:00
Liu Jicong a57a305035 fix(stream): memory leak 2022-10-14 14:43:22 +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
54liuyao d5a410b90e fix(stream):Defects Tracking, delete log 2022-10-14 14:29:25 +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
Xiaoyu Wang ab98754c56 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-10-14 13:45:15 +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
dapan1121 d5cfbebd82 fix: fix kill query crash issue 2022-10-14 13:26:10 +08:00
dapan1121 40591003d1 Merge branch 'refact/query_opt' of github.com:taosdata/TDengine into refact/query_opt 2022-10-14 13:09:30 +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
dapan1121 9a024590f5
Merge pull request #17321 from taosdata/feat/caseWhen
feat: support case when operator
2022-10-14 09:57:29 +08:00
dapan1121 74be3572db enh: add query response policy 2022-10-14 09:31:18 +08:00
dapan1121 52e0681769 fix: fix merge issue 2022-10-14 09:16:02 +08:00
Shengliang Guan d14969a846
Merge pull request #17344 from taosdata/fix/ZhiqiangWang/TD-13064-mac-change-service-name
os: Mac change service name
2022-10-14 09:14:05 +08:00
dapan1121 f3919c4450 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-14 09:14:01 +08:00
Shengliang Guan 81e72ea84c
Merge pull request #17346 from taosdata/feature/TD-14761
fix:sml core dump if insert quickly because of spin lock destroy
2022-10-14 09:13:14 +08:00
Shengliang Guan 9885816ff0
Merge pull request #17345 from taosdata/fix/ZhiqiangWang/TD-19488-memory-param-over
Fix/zhiqiang wang/td 19488 memory param over
2022-10-14 09:12:52 +08:00
yihaoDeng b5c2ee1dc7 add index to ins_tables 2022-10-13 22:21:20 +08:00
yihaoDeng 974bc4b7c6 add systable filterr 2022-10-13 21:49:53 +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
wangmm0220 8067febe27 fix:sml core dump if insert quickly because of spin lock destroy 2022-10-13 19:35:43 +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
afwerar f80dbfb6f5 fix: memory param over 2022-10-13 18:48:06 +08:00
afwerar e453e96d6b os: Mac change service name 2022-10-13 18:34:11 +08:00
Xiaoyu Wang 9a946541a2 enh: do coverity scan 2022-10-13 18:14:44 +08:00
Minglei Jin 66962bdddc fix: close merge tree for each file set 2022-10-13 18:12:26 +08:00
Xiaoyu Wang 242a53c285 enh: do coverity scan 2022-10-13 17:03:40 +08:00
Hongze Cheng 5f010843a6 more code format 2022-10-13 16:58:43 +08:00
Xiaoyu Wang 7a19119dc7 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-10-13 16:44:41 +08:00
Xiaoyu Wang 3cce178721 enh: do coverity scan 2022-10-13 16:43:56 +08:00
Haojun Liao d234681b74 other:merge 3.0 2022-10-13 15:39:06 +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
Hongze Cheng 1ad117497c more format 2022-10-13 14:39:32 +08:00
Minghao Li 733440b352 refactor(sync): add double queues in vnode 2022-10-13 14:37:18 +08:00
Hongze Cheng 17040610e5 more code format 2022-10-13 14:37:03 +08:00
Hongze Cheng 5b6e928d65 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/code_format 2022-10-13 14:25:51 +08:00
Hongze Cheng 8a033aca5c more code format 2022-10-13 14:25:37 +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
Hongze Cheng c4b3da5032 more code format 2022-10-13 14:15:42 +08:00
Hongze Cheng c79cc7e454 more code format 2022-10-13 14:06:27 +08:00
Haojun Liao ab5bff4f37
Merge branch '3.0' into feature/3_liaohj 2022-10-13 14:06:26 +08:00
Hongze Cheng bb65999566 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/code_format 2022-10-13 14:03:34 +08:00
Hongze Cheng d8e32fb439 more code format 2022-10-13 14:03:23 +08:00
Hongze Cheng 63d9b85631 more code format 2022-10-13 13:59:18 +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 ebf330fad2
Merge pull request #17309 from taosdata/fix/3.0_bugfix_wxy
fix: some problems of parser
2022-10-13 13:58:13 +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
Hongze Cheng d5255f1eb7 more format 2022-10-13 13:41:36 +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
yihaoDeng 3addb95496 Merge branch 'new' into dd 2022-10-13 12:40:26 +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
Hongze Cheng 98f3f183c6 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/code_format 2022-10-13 11:49:53 +08:00
Hongze Cheng fcbaa6082b more code refact 2022-10-13 11:49:46 +08:00
Shengliang Guan f82e6b41ca
Merge pull request #17323 from taosdata/fix/TD-19486
fix: crash while create mnode
2022-10-13 11:45:09 +08:00
Liu Jicong d507678b35 refactor(stream): set state buffer size 2022-10-13 11:18:02 +08:00
Shengliang Guan c37df48fb4 fix: coverity issues 2022-10-13 11:14:13 +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
Shengliang Guan 61160d3f4a fix: crash while create mnode 2022-10-13 10:49:56 +08:00
Shengliang Guan b3b0e5a59a
Merge pull request #17319 from taosdata/fix/sync-timer
fix(sync): enqueue timer msg
2022-10-13 09:48:14 +08:00
Shengliang Guan 245d9f462b
Merge pull request #17311 from taosdata/fix/TD-19484
fix(query): interp with every(0s) casuing client crash
2022-10-13 09:16:40 +08:00
Liu Jicong 92bc2561bf
Merge pull request #17317 from taosdata/feature/stream
refactor(stream): change state table name
2022-10-12 17:05:52 +08:00
Xiaoyu Wang d6374a726a fix: some problems of parser 2022-10-12 16:32:29 +08:00
yihaoDeng 2bd62bc586 fix: [TD-19500] del duplicate msg 2022-10-12 16:05:59 +08:00
dapan1121 5e4148e1cf feat: add more case when test cases 2022-10-12 16:02:21 +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 db6b0503a1 refactor(stream): change state table name 2022-10-12 14:34:04 +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
yihaoDeng 36fecb7e68 Merge branch 'new' into dd 2022-10-12 14:31:28 +08:00
Xiaoyu Wang 6954d4902b fix: some problems of parser 2022-10-12 14:18:03 +08:00
Hongze Cheng 746da9fd27 make it compile 2022-10-12 13:49:40 +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
dapan1121 a13f553868 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-12 13:33:41 +08:00
dapan1121 c485718d32 feat: add more case when cases 2022-10-12 11:46:49 +08:00
yihaoDeng 5badb8f056 fix(tsc): fix invalid free 2022-10-12 11:38:07 +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
Hongze Cheng 52bf961622 more code 2022-10-12 11:09:42 +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
Ganlin Zhao 928fd0b13f fix(query): interp with every(0s) casuing client crash
TD-19484
2022-10-12 10:39:49 +08:00
yihaoDeng 53b6058b0d support compress 2022-10-12 10:22:40 +08:00
yihaoDeng 841207666a support compress 2022-10-12 10:20:01 +08:00
Xiaoyu Wang 947e9d6458 fix: some problems of parser 2022-10-12 10:16:29 +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
Liu Jicong 41474e40bf enh(wal): auto fix 2022-10-12 02:08:58 +08:00
Haojun Liao d3b37ef294 other:merge 3.0 2022-10-11 22:56:54 +08:00
yihaoDeng 37a0b9c759 support compress 2022-10-11 22:18:44 +08:00
yihaoDeng 4507776c8e support compress 2022-10-11 22:09:35 +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
Shengliang Guan b9374718d6
Merge pull request #17290 from taosdata/fix/3.0_bugfix_wxy
feat: support batch loading of csv files
2022-10-11 20:53:49 +08:00
Minglei Jin 0d52e92210 fix(meta): META_READER_NOLOCK with inner meta readers 2022-10-11 20:18:08 +08:00
Haojun Liao c71810c887 fix(query): fix memory leak. 2022-10-11 19:37:06 +08:00
Minglei Jin 5307458666 fix: pack stb list into array to release reader lock 2022-10-11 19:17:05 +08:00
Zhiqiang Wang 0b2ff85a17
fix: jemalloc compile error (#17291)
* fix: jemalloc compile error

* fix: jemalloc compile error
2022-10-11 18:53:24 +08:00
Shengliang Guan 5a8172d6c2
Merge pull request #17298 from taosdata/fix/glzhao_coverity
fix: fix coverity issues
2022-10-11 18:51:52 +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
Xiaoyu Wang 0563eb2475 feat: support batch loading of csv files 2022-10-11 17:28:58 +08:00
Ganlin Zhao e5c3ff7158 fix: coverity issues
CID: 399950
2022-10-11 17:08:30 +08:00
Minglei Jin 25b279dd7a meta/cache: a new cache for stable's ctbNum 2022-10-11 17:00:49 +08:00
Liu Jicong 14c4ff1d94 add demo for stream user defined table name 2022-10-11 16:48:13 +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
Shengliang Guan c8fd6b74d0
Merge pull request #17282 from taosdata/fix/TD-19245
fix: coverity issues
2022-10-11 16:21:24 +08:00
Shengliang Guan 593d3e7ba0
Merge pull request #17289 from taosdata/fix/TD-19457
fix: unit test case for tdb ovfl pages
2022-10-11 16:21:12 +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
Ganlin Zhao 936c7b6276 fix: coverity issues
CID: 400042
2022-10-11 16:00:19 +08:00
Xiaoyu Wang 18fa48ae57 feat: support batch loading of csv files 2022-10-11 15:54:01 +08:00
Cary Xu 7da3ed2748 fix: support statistics of insert_req 2022-10-11 15:36:35 +08:00
Minglei Jin ccdd3ff8c2 fix: unit test case for tdb ovfl pages 2022-10-11 15:32:07 +08:00
Shengliang Guan 37c193b30b Merge remote-tracking branch 'origin/fix/TD-19245' into fix/TD-19441 2022-10-11 15:31:14 +08:00
Liu Jicong 26fae13c61 refactor(stream): state/session map id to tbname 2022-10-11 15:27:56 +08:00
Shengliang Guan accbf8c1b8
Merge pull request #17285 from taosdata/fix/ZhiqiangWang/TD-19438-win-compile-error
fix: win compile error
2022-10-11 15:22:10 +08:00
Shengliang Guan 21e02c1752
Merge pull request #17284 from taosdata/fix/TD-19457
fix(tdb): add cell header size while decoding left bytes
2022-10-11 15:21:47 +08:00
Haojun Liao b7e897abc8 refactor: update some logs. 2022-10-11 15:16:28 +08:00
Hongze Cheng 42987ad905 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite 2022-10-11 14:48:33 +08:00
Ganlin Zhao 37a9143fcb fix: coverity issues
CID: 400170
2022-10-11 14:33:10 +08:00
Minglei Jin 47f286869c fix(tdb): add cell header size while decoding left bytes 2022-10-11 14:25:30 +08:00
Ganlin Zhao b2f19def37 fix: coverity issues
CID: 400186
2022-10-11 14:23:47 +08:00
Ganlin Zhao fc598288be fix: coverity issues
CID: 400233
2022-10-11 14:15:00 +08:00
afwerar 445596011e fix: win compile error 2022-10-11 14:12:11 +08:00
Haojun Liao b4593e9046
Merge pull request #17276 from taosdata/feature/3_liaohj
fix(query): fix invalid type convert in cast function.
2022-10-11 13:37:32 +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
Ganlin Zhao 5583ee42c0 fix: coverity issues
CID: 400233
2022-10-11 11:29:42 +08:00
Haojun Liao 187735dede fix(query): fix the invalid write. 2022-10-11 10:49:19 +08:00
Liu Jicong 596ea98c2f
Merge pull request #17281 from taosdata/feature/stream
refactor(stream)
2022-10-11 09:27:49 +08:00
Shengliang Guan 8862a31fb1 fix: coverity issues 2022-10-11 09:23:47 +08:00
Liu Jicong fbfae317b3 refactor 2022-10-11 02:09:15 +08:00
Haojun Liao 2dcb5a9c29 fix(query): fix an typo. 2022-10-10 22:00:36 +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 fcbff54e59
Merge pull request #17274 from taosdata/feat/tdlite
feat: adjust some code for tdlite
2022-10-10 20:45:54 +08:00
Haojun Liao 73b5a001d6 fix(query): fix invalid type convert in cast function. 2022-10-10 19:15:52 +08:00
Shengliang Guan b98c9672aa
Merge pull request #17265 from taosdata/szhou/fixbugs
fix: fix no stop error when interval fill order by desc
2022-10-10 18:50:13 +08:00
Hongze Cheng 6c097be04e more code 2022-10-10 18:29:14 +08:00
Haojun Liao ad16acda14 fix(query): fix syntax error. 2022-10-10 18:23:26 +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
Hongze Cheng 579af54c49 more code 2022-10-10 17:45:10 +08:00
shenglian zhou 9324ad288e fix: fix _wend computation error 2022-10-10 16:53:17 +08:00
Haojun Liao f0d3f0e773 test: update the script 2022-10-10 16:16:57 +08:00
shenglian zhou 5ccc7aa98e fix: fix no stop error when interval fill order by desc 2022-10-10 16:16:54 +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