Commit Graph

19497 Commits

Author SHA1 Message Date
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
dapan1121 df2175087b fix: memory leak and invalid read issue 2023-01-09 19:47:17 +08:00
Haojun Liao 16f0900fe9 fix(query): fix error for retrieve data only in last files. 2023-01-09 19:26:39 +08:00
Shengliang Guan 012dbf3176 enh: read mnode file 2023-01-09 18:47:27 +08:00
Shengliang Guan 6ba5b6a287 fix: compile error 2023-01-09 17:28:27 +08:00
Shengliang Guan 284dd88b6f enh: add version for show cluster 2023-01-09 16:49:58 +08:00
Shengliang Guan 907cb73243 fix: return dropping dnode in status resp 2023-01-09 16:31:16 +08:00
Benguang Zhao 639652314f Merge branch main to FIX/TD-21428-main 2023-01-09 16:17:00 +08:00
dapan1121 66f2cc2704
Merge pull request #19446 from taosdata/fix/TD-21728
fix: error code not returned issue
2023-01-09 15:43:30 +08:00
dapan1121 6b9162ad46
Merge pull request #19401 from taosdata/fix/TS-2385
fix:table name error in schemaless
2023-01-09 15:40:57 +08:00
dapan1121 71d5916030 fix: error code not returned issue 2023-01-09 13:22:11 +08:00
Shengliang Guan 9a9e93b6fe fix: compile error in mac 2023-01-09 12:06:20 +08:00
Shengliang Guan cdcb3364ab Merge remote-tracking branch 'origin/main' into fix/TD-21644 2023-01-09 12:02:11 +08:00
Shengliang Guan 2aeda3a941 enh: refact raft store file 2023-01-09 12:01:36 +08:00
Shengliang Guan 8b9e7700dd
Merge pull request #19438 from taosdata/fix/TD-19582
fix: rename global variables
2023-01-09 11:38:44 +08:00
dapan1121 80586ad997 fix: invalid free issue 2023-01-09 11:33:26 +08:00
Shengliang Guan d4d329ecce fix: rename global variables 2023-01-09 10:18:12 +08:00
Benguang Zhao a2085703bf Merge branch main into FIX/TD-21812-main 2023-01-09 10:08:28 +08:00
Shengliang Guan f2d6ed8635
Merge pull request #19125 from taosdata/FIX/TD-21043-main
enh: vnodeCommit on consensus only
2023-01-09 09:41:34 +08:00
Shengliang Guan 35893eb9b1
Merge pull request #19435 from taosdata/fix/liaohj
fix(query): do not merge rows in last file when no data blocks exist.
2023-01-09 09:41:12 +08:00
Benguang Zhao 90830e5410 fix: use pInfo->info.state.committed instead of the current one for async vnodeCommit 2023-01-09 09:08:59 +08:00
Haojun Liao 95a6720b2a fix(query): do not merge rows in last file when no data blocks exist. 2023-01-08 23:02:16 +08:00
wangmm0220 71a10b914f Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-2385 2023-01-08 20:10:22 +08:00
Shengliang Guan 42d911bf8e Merge remote-tracking branch 'origin/main' into FIX/TD-21043-main 2023-01-08 09:44:07 +08:00
Shengliang Guan 0e561d0486
Merge pull request #19412 from taosdata/fix/main_bugfix_wxy
fix: set operator precision miss
2023-01-08 09:38:41 +08:00
dapan1121 d70e32e7d3 fix: compile issue 2023-01-07 14:56:43 +08:00
Shengliang Guan dc3bcbcb15
Merge pull request #19298 from taosdata/fix/TD-20098-2
fix; fix invalid vgroup id
2023-01-07 10:55:43 +08:00
Shengliang Guan 8c042f0eef
Merge pull request #19338 from taosdata/fix/TD-21697
fix: td-21697
2023-01-07 10:55:09 +08:00
Shengliang Guan 5865b4ac74
Merge pull request #19403 from taosdata/fix/changeDefaultConfig
change default config value
2023-01-07 10:54:23 +08:00
Shengliang Guan 8ebd94aab8
Merge pull request #19422 from taosdata/fix/TD-21756
fix(vnd/snap): keep vnode stats transfered from leader
2023-01-06 23:11:40 +08:00
dapan1121 66e62bb010 fix: tsdb read invalid memory read issue 2023-01-06 19:19:31 +08:00
dapan1121 feb396270d
Merge pull request #19278 from taosdata/enh/TD-21108
feat: support crash report to telemetry server
2023-01-06 19:13:37 +08:00
Minglei Jin 610b5631aa fix(vnd/snap): keep vnode stats transfered from leader 2023-01-06 18:00:01 +08:00
Shengliang Guan 10e7d88e49
Merge pull request #19418 from taosdata/fix/TD-21789
fix: handle error while write vnodes.json
2023-01-06 17:14:14 +08:00
Shengliang Guan 9bcc86485e
Merge pull request #19411 from taosdata/fix/TS-2382_2
fix: remove privilege info on drop db / topic
2023-01-06 17:10:24 +08:00
Shengliang Guan ef6c273c11 fix: minor changes 2023-01-06 15:56:27 +08:00
Shengliang Guan f5a6108ca0 fix: minor changes 2023-01-06 15:55:16 +08:00
Shengliang Guan 4a90f84e26 fix: minor changes 2023-01-06 15:50:27 +08:00
Shengliang Guan 71be00a811 fix: minor changes 2023-01-06 15:42:11 +08:00
Shengliang Guan e2ac984f61 fix: close file on sdbStopWrite 2023-01-06 15:40:09 +08:00
Shengliang Guan 7607a9788f fix: handle error while write json file 2023-01-06 15:39:56 +08:00
Shengliang Guan 675f0057cf fix: handle error while write dmEps.json 2023-01-06 15:24:24 +08:00
Shengliang Guan 3c619925f4 fix: handle error while write smnode.json 2023-01-06 15:16:07 +08:00
Shengliang Guan 03db839d4a fix: handle error while write vnodes.json 2023-01-06 15:15:54 +08:00
Ganlin Zhao 4203a9e184 fix: fix no available disk error 2023-01-06 14:33:48 +08:00
Shengliang Guan 81dcb23cae fix: handle error while write raft config file 2023-01-06 14:26:43 +08:00
Shengliang Guan 129380703f fix: handle error while write vnodes.json 2023-01-06 14:25:38 +08:00
dapan1121 e55cc0af22 Merge remote-tracking branch 'origin' into enh/TD-21108 2023-01-06 13:40:32 +08:00
Xiaoyu Wang aa8eea0d65 fix: set operator precision miss 2023-01-06 13:35:07 +08:00
Shengliang Guan a56d28ea57
Merge pull request #19396 from taosdata/fix/TD-21757
fix: tsdb snap wrong suid
2023-01-06 13:28:00 +08:00
dapan1121 044e14f718
Merge pull request #19406 from taosdata/fix/TS-2384-M
fix: rsma commit without table
2023-01-06 13:06:26 +08:00
Shengliang Guan 5e9a90ef5c fix: remove privilege info on drop db / topic 2023-01-06 11:53:55 +08:00
kailixu 9c33f014b1 fix: rsma commit without table 2023-01-06 10:57:04 +08:00
yihaoDeng 88abc4fde2 change default config value 2023-01-06 09:36:57 +08:00
kailixu f3831b54db fix: rsma commit without table 2023-01-06 07:41:07 +08:00
yihaoDeng 867b71a19c change default config value 2023-01-05 21:32:40 +08:00
wangmm0220 d1b4dc94d8 fix:table name error in schemaless 2023-01-05 19:26:45 +08:00
Hongze Cheng d9d4074377 fix: tsdb snap wrong suid 2023-01-05 17:32:39 +08:00
Benguang Zhao e66f19ab46 enh: vote for higher lastLogTerm despite commitIndex 2023-01-05 17:09:37 +08:00
Benguang Zhao 47ace00090 enh: refactor some sync func names for pipelining 2023-01-05 17:09:37 +08:00
Shengliang Guan 84bea778c9 Merge branch 'fix/TD-21746' into FIX/TD-21043-main 2023-01-05 16:15:50 +08:00
Shengliang Guan b8e1064b0f fix: compile error 2023-01-05 16:15:42 +08:00
Shengliang Guan a28398c060 fix: compile error 2023-01-05 16:11:01 +08:00
Shengliang Guan ef3e60c387 Merge branch 'fix/TD-21746' into FIX/TD-21043-main 2023-01-05 15:58:30 +08:00
Shengliang Guan ed56abd40f fix: crash if reader is already dropped 2023-01-05 15:55:33 +08:00
Shengliang Guan e34378184d
Merge pull request #19369 from taosdata/fix/TD-21353
fix(vnode/mgmt): pre close vnode after queue's empty
2023-01-05 15:04:26 +08:00
dapan1121 ca9f4be1d7
Merge pull request #19370 from taosdata/enh/TD-21690
enh(query): handle getBufPage return NULL when no available disk spaces
2023-01-05 13:47:39 +08:00
Shengliang Guan 7e5d97f0da fix: stop snapshot receiver on sync post close 2023-01-05 12:00:35 +08:00
Shengliang Guan 84ec8a7f3d Merge branch 'main' into fix/TD-21353 2023-01-05 11:53:38 +08:00
Minglei Jin 0dd9e4bdee fix(vnode): new vnodePostClose for closing sync module 2023-01-05 11:35:39 +08:00
Ganlin Zhao 183b000240 fix error 2023-01-05 10:18:18 +08:00
Benguang Zhao 9d5e74a3ff Merge branch 'main' into FIX/TD-21043-main 2023-01-05 09:47:22 +08:00
Ganlin Zhao ffd901fa6f fix mem leak 2023-01-05 09:13:57 +08:00
Shengliang Guan eb7b16a457
Merge pull request #19372 from taosdata/FIX/TD-21546-main
fix: send rpc response on closing sync or failing to enqueue
2023-01-05 09:13:17 +08:00
Benguang Zhao 442902e5cb fix: send rpc response on closing sync or failing to enqueue 2023-01-04 19:18:46 +08:00
Shengliang Guan 56ab3a2315
Merge pull request #19360 from taosdata/fix/main_bugfix_wxy
fix: 'show user privilegs' command echo user name incomplete
2023-01-04 19:18:38 +08:00
dapan1121 a551641b6c fix: add mac crash report processing 2023-01-04 19:12:16 +08:00
dapan1121 86382731df fix: mac crash stack ignore number 2023-01-04 18:58:18 +08:00
Ganlin Zhao 4a3c892472 Merge branch 'main' into enh/TD-21690 2023-01-04 18:29:03 +08:00
Ganlin Zhao 898955521d fix getBufPage return NULL in tpercentile.c 2023-01-04 18:24:34 +08:00
Ganlin Zhao 929bafa264 fix getBufPage return NULL in tpercentile.c 2023-01-04 18:15:16 +08:00
Minglei Jin c28ba32c93 fix(vnode/mgmt): pre close vnode after queue's empty 2023-01-04 18:08:33 +08:00
Ganlin Zhao af0bd9c72b fix loadTupleData 2023-01-04 17:59:30 +08:00
Ganlin Zhao 6411e717df fix updateTupleData 2023-01-04 17:18:14 +08:00
Xiaoyu Wang 90c1ed107c fix: duplicate column check in 'create stream' command 2023-01-04 17:09:59 +08:00
Ganlin Zhao d5c92d3788 fix saveTuplePos 2023-01-04 16:59:55 +08:00
dapan1121 3bccd891bb fix: add debug code 2023-01-04 16:51:46 +08:00
dapan1121 8a773d6b7f
Merge pull request #19325 from taosdata/enh/TD-21206
fix: fix ASSERTs
2023-01-04 16:10:12 +08:00
Ganlin Zhao 003002af1d enh(query): handle getBufPage return NULL when no available disk spaces 2023-01-04 16:09:20 +08:00
dapan1121 be23890976 fix: ut test issue 2023-01-04 16:07:30 +08:00
dapan1121 6f3cc64fa6
Merge pull request #19358 from taosdata/feat/TD-21721
feat: add batch get table vgId API
2023-01-04 16:05:53 +08:00
dapan 47125b5d9d fix: windows crash report issues 2023-01-04 15:11:01 +08:00
Xiaoyu Wang 44a867b751 fix: 'show user privilegs' command echo user name incomplete 2023-01-04 14:42:03 +08:00
dapan1121 36c582c678 feat: add batch get table vgId API 2023-01-04 14:01:43 +08:00
Ganlin Zhao 795fcab242 fix error 2023-01-04 14:01:04 +08:00
Shengliang Guan 848b16b8f6
Merge pull request #19345 from taosdata/feature/3_liaohj
enh(query): opt filter perf.
2023-01-04 13:22:24 +08:00
Haojun Liao 5a343bd01c fix(query): increase the index when handling the var data type. 2023-01-04 11:48:54 +08:00
Shengliang Guan e2056ba8fb Merge branch 'main' into FIX/TD-21043-main 2023-01-04 11:48:35 +08:00
Shengliang Guan bf6dc99461 fix: adjust sync logs 2023-01-04 11:48:30 +08:00
Ganlin Zhao 0f877eea43 fix error 2023-01-04 11:29:35 +08:00
Shengliang Guan 6477798114
Merge pull request #19350 from taosdata/fix/TS-2371
enh: use diff atomic op
2023-01-04 11:08:36 +08:00