Commit Graph

20217 Commits

Author SHA1 Message Date
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
Xiaoyu Wang b8183580cb feat: add an event_window clause for the explain command 2023-01-11 09:22:31 +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
wangmm0220 3b4ff4d094 fix:add logic for scan ins_columns 2023-01-10 20:32:31 +08:00
Minglei Jin 5024fc1e9f tsdb/suspend: fix table block scan info 2023-01-10 18:40:15 +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
Hongze Cheng 020b79a094 little fix 2023-01-10 17:04:23 +08:00
Hongze Cheng 38b9eb8179 Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 17:00:31 +08:00
Hongze Cheng 1154f90aa0 fix: cond wait EINVAL 2023-01-10 17:00:25 +08:00
Minglei Jin 4032340e92 tsdb/reader: reset reader status with lock protected 2023-01-10 16:45:58 +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
Minglei Jin 086ec24688 tsdb/reader: reset reader status with lock protected 2023-01-10 16:07:37 +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
Hongze Cheng 141f294a3a Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 11:56:17 +08:00
Hongze Cheng 2e161729b6 refact code 2023-01-10 11:56:09 +08:00
Minglei Jin e48bdbfd0f tsdb/log-query: new proactive flag for mem table unref 2023-01-10 11:52:40 +08:00
Hongze Cheng bff8c216cc more code 2023-01-10 11:36:40 +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
Hongze Cheng bb2ed08afc Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 11:01:50 +08:00
Hongze Cheng f26f661f47 more code 2023-01-10 11:01:41 +08:00
Haojun Liao e244a484f8 fix(query): add additional check for imem/mem 2023-01-10 10:49:35 +08:00
Minglei Jin d69ec98723 tsdb/read: reseek with try lock mutex 2023-01-10 10:38:44 +08:00
54liuyao d5ade95b31 feat(stream):user define tag 2023-01-10 10:13:56 +08:00
Minglei Jin f0e9656b62 Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 10:12:30 +08:00
Minglei Jin 3178843b72 tsdb/cache: reseek with busy always 2023-01-10 10:11:17 +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
Hongze Cheng 851dba5166 refact code 2023-01-10 09:56:38 +08:00
Hongze Cheng 1dfeaf8b18 refact code 2023-01-10 09:53:38 +08:00
Hongze Cheng f848324d54 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 09:42:45 +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 b9b8a7ed35
Merge pull request #19429 from taosdata/merge/mainto3.0_0108
merge from main to 3.0
2023-01-10 09:31:55 +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
Hongze Cheng 933bd7b78c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-09 19:03:19 +08:00
Hongze Cheng ad9e8a9aa3 more code 2023-01-09 19:03:09 +08:00
Shengliang Guan 012dbf3176 enh: read mnode file 2023-01-09 18:47:27 +08:00
dapan1121 54558b438c
Merge pull request #19448 from taosdata/refact/submit_req_marks
fix:table name error in schemaless
2023-01-09 18:36:57 +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
Hongze Cheng f8c9ae50b8 more code 2023-01-09 16:06:07 +08:00
Hongze Cheng 2e443c395e more code 2023-01-09 15:51:30 +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
wangmm0220 a462f518e3 fix:table name error in schemaless 2023-01-09 15:14:20 +08:00
Hongze Cheng 15995e7631 more code 2023-01-09 14:54:49 +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
Xiaoyu Wang 4dca6df296 enh: optimize the error message of the situation that percentile function does not support 2023-01-09 11:50:34 +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
Hongze Cheng 375545435c adjust more code 2023-01-09 10:09:31 +08:00
Benguang Zhao a2085703bf Merge branch main into FIX/TD-21812-main 2023-01-09 10:08:28 +08:00
Shengliang Guan 398161eb5f Merge branch 'main' into merge/mainto3.0_0108 2023-01-09 10:00:53 +08:00
Shengliang Guan 054c313369 fix: compile error in mac 2023-01-09 10:00:51 +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
Hongze Cheng fda6fccac8 more code 2023-01-09 09:24:26 +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 d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
Hongze Cheng c4b6a99caf Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-08 09:45:55 +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 a3b5fca070
Merge pull request #19409 from taosdata/FIX/xsren/osFileUnlock
fix:Deadlock caused by assert modification
2023-01-08 09:42:20 +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 295eee4703
Merge pull request #19416 from taosdata/refact/submit_req_marks
fix:ASSERT in client mode & converity error
2023-01-07 11:01:01 +08:00
Shengliang Guan 45ef1c7405
Merge pull request #19402 from taosdata/chore/sangshuduo/TD-19391-oem-support
chore: prompt support
2023-01-07 10:58:42 +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 104a6f86dc
Merge pull request #19417 from taosdata/fix/TD-21664
fix(meta): cleanup coverity scan issues
2023-01-07 10:53:28 +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
wangmm0220 e1020b7967 fix:add interface for taos_get_current_db 2023-01-06 19:20:31 +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
dapan1121 cdd3c67c69
Merge pull request #19419 from taosdata/fix/TD-21784
fix: fix no available disk error
2023-01-06 19:01:08 +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
Ganlin Zhao eae188b445 fix: fix no available disk error 2023-01-06 16:19:41 +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
Minglei Jin 88185c1ad6 fix(meta): cleanup coverity scan issues 2023-01-06 15:43:54 +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
Hongze Cheng d7ec7ed936 more code 2023-01-06 15:24:27 +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
wangmm0220 ce3fbae952 fix:ASSERT in client mode & converity error 2023-01-06 14:37:38 +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
kailixu 55156ebcb3 fix: coverity issue 2023-01-06 14:20:24 +08:00
Hongze Cheng 75cd1fc9bf Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-06 13:45:35 +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
facetosea 61734b9c6a fix:Deadlock caused by assert modification 2023-01-06 10:43:47 +08:00
yihaoDeng 88abc4fde2 change default config value 2023-01-06 09:36:57 +08:00
Shengliang Guan 77bbbdc776
Merge pull request #19388 from taosdata/fix/little_change
fix: little change
2023-01-06 08:59:55 +08:00
Shengliang Guan b9f95b6a12
Merge pull request #19390 from taosdata/merge/mainto3.0_0105
merge from main to 3.0
2023-01-06 08:59:32 +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
Shuduo Sang bcbf672600 Merge branch '3.0' into chore/sangshuduo/TD-19391-oem-support 2023-01-05 18:16:38 +08:00
Shuduo Sang c6a08b64b5 chore: merge with 3.0 2023-01-05 17:36:30 +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
dapan1121 4fa6aba2bd
Merge pull request #19387 from taosdata/fix/TD-21668
fix: fix coverity issues
2023-01-05 16:37:48 +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 3016f35e9f Merge branch '3.0' into merge/mainto3.0_0105 2023-01-05 16:08:23 +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
Hongze Cheng e710802f1f more code 2023-01-05 15:40:15 +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
Hongze Cheng fef8976836 fix: little change 2023-01-05 15:00:29 +08:00
wangmm0220 730fbe42cb fix:add logic for system table ins_columns 2023-01-05 14:34:07 +08:00
Ganlin Zhao a2cc08145a fix: fix coverity issues 2023-01-05 14:11:05 +08:00
Minglei Jin 4e1f5b2979 fix(meta): cleanup coverity scan issues 2023-01-05 14:04:21 +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
dapan1121 1a75fa71bd
Merge pull request #19371 from taosdata/enh/TD-21211-3.0
enh: return error when data out of range
2023-01-05 13:35:06 +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
Shengliang Guan a986d70bb7
Merge pull request #19260 from taosdata/fix/long_query
fix(query): long query fix to avoid buffer pool locking too long
2023-01-05 11:24:17 +08:00
Ganlin Zhao 183b000240 fix error 2023-01-05 10:18:18 +08:00
dapan1121 ad6681b424
Merge pull request #19366 from taosdata/refact/submit_req_marks
fix:memory leak in schemaless
2023-01-05 09:55:05 +08:00
Benguang Zhao 9d5e74a3ff Merge branch 'main' into FIX/TD-21043-main 2023-01-05 09:47:22 +08:00
xinsheng Ren 936f282eab
TD-21220 fix assert (#19363)
* TD-21220 fix assert

* fix/compile failed

* fix/taosEOFFile exception return

Co-authored-by: facetosea <25808407@qq.com>
2023-01-05 09:20:14 +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
Shengliang Guan c64b5d5bee
Merge pull request #19364 from taosdata/enh/3.0_planner_optimize
enh: clear assert and fix coverity scan
2023-01-04 19:18:10 +08:00
dapan1121 a551641b6c fix: add mac crash report processing 2023-01-04 19:12:16 +08:00
kailixu f8f74c1780 enh: return error when data out of range 2023-01-04 19:11:33 +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
Minglei Jin 57c303b4f1 Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-04 17:58:06 +08:00
Minglei Jin 6591b98245 fix(tsdb): comment qlist out to please CI 2023-01-04 17:57:50 +08:00
Liu Jicong 5ee7e7aed9 fix: init tsdb read snap 2023-01-04 17:55:00 +08:00
Ganlin Zhao 6411e717df fix updateTupleData 2023-01-04 17:18:14 +08:00
wangmm0220 9c4cebb1b7 fix:memory leak 2023-01-04 17:15:30 +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
Xiaoyu Wang 68ac5e5289 enh: clear assert and fix coverity scan 2023-01-04 16:46:02 +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
wangmm0220 d3fe415bef fix:memory leak 2023-01-04 15:45:38 +08:00
Minglei Jin 625bf9992f
Merge branch '3.0' into fix/long_query 2023-01-04 15:15:51 +08:00
Liu Jicong e30c00875c enh: close tsdb reader 2023-01-04 15:14:00 +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 0fff3b3447 feat: add batch get table Vgid API 2023-01-04 14:13:08 +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
wangmm0220 e7e4d84627 fix:memory leak 2023-01-04 11:47:14 +08:00
wangmm0220 983b754198 fix:error in parse json 2023-01-04 11:45:09 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +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
dapan1121 e1b25c192e
Merge pull request #19337 from taosdata/fix/TD-21688-MAIN
fix:  varchar type order by rule different with nchar type
2023-01-04 10:49:46 +08:00
yihaoDeng 5b7b8a97b4 fix invalid vgroup id 2023-01-04 10:48:38 +08:00
dapan1121 efa994f445
Merge pull request #19339 from taosdata/fix/TD-21659
fix: drop task while task executing issue
2023-01-04 10:35:57 +08:00
wangmm0220 25643c4409 fix:memory leak 2023-01-04 10:27:33 +08:00
wangmm0220 af64ab26c8 fix:memory leak 2023-01-04 10:07:14 +08:00
Hongze Cheng 0a085da032 enh: use diff atomic op 2023-01-04 09:35:48 +08:00
Shengliang Guan 34260cd397 Merge branch 'main' into FIX/TD-21043-main 2023-01-04 09:29:07 +08:00
Ganlin Zhao e3b776c7f3 Merge branch 'main' into enh/TD-21206 2023-01-04 09:18:38 +08:00
Ganlin Zhao 4b81962269 fix asserts 2023-01-04 09:16:00 +08:00
dapan1121 d260d75953 Merge remote-tracking branch 'origin' into enh/TD-21108 2023-01-04 09:00:12 +08:00
xinsheng Ren 047aae9caf
Enh/xsren/td 21652/win file lock base main (#19317)
* add os subtest (#19304)

* add os subtest

* fix/test.cpp include header file

Co-authored-by: facetosea <25808407@qq.com>

* TD-21652 win file lock

* fix/ostest:exception on mac

Co-authored-by: facetosea <25808407@qq.com>
2023-01-04 08:59:29 +08:00
dapan1121 ac7d250a7f Merge remote-tracking branch 'origin' into enh/TD-21108 2023-01-04 08:57:22 +08:00
Haojun Liao e07c30be1c fix(query): clear the length before append var data. 2023-01-04 00:49:38 +08:00
Haojun Liao 1a97a659bc fix(query): fix error in filter. 2023-01-04 00:19:04 +08:00
kailixu 8ab9acee4c chore: more code 2023-01-03 23:36:17 +08:00
kailixu bdbda4c621 Merge branch '3.0' into enh/TD-21211-3.0 2023-01-03 23:13:58 +08:00
Haojun Liao 00c2d382b1 fix(query): opt filter perf. 2023-01-03 22:45:02 +08:00
Shengliang Guan 89425dc488
Merge pull request #19333 from taosdata/enh/TD-21207
enh: remove assert from mnode
2023-01-03 22:33:20 +08:00
Shengliang Guan 3d30466c84
Merge pull request #19344 from taosdata/fix/TD-21689
fix: vnode set the wrong replica info after snapshot transfered
2023-01-03 22:33:02 +08:00
yihaoDeng d383dcd59d fix mem leak 2023-01-03 21:57:00 +08:00
yihaoDeng b5dbc8439f fix mem leak 2023-01-03 20:35:26 +08:00
Shengliang Guan 4bd99bb730
Merge pull request #19319 from taosdata/feature/stream_3.0
refactor: remove unused code
2023-01-03 20:15:07 +08:00
Shengliang Guan 9df158e1d9 fix: update assert info 2023-01-03 20:12:25 +08:00
Shengliang Guan 1dbb9db552 Merge remote-tracking branch 'origin/main' into enh/TD-21207 2023-01-03 20:10:00 +08:00
Shengliang Guan 17d9d2852c
Merge pull request #19334 from taosdata/fix/wal_ref
fix: load wal ref when init
2023-01-03 20:06:16 +08:00
Shengliang Guan 31ccb016b0
Merge pull request #19336 from taosdata/fix/TS-2371
fix: skiplist concurrent access
2023-01-03 20:05:57 +08:00
Shengliang Guan 70b513c09c fix: vnode set the wrong replica info after snapshot transfered 2023-01-03 19:47:04 +08:00
Haojun Liao 5c0fd80195 fix(query): fix memory leak. 2023-01-03 19:45:41 +08:00
Haojun Liao 05a2eeed44 fix(query): fix memory leak. 2023-01-03 19:36:53 +08:00
Haojun Liao bf70cdb474 enh(query): opt filter perf. 2023-01-03 19:35:38 +08:00
wangmm0220 d7dce180e4 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req_marks 2023-01-03 19:27:17 +08:00
Haojun Liao 4dce537a8a enh(query): opt filter perf. 2023-01-03 19:27:16 +08:00
wangmm0220 21c62ea437 fix:check table name length for json parser 2023-01-03 18:36:08 +08:00
Minglei Jin b020383046 fix(tsdb): comment qlist out to please CI 2023-01-03 18:30:50 +08:00
dapan1121 100001cac9
Merge pull request #19296 from taosdata/refact/submit_req
opti:json parse logic in schemaless
2023-01-03 18:26:18 +08:00
wangmm0220 087f88a617 fix:malloc too large 2023-01-03 18:18:46 +08:00
Liu Jicong 534561ffe1 merge 3.0 2023-01-03 18:18:39 +08:00
Liu Jicong f26032e279 fix conflict 2023-01-03 18:17:40 +08:00
dapan1121 1477ce97a7 fix: drop task while task executing issue 2023-01-03 18:07:18 +08:00
dapan1121 2313d5316f
Merge pull request #19326 from taosdata/feat/TS-2221-3.0
feat: support total vgroups count for show table distributed command
2023-01-03 18:02:00 +08:00
Haojun Liao 169a6703d1 enh(query): support event window. 2023-01-03 17:51:50 +08:00
Alex Duan 55067ad15c fix: build error covert pointer type 2023-01-03 17:50:33 +08:00
yihaoDeng 68d84a1c37 fix mem leak 2023-01-03 17:49:07 +08:00
yihaoDeng 2fbede75a3 fix mem leak 2023-01-03 17:46:17 +08:00
Haojun Liao 53c3cbd661 enh(query): support event window. 2023-01-03 17:41:10 +08:00
Shengliang Guan 650ea06b69
Merge pull request #19321 from taosdata/feature/3_liaohj
fix(utility): fix the bug in creating auto delete files.
2023-01-03 17:40:48 +08:00
Alex Duan bb6c875765 fix: conform NCHAR sort order with VARCHAR 2023-01-03 17:39:00 +08:00
dapan1121 49cc5012ce
Merge pull request #19327 from taosdata/fix/TD-21657
fix: evac page failed issue cause of disk full
2023-01-03 17:38:16 +08:00
dapan1121 99022967b4
Merge pull request #19305 from taosdata/fix/TD-21593-3.0
fix: tsma result submit for row/column update
2023-01-03 17:25:16 +08:00
dapan1121 3e1e6be827
Merge pull request #19262 from taosdata/fix/TS-2350
fix(query): fix floating type handle sma error
2023-01-03 17:21:30 +08:00
Minglei Jin 07f16b1660 Merge branch 'v3.0' into fix/long_query 2023-01-03 17:21:10 +08:00
Hongze Cheng 1567fe2f67 fix: skiplist concurrent access 2023-01-03 17:19:19 +08:00
Liu Jicong e4ab8f986b remove assert 2023-01-03 17:06:43 +08:00
WANG MINGMING 0260512d95
Merge pull request #19335 from taosdata/refact/submit_req_marks
fix:Refact/submit req marks
2023-01-03 17:02:34 +08:00
Liu Jicong 9e71a58675 fix: load wal ref when init 2023-01-03 16:45:45 +08:00
Shengliang Guan 9a10242f7d enh: remove assert from mnode consumer 2023-01-03 16:16:58 +08:00
Ganlin Zhao 028ded935a fix assert in filter.c 2023-01-03 16:06:44 +08:00
wangmm0220 50d2a1c11f fix:malloc too large 2023-01-03 16:01:03 +08:00
Ganlin Zhao 0ddb9be3d9 fix assert in sclfunc.c 2023-01-03 15:47:22 +08:00
dapan1121 47e885da07 fix: evac page failed issue cause of disk full 2023-01-03 15:40:40 +08:00
Shengliang Guan fc21140e03 enh: remove assert from mnode 2023-01-03 15:33:50 +08:00
Ganlin Zhao 263a1a877e fix assert in scalar.c 2023-01-03 15:32:32 +08:00
Ganlin Zhao 8146113835 fix asserts in sclvector.c 2023-01-03 15:27:54 +08:00
xinsheng Ren 42c662bf17
Enh/xsren/td 21652/win file lock (#19313)
* add os subtest

* fix/test.cpp include header file

* TD-21652 win file lock

* fix/ostest:exception on mac

Co-authored-by: facetosea <25808407@qq.com>
2023-01-03 15:24:51 +08:00
Ganlin Zhao 5e4b139355 fix assert in tpercentile.c 2023-01-03 15:23:43 +08:00
wangmm0220 5cd433f756 fix:add log for json parse 2023-01-03 15:05:25 +08:00
Shengliang Guan 5660199016
Merge pull request #19322 from taosdata/hotfix--add-log
enh: add log
2023-01-03 14:48:53 +08:00
Ganlin Zhao d454ec970d fix assert in tpercentile.c 2023-01-03 14:40:41 +08:00
Alex Duan f2a1ce128e fix: add numOfVgroups to serial and deserial function 2023-01-03 14:26:15 +08:00
Haojun Liao b8aa4fae8a fix(udf): disable the auto remove for *.so 2023-01-03 14:23:27 +08:00
Ganlin Zhao 5b88f0fffb fix assert in thistogram.c 2023-01-03 14:21:01 +08:00
Alex Duan b68e440cc2 feat: support total vgroups count for table 2023-01-03 14:13:51 +08:00
Liu Jicong 9eaf8b561f fix compile 2023-01-03 13:35:49 +08:00
Shengliang Guan d1d199e735
Merge pull request #19318 from taosdata/feature/stream_main
fix mem leak
2023-01-03 13:29:47 +08:00
Haojun Liao e7b1a7dc78 enh(query): support event window. 2023-01-03 13:15:09 +08:00
Hongze Cheng 9fd2ac0b4c add log 2023-01-03 11:57:25 +08:00
wangmm0220 f23ab58592 fix:add log for json parse 2023-01-03 11:28:07 +08:00
Liu Jicong eacde27fdb refactor: remove unused code 2023-01-03 11:24:11 +08:00
dapan1121 d0469cc4c7
Merge pull request #19261 from taosdata/feat/TD-20866-3.0
feat: support show cluster alive; and show db.alive;
2023-01-03 11:22:19 +08:00
Liu Jicong 617d8d4013 fix mem leak 2023-01-03 11:18:48 +08:00
Ganlin Zhao 09a06ba5b2 remove assert from builtinsimpl.c 2023-01-03 11:18:21 +08:00
Haojun Liao f93abddc88 fix(utility): fix the bug in creating auto delete files. 2023-01-03 11:16:49 +08:00
Shengliang Guan 43bc021eb0
Merge pull request #19312 from taosdata/feature/3_liaohj
refactor: disable all asserts.
2023-01-03 11:15:37 +08:00
kailixu d34dc4bf5f chore: print format 2023-01-03 10:29:24 +08:00
kailixu 88b4a904ac chore: print format 2023-01-03 10:27:58 +08:00
xinsheng Ren 25f24af05d
add os subtest (#19304)
* add os subtest

* fix/test.cpp include header file

Co-authored-by: facetosea <25808407@qq.com>
2023-01-03 10:19:32 +08:00
kailixu 98cd9670e3 Merge branch '3.0' into enh/TD-21211-3.0 2023-01-03 09:59:05 +08:00
Minglei Jin e4e72dd9e9 fix(tsdb/read): new tsdbReleaseDataBlock api from release reader's lock 2023-01-03 09:43:29 +08:00
dapan1121 38d1e8688e fix: remove debug code 2023-01-03 09:27:41 +08:00
dapan1121 6b5cd86d79
Merge pull request #19281 from taosdata/fix/TD-21547-3.0
fix: insert into select with disorder column issue
2023-01-03 09:25:56 +08:00
dapan1121 d33bcc9977
Merge pull request #19280 from taosdata/fix/TD-21547
fix: insert into select with disorder column issue
2023-01-03 09:24:04 +08:00
kailixu fd44bf15b8 chore: rsma code optimization 2023-01-02 23:07:48 +08:00
kailixu 9a67de6ce8 chore: rsma bug fix 2023-01-02 22:44:18 +08:00
kailixu 8c6120db92 enh: rsma asserts process 2023-01-02 18:24:47 +08:00
WANG MINGMING dbd41bff41
Merge pull request #19307 from taosdata/refact/submit_req_marks
opti:submit req marks
2023-01-02 17:55:16 +08:00
wangmm0220 1cb2e865d6 fix:error in schemaless 2023-01-02 17:53:03 +08:00
kailixu ea7c1338ff chore: merge 3.0 2023-01-02 16:48:27 +08:00
Benguang Zhao 4031dc1af4 Merge branch main into FIX/TD-21043-main 2023-01-02 16:41:46 +08:00
kailixu 8905a4839e fix: tsma result submit for row/column update 2023-01-02 15:57:36 +08:00
wangmm0220 11dbf0a05e fix:error in parse json 2023-01-02 15:05:03 +08:00
Benguang Zhao 2baa71883d enh: logging states of sync log repl mgrs and the ring buffer in syncPrintNodeLog 2023-01-02 11:13:53 +08:00
Shengliang Guan d290daa197
Merge pull request #19297 from taosdata/fix/TS-2349
fix: allow the ip resolved by fqdn different between dnodes
2023-01-02 09:41:24 +08:00
Benguang Zhao cb433c191b enh: reset as stagnation only when not matched in syncLogReplMgrRetryOnNeed 2023-01-02 08:58:13 +08:00
Benguang Zhao 3edde0eadf fix: tdbAbort on metaClose or streamMetaClose instead of tdbTxnClose 2023-01-01 21:07:32 +08:00
yihaoDeng 17b5df0018 fix invalid vgroup id 2022-12-31 16:27:50 +08:00
yihaoDeng 69fab69932 fix invalid vgroup id 2022-12-31 15:24:35 +08:00
yihaoDeng ac989908a2 fix invalid vgroup id 2022-12-31 14:13:33 +08:00
Alex Duan eabecd2d9d fix: sql.y update by xiaoyu, so merge again 2022-12-31 09:04:47 +08:00
Shengliang Guan 919df1f039
Merge pull request #19126 from taosdata/fix/TD-21221-MAIN
feat(util): new ASSERT work
2022-12-30 23:09:21 +08:00
Shengliang Guan d5c64f71f9
Merge pull request #19264 from taosdata/fix/TD-21216
enh: remove assert
2022-12-30 23:08:08 +08:00
Shengliang Guan 3de892d41e fix: return 0 if fileptr is null while fsync 2022-12-30 23:07:07 +08:00
Shengliang Guan 574915a48b fix: compatbility issue 2022-12-30 20:10:49 +08:00
Shengliang Guan 2432a56a53 Merge remote-tracking branch 'origin/main' into fix/TS-2349 2022-12-30 20:04:13 +08:00
Shengliang Guan 3a11c62243
Merge pull request #19290 from taosdata/feature/stream_main
fix: reset stream status when load from disk
2022-12-30 19:44:09 +08:00
Benguang Zhao 03f4b12386 enh: print peer addr in hex format 2022-12-30 19:36:18 +08:00
Shengliang Guan 01209614e6 fix: compatiable for pre version 2022-12-30 19:04:18 +08:00
Alex Duan c0a16094ab fix: merge from 3.0 2022-12-30 19:02:48 +08:00
Benguang Zhao eb524e610a enh: reset sync log replication on stagnation for eight times maxRetryWaitMs 2022-12-30 19:02:46 +08:00
WANG MINGMING 28b0cf949c
Merge pull request #19295 from taosdata/refact/submit_req_marks
opti:json parse logic for schemaless
2022-12-30 18:45:08 +08:00
wangmm0220 071ee9772f fix:json parse error 2022-12-30 18:14:18 +08:00
Alex Duan 2439c345d9 enh: clear assert remove tbuffer.h 2022-12-30 18:04:54 +08:00
wangmm0220 bed01128bb fix:json parse error 2022-12-30 18:03:01 +08:00
Alex Duan 70bc3fbb08 enh: clear assert fix build error 2022-12-30 17:56:42 +08:00
Alex Duan df104b0801 enh: clear assert fix build error 2022-12-30 17:55:22 +08:00
dapan1121 2f9734d56b
Merge pull request #19285 from taosdata/enh/TD-21208
enh: remove asserts
2022-12-30 17:51:22 +08:00
Alex Duan 35015452e5 enh: clear assert remove tbuffer.h and .c file 2022-12-30 17:49:48 +08:00
dapan1121 98a2eb03f0 fix: index not updated issue 2022-12-30 17:48:24 +08:00
Shengliang Guan 469dfb9d4e fix: compile errors 2022-12-30 17:47:17 +08:00
dapan1121 d674bae88e fix: fix index not update issue 2022-12-30 17:47:06 +08:00
Shengliang Guan 929be865f1 Merge branch 'main' into fix/TS-2349 2022-12-30 17:42:56 +08:00
Haojun Liao dbc3dd97bb rerfactor: remove unused code. 2022-12-30 17:42:20 +08:00
dapan1121 b8cbc93584 Merge remote-tracking branch 'origin' into enh/TD-21108 2022-12-30 17:38:38 +08:00
wangmm0220 c549bc7183 fix:json parse error 2022-12-30 17:31:40 +08:00
Liu Jicong 095c6d39ca reset param 2022-12-30 17:30:02 +08:00
Benguang Zhao 4718f4d1b6 fix: resend acked msgs on exceeding maximum retryWaitMs 2022-12-30 17:24:44 +08:00
Shengliang Guan 9c1f2997f1 fix: test compile error 2022-12-30 17:16:02 +08:00
wangmm0220 5290c32fd1 fix:json parse error 2022-12-30 17:11:22 +08:00
Shengliang Guan c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Liu Jicong 4601e67e67 fix: reset stream status when load from disk 2022-12-30 16:59:48 +08:00
Shengliang Guan b1e01c700d
Merge pull request #19275 from taosdata/enh/3.0_planner_optimize
feat: support writing streams to existing tables
2022-12-30 16:10:53 +08:00
Minglei Jin d3c97947f3 fix(tsdb/read): use int32_t instead of size_t for taosHashGetSize 2022-12-30 16:04:18 +08:00
Alex Duan 56c14f79a7 enh: remove assert tpagebuff.c 2022-12-30 15:58:38 +08:00
dapan1121 586b73bef1 fix: windows compile issue 2022-12-30 15:56:37 +08:00
Alex Duan 02dec5a10a enh: assert remove task 2022-12-30 15:51:10 +08:00
xinsheng Ren e93863a652
enh/TD-21425/windows print trace (#19258)
* enh/TD-21425/windows print trace

* enh/windows trace test

* fix/check calloc failed

* enh/windows print,stack size hard code
2022-12-30 15:39:39 +08:00
xinsheng Ren fcf64fa3d5
Enh/xsren/win print trace mainbase (#19279)
* enh/TD-21425/windows print trace

* enh/windows trace test

* fix/check calloc failed

* enh/windows print,stack size hard code
2022-12-30 15:39:15 +08:00
dapan1121 2a15e52bb9
Merge pull request #19277 from taosdata/fix/qwInvalidMsgOrder
fix: invalid msg order issue
2022-12-30 15:35:58 +08:00
dapan1121 436bc5cbe8 enh: remove asserts 2022-12-30 15:35:03 +08:00