Commit Graph

19497 Commits

Author SHA1 Message Date
Haojun Liao 21d57a3624 fix(query): check for failure during add new buf pages. 2023-01-22 01:45:29 +08:00
kailixu 1e06fb1783 chore: code optimization 2023-01-21 16:15:12 +08:00
kailixu 08a5ed4a07 chore: revert the code 2023-01-21 16:11:33 +08:00
kailixu 338a2a74cb chore: revert the code 2023-01-21 16:08:33 +08:00
kailixu 2416d34a80 fix: memory leak for row merge 2023-01-21 16:07:27 +08:00
kailixu 39b69ba39e fix: row schema version for row merger 2023-01-21 13:44:25 +08:00
Hongze Cheng fff4a96bdf more code 2023-01-19 22:18:39 +08:00
Hongze Cheng 7203819888 more code 2023-01-19 21:46:27 +08:00
Haojun Liao fd5820b052
Merge pull request #19643 from taosdata/fix/liaohj
enh: optimize execute plan when 'tail' function is used with 'partition by' clause
2023-01-19 18:42:37 +08:00
dapan1121 d363971675
Merge pull request #19638 from taosdata/fix/TS-2404
fix: atexit memory leak issue
2023-01-19 10:14:25 +08:00
Hongze Cheng b88327d737 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-21761 2023-01-18 23:32:52 +08:00
Hongze Cheng 516306b598 more code 2023-01-18 17:28:18 +08:00
dapan1121 2d579cfc16 fix: fix compile issue 2023-01-18 17:27:27 +08:00
dapan1121 d130d1a84a fix: atexit memory leak issue 2023-01-18 17:13:35 +08:00
dapan1121 2d42608813
Merge pull request #19632 from taosdata/fix/TS-2461
fix: rows number exceeds block capacity issue
2023-01-18 16:56:05 +08:00
Benguang Zhao 1f01ba7cc0 fix: not keep wal log vnodeCommit'ed for single replica db 2023-01-18 16:34:08 +08:00
dapan1121 17bfb8228a fix: rows number exceeds block capacity issue 2023-01-18 15:55:24 +08:00
slzhou d9b22b3299 fix: add node stopped and get/accquire ctx return node stopped 2023-01-18 15:13:16 +08:00
Hongze Cheng d6028bdde1 some code 2023-01-18 14:59:02 +08:00
Xiaoyu Wang f1d6262630 enh: optimize execute plan when 'tail' function is used with 'partition by' clause 2023-01-18 12:26:01 +08:00
Haojun Liao c9a1b3ba01 fix(query): handle the multi-group limit/offset in table group merge scan/ multiway-merge executor. 2023-01-18 16:24:29 +08:00
kailixu d9ae5a755c fix: tsdb fs head/data/sma nRef 2023-01-18 11:05:39 +08:00
Benguang Zhao e55a76e25a Merge branch main into FIX/TD-21218-main 2023-01-18 10:15:16 +08:00
Benguang Zhao d611793537 enh: remove unused old routines in sync 2023-01-18 10:07:16 +08:00
dapan1121 78d674e9c7
Merge pull request #19613 from taosdata/fix/TD-21939
fix: crash caused of wrong task phase issue
2023-01-18 09:02:06 +08:00
dapan1121 487f0c708e
Merge pull request #19601 from taosdata/fix/catalogDeadLock
fix: fix vgroup dead lock issue
2023-01-18 08:56:49 +08:00
dapan1121 1101a0ff0e
Merge pull request #19602 from taosdata/fix/TD-21937-3.0M
fix: tsdb read snapshot take/untake
2023-01-17 18:04:37 +08:00
dapan1121 e70f767647 fix: crash caused of wrong task phase issue 2023-01-17 17:53:56 +08:00
xinsheng Ren f966197cea
Fix/xsren/td 21762/sem mem leak basemain (#19587)
* TD-21762 sem_init cause mem leak on windows

* fix/memleak

Co-authored-by: facetosea <25808407@qq.com>
2023-01-17 16:30:06 +08:00
kailixu 70fb18e611 fix: tsdb ReadSnap take/untake 2023-01-17 15:11:11 +08:00
freemine e92bf83986
bugfix: stack-buffer-overflow (#19584) 2023-01-17 15:05:33 +08:00
dapan1121 69ecd6e50a fix: compile issue 2023-01-17 14:46:33 +08:00
dapan1121 6284e87217 fix: fix vgroup dead lock issue 2023-01-17 14:36:00 +08:00
Shengliang Guan e11d57d58c
Merge pull request #19533 from taosdata/FIX/TD-21662-main
enh: skip WAL forceSync for single replica vgroup
2023-01-17 14:25:04 +08:00
dapan1121 1d5ac1ba90
Merge pull request #19596 from taosdata/fix/TS-2444
fix: move crash report to shell
2023-01-17 13:36:01 +08:00
dapan1121 7dbe44b2b7
Merge pull request #19589 from taosdata/fix/TD-21925
fix: insert into select can't be stopped issue
2023-01-17 13:27:02 +08:00
dapan1121 6b259777ad fix: move crash report to shell 2023-01-17 11:18:49 +08:00
dapan1121 63a23a3562 fix: insert into select can't be stopped issue 2023-01-17 09:12:51 +08:00
Haojun Liao 59e25c0191
Merge pull request #19576 from taosdata/fix/liaohj
test: add new sim to CI.
2023-01-16 18:17:39 +08:00
dapan1121 2f889eb77e
Merge pull request #19569 from taosdata/szhou/fixbugs
fix: add stt_trigger to show create database processing
2023-01-16 17:26:28 +08:00
Haojun Liao e3248d0053 refactor: disable warning. 2023-01-16 16:02:23 +08:00
Benguang Zhao 95493432ed enh: trim the last WAL idx file which is not fsynced 2023-01-16 14:12:26 +08:00
dapan1121 09c0ff4dbf
Merge pull request #19541 from taosdata/fix/TD-21842
fix:memory leak
2023-01-16 13:10:54 +08:00
Haojun Liao 9f61d3ebab
Merge pull request #19559 from taosdata/fix/liaohj
fix(query): use the recycled blocks to reduce the cached buffer.
2023-01-16 11:34:38 +08:00
slzhou 51cdd4af19 fix: add stt_trigger to show create database processing 2023-01-16 10:28:34 +08:00
Shengliang Guan dbea8004a9
Merge pull request #19555 from taosdata/enh/TD-20047
fix: update epset on dnode info changed
2023-01-16 09:40:15 +08:00
Haojun Liao 9997362cf7 fix(query): use the recycled blocks to reduce the cached buffer. 2023-01-14 01:12:15 +08:00
Shengliang Guan ad8c73645b fix: update epset on dnode info changed 2023-01-13 15:26:24 +08:00
dapan1121 d864d4d62b
Merge pull request #19523 from taosdata/szhou/fixbugs
fix: no stable null group when no normal table
2023-01-13 13:28:02 +08:00
Shengliang Guan bd531ccfb3
Merge pull request #19542 from taosdata/enh/TD-20047
refact: adjust return value of tmsgUpdateDnodeInfo
2023-01-13 10:54:10 +08:00
wangmm0220 06f863fbad fix:memory leak 2023-01-12 17:38:07 +08:00
Shengliang Guan cd0404bc25 refact: adjust return value of tmsgUpdateDnodeInfo 2023-01-12 17:08:33 +08:00
Shengliang Guan e6b4031487 fix: coverity issues 2023-01-12 16:04:57 +08:00
Shengliang Guan 4e6fca5647 Merge remote-tracking branch 'origin/fix/TD-21663' into fix/TD-21663-2 2023-01-12 15:16:47 +08:00
Shengliang Guan 040c975eb2 fix: memory leak in mnode 2023-01-12 15:13:49 +08:00
Shengliang Guan 3973e0512d Merge remote-tracking branch 'origin/main' into fix/TD-21663-2 2023-01-12 13:29:35 +08:00
Shengliang Guan d57b28ac68 Merge remote-tracking branch 'origin/main' into fix/TD-21663 2023-01-12 13:22:20 +08:00
Shengliang Guan f1706ae175
Merge pull request #19493 from taosdata/fix/TD-21871-simon
fix: allow mnode start even dnode in dropping state
2023-01-12 10:22:59 +08:00
Benguang Zhao 5a4cc36079 enh: skip WAL forceSync for single replica vgroup 2023-01-12 09:25:55 +08:00
Shengliang Guan 6af99d7547
Merge pull request #19518 from taosdata/FIX/TD-21662-main
enh: fsync each WAL log after appending when wal_level=2 and wal_fsync_period=0
2023-01-12 09:09:26 +08:00
shenglian zhou 50bb847ff9 fix: no stable null group when no normal table 2023-01-12 09:06:58 +08:00
Benguang Zhao 97ce96a2fa enh: not fsync idx file in walFsync 2023-01-11 19:24:51 +08:00
Benguang Zhao 871a585a61 enh: fsync each WAL log after appending when wal_level=2 and wal_fsync_period=0 2023-01-11 18:28:45 +08:00
Shengliang Guan cff741e4c4 fix: coverity issues 2023-01-11 16:56:14 +08:00
Shengliang Guan e9c213ff0f fix: repeat malloc sdb raw 2023-01-11 16:37:45 +08:00
Minglei Jin 7b331135cf fix(tdb/ofp): upgrade ofp cell with large key 2023-01-11 16:16:05 +08:00
Shengliang Guan ad02a39657 fix: minor changes 2023-01-11 16:05:29 +08:00
Shengliang Guan 136247d7c9 Merge remote-tracking branch 'origin/main' into fix/TD-21871-simon 2023-01-11 15:59:45 +08:00
Shengliang Guan 6fccf849a1
Merge pull request #19503 from taosdata/fix/TD-21888
fix(tdb/ofp): upgrade large key ofp case
2023-01-11 15:57:47 +08:00
Minglei Jin 1872627343 fix(tdb/ofp): upgrade large key ofp case 2023-01-11 14:53:13 +08:00
Shengliang Guan e08c114e9f
Merge pull request #19486 from taosdata/fix/liaohj
enh(query): disable the memset when allocate the memory for dataBlock.
2023-01-11 14:27:19 +08:00
Shengliang Guan 118c01e6a2 fix: minor changes 2023-01-11 13:58:22 +08:00
Haojun Liao 78f49db0ad other: merge main. 2023-01-11 13:31:41 +08:00
Haojun Liao 3a848ccb36 fix(query): fix the invalid return value check for percentile function. 2023-01-11 13:19:17 +08:00
Shengliang Guan c5959c5b19 fix: invalid json item 2023-01-11 12:24:44 +08:00
Shengliang Guan 71ef10409c enh: adjust dmEps.c 2023-01-11 11:37:59 +08:00
Shengliang Guan 8c9daa32fc enh: refact dmFile.c 2023-01-11 11:18:39 +08:00
Shengliang Guan ba7f9f1df1 enh: refact dmEps.c 2023-01-11 11:06:16 +08:00
Shengliang Guan 9a95c3d7ab enh: refact vmFile.c 2023-01-11 10:44:07 +08:00
Haojun Liao e0dbe22199 fix(query): fix uninitialized memory buffer accessed. 2023-01-11 10:27:23 +08:00
Shengliang Guan f02f3e7a07 fix: allow mnode start even dnode in dropping state 2023-01-11 10:12:54 +08:00
Haojun Liao 75f4e64326 enh(query): adjust the memset rule when creating new datablock. 2023-01-10 23:45:49 +08:00
Haojun Liao abae9e0790 fix(query): set 0 when result is not qualified. 2023-01-10 23:40:16 +08:00
Haojun Liao 3eadb9b921 enh(query): disable the memset when allocate the memory for dataBlock. 2023-01-10 23:08:25 +08:00
dapan1121 c3cb4a52fc
Merge pull request #19425 from taosdata/fix/TD-21778
fix: tsdb read invalid memory read issue
2023-01-10 17:10:19 +08:00
Shengliang Guan 9011015aff
Merge pull request #19477 from taosdata/feature/stream_main
fix: reset table scan status
2023-01-10 16:26:10 +08:00
dapan1121 fd0d4bb830
Update tsdb.h
fix: remove tmp field
2023-01-10 15:39:16 +08:00
Shengliang Guan 2a087a9be8
Merge pull request #19469 from taosdata/FIX/TD-21851-main
fix: synchronize access within walFsync
2023-01-10 15:19:13 +08:00
Liu Jicong fcbac7236e fix: reset table scan status 2023-01-10 13:47:18 +08:00
dapan1121 459d2932b1 fix: memcpy empty value issue 2023-01-10 13:44:24 +08:00
Hui Li 8545bf06e3
Merge pull request #19467 from taosdata/fix/liaohj
fix(query): fix error for retrieve data only in last files.
2023-01-10 13:40:30 +08:00
Shengliang Guan 47885a126c
Merge pull request #19452 from taosdata/fix/TD-21829
fix: return dropping dnode in status resp
2023-01-10 13:14:44 +08:00
dapan1121 bfc483aa30 fix: row merge flag issue 2023-01-10 11:32:13 +08:00
Benguang Zhao df6e9631e1 fix: synchronize access within walFsync 2023-01-10 11:24:05 +08:00
Haojun Liao e244a484f8 fix(query): add additional check for imem/mem 2023-01-10 10:49:35 +08:00
dapan1121 0e06253d4d
Merge pull request #19461 from taosdata/fix/noCore
fix: no core file generated issue on linux
2023-01-10 09:58:19 +08:00
Shengliang Guan 9c5b5e93d9
Merge pull request #19408 from taosdata/FIX/TD-21428-main
enh: vote for higher lastLogTerm despite commitIndex
2023-01-10 09:35:15 +08:00
Shengliang Guan e194d87efa
Merge pull request #19456 from taosdata/fix/TD-21646
enh: read mnode file
2023-01-10 09:31:26 +08:00
dapan1121 a0d2da630e fix: no core file on linux 2023-01-10 09:28:04 +08:00
Haojun Liao 6a6d53b896
fix(query): fix error for retrieve data only in last files. (#19457)
* fix: add test cases;

* fix(query): fix error for retrieve data only in last files.
2023-01-09 20:55:34 +08:00