Commit Graph

10204 Commits

Author SHA1 Message Date
Minghao Li cc7a393978 refactor(sync): refactor sync 2022-10-20 19:42:22 +08:00
Minghao Li c7279cca52 fix(sync): sync reconfig 2022-10-20 19:36:47 +08:00
yihaoDeng 1898656a41 add executor to systable filter 2022-10-20 19:02:04 +08:00
Shengliang Guan e6e7befaa8
Merge pull request #17531 from taosdata/enh/TD-19461
refact: alter db replica
2022-10-20 18:34:22 +08:00
Shengliang Guan 894e75ca65 fix: comment sncReconfig 2022-10-20 18:32:19 +08:00
Hongze Cheng 9d8b0264b3
Merge pull request #17525 from taosdata/fix/TS-1889
fix(tdb): typo casues large page crash
2022-10-20 18:28:46 +08:00
Haojun Liao abff4fb1f2
Merge pull request #17336 from taosdata/feature/3_liaohj
other:merge 3.0, and support last query cache
2022-10-20 18:15:38 +08:00
Haojun Liao bcb3dcc7dc refactor: remove some comments. 2022-10-20 18:12:27 +08:00
Haojun Liao 6e15719ccb other: merge 3.0 2022-10-20 18:10:44 +08:00
Haojun Liao 14fe065528 fix(query): fix no-fill expression calculation bug. 2022-10-20 18:07:38 +08:00
yihaoDeng 19958284e2 add executor to systable filter 2022-10-20 17:56:30 +08:00
dapan1121 18da7fc3eb fix: fix param missing issue 2022-10-20 17:43:49 +08:00
Xiaoyu Wang 7c6ade9c07 enh: alter db replica 2022-10-20 17:02:57 +08:00
Xiaoyu Wang 2339b8c0a6 some parser problem 2022-10-20 16:53:26 +08:00
Liu Jicong 2af3905eaf
Merge pull request #17511 from taosdata/feature/stream
enh(client): add debug log
2022-10-20 16:48:45 +08:00
Shengliang Guan 36467958d4
Merge pull request #17514 from taosdata/fix/TD-19601
fix(query): fix crash if block SMA is set and real data is not loaded.
2022-10-20 16:39:58 +08:00
Shengliang Guan a03a24127e
Merge pull request #17516 from taosdata/fix/TD-19657
fix:  change listent backlog
2022-10-20 16:39:43 +08:00
dapan1121 0d727eedcf Merge remote-tracking branch 'origin/3.0' into feat/TD-19386 2022-10-20 16:30:20 +08:00
Minghao Li 5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Minglei Jin 16275caa8d fix(tdb): typo casues large page crash 2022-10-20 15:39:37 +08:00
slzhou ace84638b8 fix: add udf call and uv synchronization with uv_mutex 2022-10-20 15:37:12 +08:00
Liu Jicong ce1b6147a0 enh(client): add debug log 2022-10-20 15:34:27 +08:00
Benguang Zhao 06f5d91d21 enh: provide more info on misalignment detection of idx entries after appending 2022-10-20 15:17:52 +08:00
dapan1121 7c133359ce feat: add retrieve db and table route info api 2022-10-20 15:13:39 +08:00
haoranchen b3657f6e81
Merge branch '3.0' into fix/TD-19312 2022-10-20 15:05:41 +08:00
Minghao Li 27f690fd0a refacotr(sync): modify sync-snapshot 2022-10-20 14:57:49 +08:00
Shengliang Guan 2e82fdee93
Merge pull request #17506 from taosdata/enh/TD-19660
fix: improve test coverage
2022-10-20 14:56:46 +08:00
Minghao Li 74b48e6df8 refacotr(sync): modify sync-snapshot 2022-10-20 14:53:03 +08:00
Shengliang Guan 95dbfd4813
Merge pull request #17509 from taosdata/feature/stream_ly
Merge pull request #17493 from taosdata/fix/TD-19655-V30
2022-10-20 14:48:47 +08:00
Xiaoyu Wang b3658f983f fix: last constant error 2022-10-20 14:35:34 +08:00
yihaoDeng 20e74e57d9 change listent backlog 2022-10-20 14:28:25 +08:00
Ganlin Zhao 4ff9ab7fc2 fix(query): fix crash if block SMA is set and real data is not loaded.
TD-19601
2022-10-20 14:23:30 +08:00
Ganlin Zhao b9d4718c64 fix(query): fix crash if block SMA is set and real data is not loaded.
TD-19601
2022-10-20 14:19:20 +08:00
yihaoDeng c4f7607e8c opt sys query 2022-10-20 14:04:18 +08:00
Minglei Jin 894d13ac18 fix: cleanup tdbExOVFL test cases 2022-10-20 13:58:13 +08:00
yihaoDeng f612eafee8 opt sys query 2022-10-20 13:53:04 +08:00
Hongze Cheng 1c488cf7e4
Merge pull request #17503 from taosdata/fix/TD-19250-5
fix: coverity issues
2022-10-20 13:37:14 +08:00
Haojun Liao c41713cf21
Merge pull request #17495 from taosdata/fix/liao_cov
refactor: remove redundant codes and do some internal refactor.
2022-10-20 13:16:02 +08:00
Haojun Liao 3fcd60e627 fix(query): remove invalid check. 2022-10-20 12:18:56 +08:00
Shengliang Guan 025c92586f Merge remote-tracking branch 'origin/3.0' into enh/TD-19660 2022-10-20 11:45:56 +08:00
54liuyao 86a858e04d fix(stream): coverity scan 2022-10-20 11:41:20 +08:00
Haojun Liao 70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Shengliang Guan 34b08b7b71 fix: improve test coverage 2022-10-20 11:27:00 +08:00
Shengliang Guan 8f630a8d51
Merge pull request #17501 from taosdata/fix/TD-19223-D
fix: coverity problem for trow
2022-10-20 11:06:21 +08:00
Shengliang Guan 5a1f2a9c97
Merge pull request #17504 from taosdata/szhou/fixbugs
fix: fix scan coverity issue
2022-10-20 11:06:00 +08:00
Shengliang Guan 91302965eb
Merge pull request #17497 from taosdata/feature/TD-19666
feat(stream):optimize state window disc buff
2022-10-20 11:05:37 +08:00
slzhou 0ed1d883c3 fix: fix coverity scan issue 2022-10-20 09:53:08 +08:00
Minglei Jin 716c3f8a59 fix: coverity issues 2022-10-20 09:47:04 +08:00
Cary Xu 951d110b3b fix: coverity scan for trow 2022-10-20 09:31:17 +08:00
dapan1121 991da95643 fix: fix coverity issues 2022-10-20 09:06:18 +08:00
54liuyao 368f5134c5 feat(stream):optimize state window disc buff 2022-10-20 09:04:51 +08:00
Shengliang Guan 780c58e281
Merge pull request #17492 from taosdata/enh/TD-19650
enh: show the restore status of vnode when show vgroups
2022-10-19 23:35:42 +08:00
Haojun Liao ae625d3199 refactor: remove redundant codes and do some internal refactor. 2022-10-19 22:33:15 +08:00
haoranchen c2651e2755
Merge branch '3.0' into fix/TD-19312 2022-10-19 20:53:18 +08:00
Shengliang Guan 097a047b61 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19593-3.0 2022-10-19 20:08:49 +08:00
Shengliang Guan 39e303b79b enh: show the restore status of vnode when show vgroups 2022-10-19 20:07:15 +08:00
yihaoDeng 54c7d6cbb9 merge 3.0 2022-10-19 20:03:55 +08:00
yihaoDeng 66a3269c6b add pre check 2022-10-19 19:57:31 +08:00
Shengliang Guan 308dd56537
Merge pull request #17486 from taosdata/fix/liao_cov
refactor: remove redundant codes.
2022-10-19 19:51:59 +08:00
haoranchen 6041464e96
Merge branch '3.0' into fix/TD-19312 2022-10-19 19:28:31 +08:00
dapan1121 723110c449 feat: add retrieve db and table route info API 2022-10-19 19:25:02 +08:00
Minghao Li 3e6d6fe89b refactor(sync): do replicate in timer routine 2022-10-19 19:12:04 +08:00
Shengliang Guan 985e6f53e4 Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 19:06:03 +08:00
Haojun Liao 5dcfaf3bd6 refactor: remove redundant codes. 2022-10-19 18:00:15 +08:00
yihaoDeng 12ec7d7193 add pre check 2022-10-19 17:54:06 +08:00
Shengliang Guan 09a77b3b97
Merge pull request #17474 from taosdata/fix/TD-19250-4
fix: coverity issues
2022-10-19 17:51:39 +08:00
Haojun Liao b20e2ed5af fix(query): set correct last value. 2022-10-19 17:43:23 +08:00
dapan1121 19dbc868ac
Merge pull request #17478 from taosdata/feat/fetchFromCache
feat: add retrieve table meta and vgroup info from cache API
2022-10-19 17:16:37 +08:00
Minglei Jin 1fc3e07abd fix: use PRId64 instead of ld to format string 2022-10-19 16:34:25 +08:00
Benguang Zhao 2aa7afe7fa Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 16:31:13 +08:00
Minglei Jin 1e4601d8f6 fix: coverity issues 2022-10-19 16:30:50 +08:00
dapan1121 8988de1903 feat: add retrieve table meta and vgroup info from cache 2022-10-19 16:23:23 +08:00
Minghao Li 357951e947 refactor(sync): modify some code 2022-10-19 16:08:42 +08:00
Xiaoyu Wang 7161ca89cc
Merge pull request #17475 from taosdata/feature/3_liaohj_wxy
fix: cache inapplicability
2022-10-19 15:59:29 +08:00
Xiaoyu Wang 35e829dc28 fix: cache inapplicability 2022-10-19 15:58:51 +08:00
Haojun Liao 325712fdf9 fix(query): add some init functions. 2022-10-19 15:54:43 +08:00
Liu Jicong 213a12c0c5
Merge pull request #17473 from taosdata/feature/stream
fix(query): project pass partition name
2022-10-19 15:53:13 +08:00
Shengliang Guan 881db69feb
Merge pull request #17453 from taosdata/feature/sync2-merge
refactor(sync): add sync ctrl queue in vnode
2022-10-19 15:50:09 +08:00
slzhou 90bdfd8f01 enhance: add log of initialize resident func 2022-10-19 15:20:12 +08:00
slzhou 54803a56a6 enhance: add log of initialize resident func 2022-10-19 15:16:18 +08:00
Liu Jicong b51ef11dde fix(query): project pass partition name 2022-10-19 15:05:07 +08:00
Xiaoyu Wang 079a03f3b2 fix: handle coverity scan 2022-10-19 14:51:43 +08:00
Xiaoyu Wang 8cd36d9045 merge 3.0 2022-10-19 14:01:57 +08:00
Xiaoyu Wang 601f0f3edf fix: handle coverity scan 2022-10-19 13:56:39 +08:00
yihaoDeng 526f46dbfb add pre check 2022-10-19 13:54:12 +08:00
Haojun Liao 74305814f0 fix(query): fix coverity issues. 2022-10-19 13:38:01 +08:00
Hongze Cheng eb7de2e571
Merge pull request #17443 from taosdata/fix/commit_txn
fix: commit txn
2022-10-19 13:15:15 +08:00
Shengliang Guan 87586431f9
Merge pull request #17465 from taosdata/feature/stream
fix(stream): stream state and session support partition tbname
2022-10-19 12:48:03 +08:00
Shengliang Guan 0ad70729aa
Merge pull request #17460 from taosdata/feature/stream_ly
feat(stream): stream task and meta
2022-10-19 12:14:53 +08:00
Hongze Cheng 20b3e2168b Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 11:56:15 +08:00
Shengliang Guan 67e23350b2
Merge pull request #17461 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-19 11:54:35 +08:00
Liu Jicong 8357c7342b fix(stream): stream state and session support partition tbname 2022-10-19 11:43:01 +08:00
Haojun Liao 12fd11c481 fix(query): fix syntax error. 2022-10-19 11:41:30 +08:00
Haojun Liao f7fdeecc44
Merge branch '3.0' into feature/3_liaohj 2022-10-19 11:23:55 +08:00
Minghao Li 28a5a9d7e1 refactor(sync): add log, update quorum first when reconfig 2022-10-19 10:57:50 +08:00
54liuyao 7f16081e29 feat(stream): stream task and meta 2022-10-19 10:49:42 +08:00
Hongze Cheng 1d6c5e63ed Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 10:13:59 +08:00
Shengliang Guan 7cdfade1ae
Merge pull request #17442 from taosdata/fix/TD-19443-V30
fix(query): improve performance for first function x10 quickly
2022-10-19 10:06:55 +08:00
Shengliang Guan fc5af24975
Merge pull request #17444 from taosdata/enh/TD-19622
refact: remove bnode codes
2022-10-19 10:06:35 +08:00
Benguang Zhao 00a066443f Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 09:38:36 +08:00
Haojun Liao c7c99ae346 fix(query): update last_row callback function. 2022-10-19 09:33:54 +08:00
Benguang Zhao 3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
dapan1121 53e73511b5 Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-19 09:16:13 +08:00
dapan1121 20085e5b72 fix:fix coverity issues 2022-10-19 09:15:04 +08:00
Hongze Cheng efa9f19d18 make it compile 2022-10-19 09:12:37 +08:00
Hongze Cheng 71a2db6cf2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 09:10:36 +08:00
Shengliang Guan a941b0b919
Merge pull request #17441 from taosdata/enh/TD-19463_2
enh: sync propose return at once if replica is 1
2022-10-19 09:07:57 +08:00
Shengliang Guan 5cd1c12c4b
Merge pull request #17448 from taosdata/fix/TD-19619
fix(query): mode function output behavior if there're multiple highest frequency of occurrence.
2022-10-19 09:06:43 +08:00
Shengliang Guan 5849f99710
Merge pull request #17446 from taosdata/feature/stream_ly
feat(stream):replace disk buff
2022-10-19 09:05:51 +08:00
Hongze Cheng 74d025c783 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-18 22:47:12 +08:00
dapan1121 99fd3284df
Merge pull request #17439 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-18 22:15:20 +08:00
Minghao Li 4c9f10b6f3 refactor(sync): add sync ctrl queue in vnode 2022-10-18 19:12:34 +08:00
Ganlin Zhao 2d1f7354a9 fix null value handling 2022-10-18 19:11:49 +08:00
Minglei Jin 82132cdfdd meta: new metaFinishCommit api & rollback parameter with metaOpen 2022-10-18 18:34:39 +08:00
dapan1121 cbfc9872c6 fix: add cachesize in show create database result 2022-10-18 18:28:49 +08:00
Shengliang Guan b44a795179
Merge pull request #17432 from taosdata/fix/TD-19250-3
fix: coverity issues
2022-10-18 18:14:03 +08:00
54liuyao 8efd7e8763 feat(stream):replace disk buff 2022-10-18 18:13:47 +08:00
Shengliang Guan 2ece142aba Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 18:13:16 +08:00
Haojun Liao e4940e82c5 fix(query): update last_row callback function. 2022-10-18 17:54:29 +08:00
Ganlin Zhao 0f5e02b0b4 fix(query): mode function output one random result instead of NULL
if there're multiple highest frequency of occurrence.

