Commit Graph

42337 Commits

Author SHA1 Message Date
Shuduo Sang 275f0eb5fd
docs: refine taosbenchmark json drop (#17376) 2022-10-16 10:52:26 +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
Shuduo Sang 5967e35afd
fix: taosbenchmark coverity scan issues (#17361)
* fix: taosbenchmark coverity scan issues

* fix: taosbenchmark default json case

* fix: update taos-tools 217a267
2022-10-15 22:12:26 +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
Shuduo Sang 9781c1c2d2
fix: demoapi coverity scan issues and lint warnings (#17371)
* fix: demoapi.c coverity scan issues

* fix: coverity scan issue and lint warnings
2022-10-15 20:45:01 +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 28dfbf88be
Merge pull request #17364 from taosdata/wangmm0220-patch-2-1
Update 29-changes.md
2022-10-15 19:59:45 +08:00
Shengliang Guan 80170d3e5f
Merge pull request #17367 from taosdata/enh/TD-19463_2
enh: refactor the code to create and delete mnodes
2022-10-15 19:52:30 +08:00
Shengliang Guan af070e6c70 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-15 19:01:07 +08:00
Shengliang Guan d992225fac Merge branch 'fix/TD-19570' into enh/TD-19463_2 2022-10-15 18:23:06 +08:00
Shengliang Guan 1b8e556e60 fix: unstable test case 2022-10-15 18:20:50 +08:00
Shengliang Guan 3611dae619 Merge branch 'fix/TD-19570' into enh/TD-19463_2 2022-10-15 17:48:09 +08:00
Shengliang Guan 345eca5742 test: comment out case 2022-10-15 17:47:48 +08:00
Shengliang Guan 86ba774699
Merge pull request #17354 from taosdata/feat/TD-17777-V30
feat(shell): modify introduction for auto tab completion
2022-10-15 17:38:09 +08:00
Shengliang Guan fdf7aecbb3 fix: unstable test case 2022-10-15 17:31:12 +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
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
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 686fc1c0f9 test: comment out test case 2022-10-14 19:25:11 +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 d82bad5c64
Merge pull request #17292 from sunpe/patch-1
fix: change schema-less describtion to reduce ambiguity
2022-10-14 18:03:31 +08:00
Shengliang Guan 8c783e6a4a
Merge pull request #17333 from taosdata/sunpe-patch-1
fix: taos-sql/functions document error
2022-10-14 18:02:45 +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