TD-19619
2022-10-18 17:52:40 +08:00
Shengliang Guan 3cbfd2d160
Merge pull request #17392 from taosdata/FIX/TD-19183-3.0
enh: not allowed to start on disk space unavailable
2022-10-18 17:46:14 +08:00
Haojun Liao 60e7f2800b fix(query): fix bug in cached last query. 2022-10-18 17:39:28 +08:00
dapan1121 fe5b898ee5
Merge pull request #17430 from taosdata/fix/TD-19609
fix: fix case when crash issue
2022-10-18 17:37:37 +08:00
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
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
Minghao Li e85954276f refactor(sync): rename functions 2022-10-18 16:16:53 +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
Xiaoyu Wang eaa2a344e1 fix: plan problem with 'partition by tag group by tag' statement 2022-10-18 15:01:52 +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
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
Minghao Li e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +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
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
Xiaoyu Wang 0228caaa0d enh: last cache optimize 2022-10-18 11:38:59 +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 3190ef65a3 fix: deal with misaligned idx entries in walCheckAndRepairIdxFile 2022-10-18 11:21:48 +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
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 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
Minghao Li 94ba0f47f0 refactor(sync): stop elect when not candidate 2022-10-17 20:20:55 +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
Haojun Liao c8b180b129 fix(query): update the cached last query. 2022-10-17 19:14:06 +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
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
Minghao Li 8a6eaed6f6 refactor(sync): delete some code 2022-10-17 17:36:51 +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
yihaoDeng c9aadfadee fix coverity scan problem 2022-10-17 16:29:50 +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
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
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
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
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 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
Benguang Zhao a4fd2def98 fix: resolve a typo in errormsg printing in walScanLogGetLastVer 2022-10-17 14:22:20 +08:00
Haojun Liao ed9ec795eb fix(query): fix coverity issues. 2022-10-17 14:05:40 +08:00
Haojun Liao 87516ea332 fix(query): fix bug in group by tag. 2022-10-17 13:00:31 +08:00
Ganlin Zhao bcf2cfeed7 fix: coverity issues
CID: 354713
2022-10-17 11:06:02 +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 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
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 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 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 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
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 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 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
Haojun Liao aa04aee7fd enh(query): opt group by tag perf. 2022-10-14 18:49:19 +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
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
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 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