Commit graph

7700 commits

Author SHA1 Message Date
Hongze Cheng
54da9e6ec5 more code 2023-03-23 13:26:57 +08:00
Hongze Cheng
71c967d603 more code 2023-03-23 13:15:14 +08:00
Xiaoyu Wang
a5d8549cb1
Merge pull request #20593 from taosdata/FEAT/TD-23258-3.0
feat: support WAL_RETENTION_PERIOD and WAL_RETENTION_SIZE for alter database
2023-03-23 11:43:01 +08:00
Xiaoyu Wang
323d8ee0b4
Merge pull request #20598 from taosdata/FIX/TD-23187-main
fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose
2023-03-23 11:42:48 +08:00
wangmm0220
5f9c7e9a7d fix:[TS-2961] consume error change from snapshot to wal for taosx 2023-03-22 20:14:19 +08:00
wangmm0220
6fae38619d fix:error in TD-23218 & remove useless logic 2023-03-22 19:36:12 +08:00
Hongze Cheng
9490bf2a5e more code 2023-03-22 19:24:40 +08:00
dapan1121
e58afd12e1 fix: merge main to 3.0 2023-03-22 17:42:09 +08:00
wangmm0220
dd4cf0597b fix:error in optimize consume logic 2023-03-22 17:04:02 +08:00
dapan1121
5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Benguang Zhao
24af249f55 fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose 2023-03-22 16:05:57 +08:00
Hongze Cheng
4f0833e1a0 more code 2023-03-22 14:41:16 +08:00
Hongze Cheng
275f195c50 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-03-22 14:12:17 +08:00
Benguang Zhao
0b101e4952 feat: support WAL_RETENTION_PERIOD and WAL_RETENTION_SIZE for alter database 2023-03-22 11:40:24 +08:00
Minglei Jin
0bf98096c9 fix(tsdb/cache): init isLast once for each fileset 2023-03-22 10:57:27 +08:00
Minglei Jin
cb93ac2613 enh(tsdb/cache): make merge tree next one less 2023-03-22 10:50:34 +08:00
wangmm0220
c07e563ecd fix:error in optimize consume logic 2023-03-22 10:43:11 +08:00
Minglei Jin
0b31aac2c5 enh(tsdb/cache): skip data block with merge tree 2023-03-22 10:19:58 +08:00
cadem
ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
yihaoDeng
914d391845 fix tag filter 2023-03-21 12:28:16 +00:00
Haojun Liao
69ca2b2f7b fix(tmq): do some internal refactor. 2023-03-21 19:40:36 +08:00
Haojun Liao
c3acab2070 fix(tmq): do some internal refactor. 2023-03-21 19:38:34 +08:00
dapan1121
3ab55496c1
Merge pull request #20561 from taosdata/fix/TS-2891-M
fix: select ins_columns from stb/tb
2023-03-21 16:24:46 +08:00
Haojun Liao
ca29dd344f other: merge main. 2023-03-21 14:04:52 +08:00
Hongze Cheng
e2de2d1286 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-03-21 14:04:47 +08:00
Haojun Liao
d5a386a563 fix(client): fix coverity issues. 2023-03-21 14:03:36 +08:00
Haojun Liao
18b121c69c fix(tmq): fix the invalid write and do some internal refactor. 2023-03-21 13:45:43 +08:00
Haojun Liao
ea0cc2c584
Merge pull request #20554 from taosdata/fix/TS-2828
fix: add retry if insert error with meta change
2023-03-21 09:01:22 +08:00
kailixu
179579f204 chore: more code 2023-03-20 17:41:22 +08:00
wangmm0220
f7b7320f5f fix:set offset if read wal none 2023-03-20 16:57:45 +08:00
wangmm0220
506c192bff fix:error in TD-23218 & remove useless logic 2023-03-20 16:26:15 +08:00
Haojun Liao
ca1dffff45
Merge pull request #20508 from taosdata/fix/liaohj
fix(client): fix potential memory leak.
2023-03-20 16:11:22 +08:00
wangmm0220
f80078030c fix:error in TD-23218 & remove useless logic 2023-03-20 15:40:01 +08:00
Haojun Liao
625b2dc901
Merge pull request #20513 from taosdata/fix/TD-23136
fix:converity scan defects
2023-03-20 15:37:59 +08:00
Haojun Liao
2517f9bb83 fix(tmq): add some logs. 2023-03-20 15:27:16 +08:00
wangmm0220
c0b41ea0b3 fix:error in TD-23218 & remove useless logic 2023-03-20 14:09:13 +08:00
Haojun Liao
a24d537d9e Merge remote-tracking branch 'origin/fix/liaohj' into fix/liaohj 2023-03-20 13:28:13 +08:00
Haojun Liao
4cb1c51d4e fix(tmq): update some logs. 2023-03-20 13:27:58 +08:00
yihaoDeng
192570ce77 fix tag filter 2023-03-20 04:14:57 +00:00
Hongze Cheng
664133c945 prepare optimization 2023-03-20 10:59:16 +08:00
wangmm0220
a5144f0ba2 fix:set offset if read wal none 2023-03-20 10:10:07 +08:00
Haojun Liao
a5e9fad0f9 fix(query): set correct lastkeyInstt. 2023-03-19 23:58:17 +08:00
Haojun Liao
c678740968 refactor: do some internal refactor. 2023-03-19 19:22:43 +08:00
Haojun Liao
7e712a14b6 fix(tmq): adjust log. 2023-03-19 19:06:28 +08:00
Xiaoyu Wang
f86c8d0d6e enh: optimize last pruning logic 2023-03-19 14:40:16 +08:00
Xiaoyu Wang
6277b2564b enh: optimize last pruning logic 2023-03-19 13:41:32 +08:00
Xiaoyu Wang
9affd11eb7
Merge pull request #20542 from taosdata/fix/main_bugfix_wxy
enh: optimize last pruning logic
2023-03-19 12:00:18 +08:00
Xiaoyu Wang
5a4fe943dc enh: optimize last pruning logic 2023-03-19 11:01:39 +08:00
Haojun Liao
ae5155edcf fix(tmq): do some internal refactor. 2023-03-19 10:49:30 +08:00
Minglei Jin
3a5542bbbc fix(tsdb/cache): update nCols of merge tree to avoid assert failed 2023-03-19 10:19:49 +08:00
wangmm0220
ccba1d07c6 fix:error in TD-23218 & remove useless logic 2023-03-18 18:42:49 +08:00
wangmm0220
7616a283e3 fix:error in TD-23218 & remove useless logic 2023-03-18 18:23:38 +08:00
yihaoDeng
afaa77cc3e fix tag filter 2023-03-18 10:01:45 +00:00
yihaoDeng
f24e06f36b fix tag filter 2023-03-18 08:58:26 +00:00
kailixu
4317564d5f Merge branch 'main' into enh/TD-22404-M 2023-03-18 14:25:34 +08:00
dapan1121
859f2594ed fix: add sma load time 2023-03-17 15:21:43 +08:00
wangmm0220
0a54d00cd2 fix:converity scan defects 2023-03-17 14:54:27 +08:00
Shengliang Guan
aa656c9c29
Merge pull request #20505 from taosdata/fix/TD-23196
ehn(tsdb/cache): skip invalid row or data block directly with merge tree
2023-03-17 13:19:06 +08:00
Haojun Liao
d5a8a4aefe
Merge pull request #20502 from taosdata/fix/liaohj
fix(client): set the initial value for num_of_rows.
2023-03-17 12:50:04 +08:00
Minglei Jin
ca115b1c87 fix(tsdb/cache): break loop to return current row 2023-03-17 11:41:17 +08:00
wangmm0220
4fdef7421c fix:add log for taosCreateLog error 2023-03-17 10:50:54 +08:00
Minglei Jin
a8d146c512 ehn(tsdb/cache): skip invalid row or data block directly with merge tree 2023-03-17 10:22:36 +08:00
Haojun Liao
970155a845 fix(query): fix coverity issues. 2023-03-16 21:53:34 +08:00
wangmm0220
6323a6e801 fix:conflicts 2023-03-16 19:18:07 +08:00
wangmm0220
14970478dc fix:conflicts 2023-03-16 19:15:08 +08:00
wangmm0220
fa2e7b234c fix:add log for schemaless & sleep longer if modify schema error 2023-03-16 19:13:15 +08:00
Shengliang Guan
925693c8a9
Merge pull request #20493 from taosdata/fix/TD-23172
ehn(tsdb/cache): load necessary columns only
2023-03-16 15:49:04 +08:00
yihaoDeng
3ac11ce87a enh: change log 2023-03-16 06:17:45 +00:00
Minglei Jin
b1949b5584 fix(tsdb/cache): skip remaining rows in current data block 2023-03-16 14:11:34 +08:00
Haojun Liao
345b46769c
Merge pull request #20490 from taosdata/fix/liaohj
fix(tmq): disable non-leader vnode responsing the poll request.
2023-03-16 14:00:42 +08:00
Minglei Jin
6e0343fc08 enh(tsdb/cache): load necessary columns only 2023-03-16 11:18:36 +08:00
Haojun Liao
a1682664f2 fix(tmq): disable non-leader vnode responsing the poll request. 2023-03-16 10:12:34 +08:00
yihaoDeng
ef092c1cce enh: add queue limit 2023-03-15 11:54:36 +00:00
Shengliang Guan
af4532dc63
Merge pull request #20476 from taosdata/fix/TD-23163
enh(tsdb/cache): skip invalid datablock directly when traversing fs with last
2023-03-15 19:03:48 +08:00
Minglei Jin
04d501d64a fix: destroy aColArray anyway 2023-03-15 17:41:29 +08:00
Minglei Jin
f1414355e3 tsdb/cache: skip invalid datablock directly when traversing fs with last 2023-03-15 16:24:36 +08:00
Haojun Liao
36cec7894b
Merge pull request #20472 from taosdata/fix/liaohj
fix(query): set the correct cached tags list key length, and update s…
2023-03-15 15:56:50 +08:00
Haojun Liao
52576071ae refactor: do some internal refactor. 2023-03-15 14:37:48 +08:00
Haojun Liao
253a760810 fix(query): set the correct cached tags list key length, and update some logs. 2023-03-15 14:30:12 +08:00
Shengliang Guan
09ca41b3f7
Merge pull request #20467 from taosdata/fix/TS-2893
fix:create same sub table
2023-03-15 14:07:47 +08:00
kailixu
43a029e3c4 enh: coverity scan for sma 2023-03-15 12:30:44 +08:00
54liuyao
d5defa3def fix:create same sub table 2023-03-15 11:10:55 +08:00
Hongze Cheng
e43b606917 current from binary to json 2023-03-15 10:48:51 +08:00
Benguang Zhao
cc76d78673 enh: separate sync read and write events 2023-03-14 20:35:39 +08:00
Haojun Liao
32ddecc347 other: merge main. 2023-03-14 12:13:09 +08:00
Shengliang Guan
e98b32a69f
Merge pull request #20427 from taosdata/fix/main_bugfix_wxy
fix: last redundant read stt file
2023-03-14 09:41:19 +08:00
Shengliang Guan
214c595491
Merge pull request #20412 from taosdata/fix/TD-23095
fix:auto fill null column
2023-03-14 09:36:57 +08:00
Shengliang Guan
bf03965931
Merge pull request #20413 from taosdata/FIX/TD-22564-main
enh: not allow to propose if fsm applying progress lagging behind too far
2023-03-14 09:36:04 +08:00
Shengliang Guan
6989f1be61
Merge pull request #20418 from taosdata/fix/TD-22671
fix:deal with ASSERT in tmq
2023-03-14 09:34:52 +08:00
Xiaoyu Wang
ca39dfcf2d feat: show vgroup display num of cache tables 2023-03-13 17:21:32 +08:00
Haojun Liao
731a2138df fix(tmq): fix error in tmq. 2023-03-13 17:08:17 +08:00
Xiaoyu Wang
62377619ba enh: optimizing stt file reading in last query 2023-03-13 15:05:24 +08:00
Haojun Liao
7f2aae69d4 fix(tmq): fix error in taosx 2023-03-13 01:54:29 +08:00
Xiaoyu Wang
25778754e2 fix: last redundant read stt file 2023-03-12 22:36:26 +08:00
Xiaoyu Wang
45e38d258c fix: last redundant read stt file 2023-03-12 20:40:17 +08:00
Haojun Liao
564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
wangmm0220
0e2cf0ed73 fix:deal with ASSERT in tmq 2023-03-11 16:51:34 +08:00
Xiaoyu Wang
a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
wangmm0220
9cc7a9f504 fix:deal with ASSERT in tmq 2023-03-11 16:12:11 +08:00
Shengliang Guan
584f213739
Merge pull request #20401 from taosdata/fix/main_bugfix_wxy
fix: error in last cache handle deleted data
2023-03-11 15:43:55 +08:00
54liuyao
84ef1c78d4 fix:auto fill null column 2023-03-11 11:33:50 +08:00
Xiaoyu Wang
38a6d02ca9 Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-03-11 10:58:47 +08:00
Benguang Zhao
d679eaf648 enh: update pMnode->applied only when pMsg->code as zero 2023-03-10 18:10:34 +08:00
Xiaoyu Wang
11e55f028b fix: error in last cache handle deleted data 2023-03-10 17:49:27 +08:00
Hongze Cheng
7e071ff458 enh: optimize snapshot transfer 2023-03-10 16:01:40 +08:00
Shengliang Guan
cf1bf07bbb
Merge pull request #20387 from taosdata/fix/main_bugfix_wxy
enh: optimize last/last_row cost when the cache was first loaded
2023-03-10 14:51:45 +08:00
Haojun Liao
05ddf68247 fix(tmq): fix invalid free. 2023-03-10 14:27:34 +08:00
Haojun Liao
d8807d3d5a fix(tmq): fix memory leak. 2023-03-10 14:23:16 +08:00
Xiaoyu Wang
4e4f7de0ab enh: optimize last/last_row cost when the cache was first loaded 2023-03-10 12:00:17 +08:00
Haojun Liao
0d1b2e4b5a fix(tmq): use before remove hash item. 2023-03-10 10:31:53 +08:00
Shengliang Guan
c70c9546f2
Merge pull request #20372 from taosdata/fix/main_bugfix_wxy
enh: optimize last/last_row cost when the cache was first loaded
2023-03-10 10:07:22 +08:00
Shengliang Guan
37bc466f59
Merge pull request #20373 from taosdata/fix/TS-2853
fix:get dest table version
2023-03-10 10:05:01 +08:00
Haojun Liao
691cb08e88 refactor: remove some unused attributes. 2023-03-10 09:23:03 +08:00
Haojun Liao
09e84884be refactor: remove invalid assert 2023-03-09 23:31:29 +08:00
Haojun Liao
03aa391859 fix(tmq): add lock before close the tsdbreader. 2023-03-09 23:03:51 +08:00
Benguang Zhao
96e70c2795 enh: update logging msg in vnodeRestoreFinish 2023-03-09 20:05:19 +08:00
54liuyao
5acf665b7e fix:get dest table version 2023-03-09 19:36:10 +08:00
Benguang Zhao
5e53b1225b enh: finish restore with commit and applied indexes instead of num of items in apply queue 2023-03-09 19:35:42 +08:00
Xiaoyu Wang
47417e003e enh: optimize last/last_row cost when the cache was first loaded 2023-03-09 18:54:15 +08:00
Benguang Zhao
1392711e66 enh: add fsm FpAppliedIndexCb to get the current applied index 2023-03-09 18:14:04 +08:00
Benguang Zhao
9d10739908 enh: send rsp of negotiation failure ahead of apply queue 2023-03-09 16:18:44 +08:00
Hongze Cheng
afd01bb9b6 Merge branch 'main' of https://github.com/taosdata/TDengine into feat/TS-2846 2023-03-09 15:26:04 +08:00
Hongze Cheng
16262512b2 feat: alter stt_trigger and minrows 2023-03-09 15:25:47 +08:00
Shengliang Guan
00854f677c
Merge pull request #20335 from taosdata/fix/TD-22753
fix: unit  sma and tag index error msg
2023-03-09 15:20:47 +08:00
Xiaoyu Wang
66bb55187d Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main 2023-03-08 18:30:24 +08:00
yihaoDeng
01a5d5d219 unit sma and tag index error msg 2023-03-08 18:16:29 +08:00
yihaoDeng
d8d74b3514 unit sma and tag index error msg 2023-03-08 16:02:46 +08:00
Hongze Cheng
05688386a0 little fix 2023-03-08 15:19:55 +08:00
Hongze Cheng
a56c99daac fix: add more msg check 2023-03-08 14:45:04 +08:00
Hongze Cheng
b5b6f31023 Merge branch 'main' of https://github.com/taosdata/TDengine into feat/compact_with_time_range 2023-03-08 13:47:40 +08:00
Xiaoyu Wang
4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
Xiaoyu Wang
0dc34018b6 fix: insert data crash after empty table last cache 2023-03-08 10:06:48 +08:00
Hongze Cheng
dc0d7c26ea Merge branch 'main' of https://github.com/taosdata/TDengine into feat/compact_with_time_range 2023-03-08 08:53:56 +08:00
Hongze Cheng
89281ee488 compact with time range 2023-03-07 21:46:34 +08:00
Shengliang Guan
fe729a4756
Merge pull request #20305 from taosdata/fix/main_bugfix_wxy
fix: taosd crash when modify the schema and query last_row
2023-03-07 20:31:18 +08:00
Xiaoyu Wang
163224f4e2 fix: taosd crash when modify the schema and query last_row 2023-03-07 19:42:05 +08:00
Xiaoyu Wang
ab86f6abee fix: taosd crash when modify the schema and query last_row 2023-03-07 18:15:17 +08:00
Shengliang Guan
4ea87deef7
Merge pull request #20301 from taosdata/fix/main_bugfix_wxy
fix: insert data crash after empty table last_row cache
2023-03-07 18:08:23 +08:00
Haojun Liao
d54ae0c840 fix(tmq): free reader after check the reader status. 2023-03-07 17:49:20 +08:00
Xiaoyu Wang
ab5cce806c fix: fix: after the last_row cache is created, modify the schema and query again, resulting in taosd crash 2023-03-07 16:25:46 +08:00
Xiaoyu Wang
8e6534d9f3 fix: insert data crash after empty table last_row cache 2023-03-07 16:06:56 +08:00
Shengliang Guan
325b3439df
Merge pull request #20290 from taosdata/fix/main_bugfix_wxy
fix: after the last cache is created, modify the schema and query again, resulting in taosd crash
2023-03-07 11:07:07 +08:00
Hongze Cheng
424a37fd3a some code 2023-03-07 10:20:48 +08:00
Xiaoyu Wang
bc9eb47e04 fix: after the last cache is created, modify the schema and query again, resulting in taosd crash 2023-03-07 10:14:39 +08:00
Haojun Liao
2790368a03
Merge pull request #20269 from taosdata/feature/3_liaohj
fix(qurey): fix som errors and add some logs.
2023-03-06 20:38:22 +08:00
Xiaoyu Wang
b2247a10cb fix: last cache invalid write 2023-03-06 18:00:53 +08:00
wangmm0220
86ef6522ae fix:wal curVersion error if switch to wal 2023-03-06 17:40:02 +08:00
Shengliang Guan
7edcbfd58b Merge branch 'fix/stopFunc' into feature/3_liaohj 2023-03-06 09:43:00 +08:00
Haojun Liao
22a85734c6 fix(mq): add more chek for balance couner to avoid the negative value emerges. 2023-03-05 13:23:50 +08:00
wangmm0220
e54e12eff0 fix:give error if col is same in schemless & fix json parse error in TD-22903 2023-03-04 11:57:27 +08:00
Haojun Liao
24bb33f24a refactor: add some logs. 2023-03-03 18:34:38 +08:00
Shengliang Guan
25e0ed8cb5 Merge branch 'fix/TD-22951' into feature/3_liaohj 2023-03-03 18:21:55 +08:00
Hongze Cheng
7f62507e4a Merge branch 'main' of https://github.com/taosdata/TDengine into 3.0.3.00302 2023-03-03 16:41:35 +08:00
Shengliang Guan
658bd47315 Merge remote-tracking branch 'origin/main' into feature/3_liaohj 2023-03-03 10:56:09 +08:00
Haojun Liao
e8c11c58f0 fix(tq): add some logs. 2023-03-03 10:20:52 +08:00
Xiaoyu Wang
ed5a58fbb6
Merge pull request #20243 from taosdata/fix/main_bugfix_wxy
fix: last cache read problem after schema change
2023-03-02 20:52:22 +08:00
Hongze Cheng
ed48296acd Merge branch 'main' of https://github.com/taosdata/TDengine into 3.0.3.00302 2023-03-02 19:47:22 +08:00
Xiaoyu Wang
7649ede074 fix: last cache read problem after schema change 2023-03-02 19:45:21 +08:00
Xiaoyu Wang
b09bb40e2d
Merge pull request #20242 from taosdata/fix/auto_retention
fix: auto retention
2023-03-02 19:32:25 +08:00
Xiaoyu Wang
7deee1c4c7 fix: last cache read problem after schema change 2023-03-02 18:22:42 +08:00
Hongze Cheng
dfaf26dfc5 add data scan 2023-03-02 18:10:02 +08:00
Shengliang Guan
5840e2f770
Merge pull request #20152 from taosdata/fix/TD-22764
fix:core dump if data block size is 0
2023-03-02 17:29:03 +08:00
Haojun Liao
37281ae17f
Merge pull request #20228 from taosdata/feature/3_liaohj
fix(query): record the correct last accessed key in the stt file.
2023-03-02 17:13:31 +08:00
Hongze Cheng
e0819db5de fix: auto retention 2023-03-02 15:06:11 +08:00
dapan1121
341f813a61 Merge remote-tracking branch 'origin/main' into fix/TS-2770 2023-03-02 08:29:37 +08:00
Haojun Liao
8d32d256ad fix(query): set correct lastkeyinstt. 2023-03-02 00:48:17 +08:00
Haojun Liao
c5102c9ea5 Merge branch 'main' into feature/3_liaohj 2023-03-01 23:31:57 +08:00
Haojun Liao
443852cc3f fix(query): set correct last key. 2023-03-01 21:46:25 +08:00
Xiaoyu Wang
0fe9b5ca19
Merge pull request #20222 from taosdata/feat/compact
more compact to enterprise
2023-03-01 20:19:42 +08:00
Haojun Liao
3327beba1e fix(query): record the correct last accessed key in the stt file. 2023-03-01 14:56:51 +08:00
Xiaoyu Wang
74a4051881 move compact to enterprise 2023-03-01 14:48:31 +08:00
dapan1121
ee70606f19 fix: projection query in descending order result error issue 2023-03-01 14:48:15 +08:00
Haojun Liao
10a119e3fb
Merge pull request #20106 from taosdata/fix/TD-22667-3.0
fix:error by coverity scan
2023-03-01 13:31:59 +08:00
Haojun Liao
a3ffddba2d
Merge pull request #20204 from taosdata/fix/3_coverity
fix(query): fix coverity issue.
2023-03-01 09:28:36 +08:00
Hongze Cheng
d319d6fe00 more compact to enterprise 2023-02-28 19:52:03 +08:00
Xiaoyu Wang
e36d9a4c25 merge main 2023-02-28 16:13:28 +08:00
cyang
2164acce88 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-22764 2023-02-28 16:10:09 +08:00
Haojun Liao
f1f9e570e6 Merge branch '3.0' into fix/3_coverity 2023-02-28 16:03:28 +08:00
Haojun Liao
dc45ec2660 fix(query): set the correct bucket index. 2023-02-28 15:17:32 +08:00
wangmm0220
986ae9c4d0 fix:conflicts 2023-02-28 15:11:16 +08:00
Haojun Liao
22e52ebb38 fix(query): fix block distribution error. 2023-02-28 14:25:19 +08:00
Haojun Liao
4172041ec8 fix(query): fix error in displaying block distribution. 2023-02-28 14:20:14 +08:00
Haojun Liao
60188e82a6 fix(query): fix coverity issue. 2023-02-28 13:42:19 +08:00
Haojun Liao
1ac30b7710
Merge pull request #20169 from taosdata/feature/3_liaohj
refactor: do some internal refactor and add some logs for tmq.
2023-02-28 12:01:22 +08:00
WANG MINGMING
5dfc9ed4d0
Merge branch '3.0' into fix/TD-22667-3.0 2023-02-28 09:52:34 +08:00
Haojun Liao
52a8912969
Merge pull request #20183 from taosdata/fix/TD-22797
fix: avoid filter slow when not exist target value
2023-02-28 09:18:46 +08:00
Haojun Liao
d18dd3067b other: merge main. 2023-02-28 00:38:37 +08:00
Haojun Liao
5e9f53560d
Merge branch 'main' into feature/3_liaohj 2023-02-27 18:23:35 +08:00
Hongze Cheng
1fa5d02b94 more code 2023-02-27 18:20:09 +08:00
Hongze Cheng
d963a4f20c Merge branch 'main' of https://github.com/taosdata/TDengine into feat/auto_retention 2023-02-27 18:11:12 +08:00
Hongze Cheng
ee36cf8aca mroe code 2023-02-27 18:11:04 +08:00
Hongze Cheng
8e3084ecc0 feat: auto retention 2023-02-27 18:09:51 +08:00
Xiaoyu Wang
6a5934983c
Merge pull request #20181 from taosdata/fix/3.0_merge_main
merge main
2023-02-27 17:08:35 +08:00
yihaoDeng
c13cea4f44 fix: avoid filter slow when filter not exist value 2023-02-27 14:34:38 +08:00
Xiaoyu Wang
efa56d5352 merge main 2023-02-27 14:18:03 +08:00
Xiaoyu Wang
f97a140a3c merge 3.0 2023-02-27 14:16:33 +08:00
cyang
6a15c36fc1 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-22764 2023-02-27 10:05:05 +08:00
54liuyao
f2dfe5ab74 fix:create same sub table 2023-02-27 09:55:34 +08:00
wangmm0220
c638564179 fix:confilcts from main 2023-02-26 23:09:57 +08:00
Haojun Liao
b46098793d refactor: do some internal refactor and add some logs for tmq. 2023-02-26 12:16:45 +08:00
dapan1121
77295df8ec
Merge pull request #20161 from taosdata/fix/TS-2729
fix: table scan crash issue
2023-02-26 07:45:17 +08:00
dapan1121
50ee40308b fix: realloc uid list 2023-02-25 16:10:48 +08:00
Haojun Liao
0369ff2231 other: merge main. 2023-02-25 15:42:32 +08:00
dapan1121
10e35f1ed0 fix: free pointer issue 2023-02-25 14:15:24 +08:00
Haojun Liao
514369c611 other: merge main 2023-02-25 11:06:13 +08:00
Haojun Liao
d6fca036e5 refactor: do some internal refactor. 2023-02-25 11:02:42 +08:00
Haojun Liao
90c6641cff
Merge pull request #20131 from taosdata/fix/coverity_yihao
fix: fix asan problem
2023-02-25 10:42:39 +08:00
Xiaoyu Wang
d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
Xiaoyu Wang
320ad8d1f2
Merge pull request #20150 from taosdata/fix/TD-22710
fix: compact wrong data count
2023-02-25 10:02:56 +08:00
Xiaoyu Wang
5856a39827
Merge pull request #20123 from taosdata/fix/3.0_merge_main
merge main
2023-02-25 10:01:26 +08:00
dapan1121
05bd600ef8 fix: table scan crash issue 2023-02-25 09:34:37 +08:00
Yihao Deng
22b1bc1049
Merge branch '3.0' into fix/coverity_yihao 2023-02-24 21:22:58 +08:00
wangmm0220
54a546931c fix:optimize version logic in tmq and remove useless code 2023-02-24 19:22:08 +08:00
Haojun Liao
097723f446
Merge pull request #20151 from taosdata/feature/3_liaohj
fix(query): expand output buffer.
2023-02-24 18:56:51 +08:00
Hui Li
965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
cyang
21234a33dc fix:converity scan error 2023-02-24 17:02:30 +08:00
Xiaoyu Wang
961107d1ca merge main 2023-02-24 16:55:50 +08:00
Haojun Liao
6120c73aaa
Merge pull request #20122 from taosdata/enh/TD-22715
fix: fix distributed table error
2023-02-24 16:44:43 +08:00
wangmm0220
181d588f85 fix:core dump if data block size is 0 2023-02-24 16:04:35 +08:00
Hongze Cheng
2a8f7e121a Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-22710 2023-02-24 14:41:42 +08:00
Hongze Cheng
765ff98f6a fix: compact wrong data count 2023-02-24 14:41:23 +08:00
Haojun Liao
80babb19f0 fix(query): fix syntax errors on centos. 2023-02-24 14:34:53 +08:00
Haojun Liao
993ae9e7e9 Merge branch '3.0' into fix/3_coverity 2023-02-24 14:34:01 +08:00
Haojun Liao
26ab5e011b fix(query): fix syntax errors on centos. 2023-02-24 14:05:52 +08:00
Xiaoyu Wang
58fc265b80 merge main 2023-02-24 13:26:45 +08:00
Haojun Liao
22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Haojun Liao
645c3e672f
Merge pull request #20144 from taosdata/fix/3_coverity
fix(query): fix coverity issue.
2023-02-24 11:31:36 +08:00
Xiaoyu Wang
d06dedd5cc
Merge pull request #20103 from taosdata/fix/TD-22668
fix: coverity scan issues
2023-02-24 10:53:49 +08:00
Haojun Liao
7821bbe0d0 refactor: add some logs. 2023-02-24 10:08:25 +08:00
Haojun Liao
cc393f3939
Merge pull request #20143 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2023-02-24 09:58:44 +08:00
Haojun Liao
97024f1468 fix(query): fix coverity issue. 2023-02-24 09:48:34 +08:00
Haojun Liao
bbb571a383 refactor: do some internal refactor. 2023-02-24 00:06:18 +08:00
Haojun Liao
dbb1e9bd59 refactor: do some internal refactor. 2023-02-23 21:59:55 +08:00
yihaoDeng
2013ba0d8f fix: fix asan problem 2023-02-23 17:54:51 +08:00
54liuyao
e42d5ba3dc fix:table name is null 2023-02-23 17:31:47 +08:00
Haojun Liao
6e39bec448
Merge pull request #20089 from taosdata/fix/TD-22671
fix:remove useless logic in tmq
2023-02-23 17:27:00 +08:00
Xiaoyu Wang
1ab144609e merge main 2023-02-23 14:58:22 +08:00
yihaoDeng
7d75939fae fix: fix invalid dist count 2023-02-23 14:35:05 +08:00
54liuyao
72e7f617e2 fix:disable stream 2023-02-23 14:24:45 +08:00
Haojun Liao
c16bbfadbb
Merge pull request #20115 from taosdata/feature/3_liaohj
refactor: add some logs.
2023-02-23 11:23:48 +08:00
dapan1121
29f84355eb
Merge pull request #20107 from taosdata/fix/TD-22689
fix: taosd crash issue caused of out of fd
2023-02-23 10:48:21 +08:00
Xiaoyu Wang
ebcd7415c1
Merge pull request #20086 from taosdata/fix/TD-22670
fix(tsdb/cache): use state's tsdb instead of readers
2023-02-23 10:39:26 +08:00
Xiaoyu Wang
7dc3c6b4e8
Merge pull request #20056 from taosdata/FIX/TD-22595-main
fix: synchronize access to pVnode->inUse
2023-02-23 10:39:00 +08:00
Haojun Liao
b203107922
Merge branch 'main' into feature/3_liaohj 2023-02-23 10:22:17 +08:00
Haojun Liao
6015729560 refactor: add some logs. 2023-02-23 09:21:32 +08:00
Haojun Liao
4432ae51e6
Merge branch 'main' into fix/liaohj 2023-02-23 09:04:32 +08:00
Haojun Liao
5b1c2fc314
Merge pull request #20094 from taosdata/feature/3_liaohj
fix(tmq): update the epset when the leader of vnode changed.
2023-02-23 08:58:40 +08:00
dapan1121
532fb08309 fix: rsma invalid read issue 2023-02-22 18:13:24 +08:00
dapan1121
5a587d15f3 fix: taosd crash issue 2023-02-22 17:12:08 +08:00
wangmm0220
91d5df423f fix:error by coverity scan 2023-02-22 15:48:39 +08:00
Minglei Jin
8db525667f fix(meta/query): remove incorrect file & line args 2023-02-22 14:49:54 +08:00
Minglei Jin
6929f74559 fix(tsdb/cache): check the return result of data block creating 2023-02-22 14:48:57 +08:00
Haojun Liao
8532de31cf refactor: remove assert. 2023-02-22 14:32:39 +08:00
Hongze Cheng
81ee050a0f fix: coverity scan problem 2023-02-22 14:29:14 +08:00
Haojun Liao
82067f3bd2 fix(query): fix coverity issues. 2023-02-22 13:38:13 +08:00
Haojun Liao
61a7001274 fix(query): fix coverity issues. 2023-02-22 10:50:42 +08:00
wangmm0220
b28c0ad952 fix:remove useless logic in tmq 2023-02-21 18:49:39 +08:00
Minglei Jin
724e7bc3a1 fix(tsdb/cache): use state's tsdb instead of readers 2023-02-21 18:23:18 +08:00
Benguang Zhao
a78556a3e6 fix: synchronize access to pVnode->inUse 2023-02-21 16:52:24 +08:00
dapan1121
0b0af5240d
Merge pull request #20002 from taosdata/fix/forceStopTask
fix: add force stop task and rename conflict structer name
2023-02-21 16:30:18 +08:00
Xiaoyu Wang
7337f5ff7d
Merge pull request #20052 from taosdata/fix/3.0_merge_main
merge main
2023-02-21 16:27:19 +08:00
Xiaoyu Wang
b304456fef fix: rsma error 2023-02-21 11:17:59 +08:00
Xiaoyu Wang
9370d67e43 fix: tsdb reader resume 2023-02-21 09:43:56 +08:00
Xiaoyu Wang
319dfd8f06 merge 3.0 2023-02-20 17:21:37 +08:00
Xiaoyu Wang
9aa8b07a74
Merge pull request #20054 from taosdata/enh/3.0_planner_optimize
fix: wal compatibility of normal tables
2023-02-20 16:40:45 +08:00
Haojun Liao
ad0be66a78
Merge pull request #19935 from taosdata/enh/dynamicIdx
feat:  change  index dynamicly
2023-02-20 15:48:49 +08:00
Xiaoyu Wang
c79b63ab13 fix: wal compatibility of normal tables 2023-02-20 15:44:36 +08:00
Xiaoyu Wang
c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao
7fe250412f refactor:do some internal refactor. 2023-02-20 10:13:11 +08:00
Haojun Liao
8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
Xiaoyu Wang
6ecd5b2971
Merge pull request #20019 from taosdata/enh/3.0_planner_optimize
feat: compatible with older versions of wal
2023-02-18 19:34:28 +08:00
Xiaoyu Wang
a8630c0aa3
Merge pull request #20031 from taosdata/FIX/TD-22224-main
fix: not allow to read if sync is restoring
2023-02-18 18:31:46 +08:00
yihaoDeng
51755e9783 fix: fix drop error 2023-02-18 16:44:29 +08:00
yihaoDeng
db7dec0347 fix filter error 2023-02-18 11:21:10 +08:00
yihaoDeng
1acb4dd676 opt filter 2023-02-18 09:38:54 +08:00
Benguang Zhao
d51c3c36fb fix: not allow to read if sync is restoring 2023-02-17 19:47:52 +08:00
Xiaoyu Wang
0f4de9daec feat: compatible with older versions of wal 2023-02-17 18:06:57 +08:00
Xiaoyu Wang
d5cd2d36af feat: compatible with older versions of wal 2023-02-17 15:55:55 +08:00
Xiaoyu Wang
a7dad151f3
Merge pull request #20004 from taosdata/fix/TS-2625
fix(tsdb/cache): use block index cache with last/last_row
2023-02-17 15:27:49 +08:00
Hongze Cheng
aefdf9160a fix: auto trim database 2023-02-17 10:38:55 +08:00
Xiaoyu Wang
b7f4b93d22 merge 3.0 2023-02-17 09:23:41 +08:00
Xiaoyu Wang
dc984d92f7 feat: compatible with older versions of wal 2023-02-17 09:21:07 +08:00
Hongze Cheng
1640ccc4b2 fix: another error 2023-02-16 17:50:45 +08:00
Liu Jicong
2a4708d82a fix: save fill history state 2023-02-16 17:01:09 +08:00
Hongze Cheng
3c37ad11e6 fix: other problems 2023-02-16 15:55:59 +08:00
Minglei Jin
de9cafb04e fix(tsdb/cache): disable sharding for block index cache 2023-02-16 15:50:19 +08:00
Haojun Liao
f8b59fc5bf
Merge pull request #19999 from taosdata/feat/TS-2633
feat:add disable stream option
2023-02-16 13:23:08 +08:00
Minglei Jin
4959e8fa7c
Merge branch 'main' into fix/TS-2625 2023-02-16 12:33:59 +08:00
Haojun Liao
f34bc0344c
Merge pull request #20001 from taosdata/fix/nodisk
fix(query): fix memory leak and invalid free for tag filter cache.
2023-02-16 10:46:50 +08:00
Minglei Jin
56f1afb19c fix(tsdb/cache): use block index cache with last/last_row 2023-02-16 09:28:35 +08:00
Haojun Liao
fd379310f6
Merge pull request #19979 from taosdata/fix/tq_oom
fix: handle insufficient resource
2023-02-16 09:17:52 +08:00
dapan1121
ed4e8313e0 fix: add force stop task and rename conflict structer name 2023-02-16 08:55:13 +08:00
Haojun Liao
c7a9ed34d0 fix(query): fix memory leak and invalid free for tag filter cache. 2023-02-15 23:24:43 +08:00
Haojun Liao
717392782a fix(query): remove the invalid free. 2023-02-15 19:50:56 +08:00
54liuyao
43966abbc6 feat:add disable stream option 2023-02-15 18:39:05 +08:00
Hongze Cheng
3289f79ab2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-15 18:00:22 +08:00
Hongze Cheng
c1a3a0855b finish code 2023-02-15 17:59:54 +08:00
Haojun Liao
cb35b453d4
Merge pull request #19870 from taosdata/feature/3_liaohj
other: merge opt to main.
2023-02-15 12:55:04 +08:00
54liuyao
88970c88a9 fix:dispatch create sub table 2023-02-15 11:04:49 +08:00
yihaoDeng
df296c15f7 opt: opt tag index 2023-02-14 17:31:10 +08:00
yihaoDeng
dabcf00ade fix RC 2023-02-14 16:54:20 +08:00
Liu Jicong
b147ba2812 fix: handle insufficient resource 2023-02-14 16:18:40 +08:00
Xiaoyu Wang
9fb5c8f3a1
Merge pull request #19961 from taosdata/fix/TD-22432
fix(tsdb/cache): invalidate cache entry if schema changed
2023-02-14 14:53:02 +08:00
Minglei Jin
ea81fc0b30 fix(vnd): zero meta in vnode when closing 2023-02-14 10:56:00 +08:00
Minglei Jin
8ec5df8d7d fix(tsdb/cache): Not free zero length var data 2023-02-14 10:20:55 +08:00
Minglei Jin
ee9c59dc77 fix(tsdb/cache): invalidate cache entry if schema changed 2023-02-13 19:30:48 +08:00
Haojun Liao
c1e7b3be66 fix(query): 1. reset the pointer, when initialize the reader failed. 2. add check for null pointer when extracting cached rows. 2023-02-13 19:10:31 +08:00
Haojun Liao
c9ce01c878 Merge branch 'main' into feature/3_liaohj 2023-02-13 17:09:27 +08:00
yihaoDeng
e4906283cb fix json_tag crash 2023-02-13 15:47:19 +08:00
Haojun Liao
c597a1e4ce refactor: do some internal refactor. 2023-02-13 15:46:47 +08:00
wangmm0220
b054ef9a9f fix:conflict from 3.0 2023-02-13 14:04:36 +08:00
yihaoDeng
16da9d78a9 fix: fix filter error result 2023-02-13 13:47:22 +08:00
wangmm0220
0e630b8f81 fix:remove id in execReader & enable task case 2023-02-13 13:38:05 +08:00
Yihao Deng
5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
yihaoDeng
0fd0c64157 fix: fix filter error result 2023-02-13 13:28:52 +08:00
yihaoDeng
0f803fca10 fix: fix filter error result 2023-02-13 11:40:40 +08:00
Hongze Cheng
454e56fd09 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-13 10:37:32 +08:00
Haojun Liao
27a53a0c64 fix(query): set the correct table iter. 2023-02-13 10:05:26 +08:00
Xiaoyu Wang
6483b92f0c
Merge pull request #19923 from taosdata/fix/3.0_merge_main
merge main
2023-02-13 09:48:45 +08:00
Liu Jicong
0cd6bd3d86 Merge branch 'main' into enh/stream_buffer_param 2023-02-13 09:48:02 +08:00
Hongze Cheng
10167a90cd refact code 2023-02-13 09:39:21 +08:00
Hongze Cheng
cce25bbcd8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-13 09:14:24 +08:00
Haojun Liao
34036b932f fix(query): fix error in windows. 2023-02-13 01:05:40 +08:00
Haojun Liao
f85cf08f87 fix(query): set the initial iterator table before check data in buffer. 2023-02-12 22:09:46 +08:00
yihaoDeng
a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Haojun Liao
f6a262eeb1 fix(query): fix invalid write. 2023-02-11 01:56:28 +08:00
Haojun Liao
1b53f4b0bd
Merge pull request #19919 from taosdata/fix/liaohj
fix(query): add check for table/super table dropped
2023-02-10 23:00:55 +08:00
Haojun Liao
a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Haojun Liao
5dfa0e69a9 fix(query): set correct schema info for normal table. 2023-02-10 19:06:23 +08:00
yihaoDeng
9d8e3e0c8f fix mem leak 2023-02-10 18:29:03 +08:00
Haojun Liao
6839ed22f2 fix(query): fix bug in tag filter. 2023-02-10 18:28:35 +08:00
Xiaoyu Wang
3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Hongze Cheng
039a0d2270 fix: compile issue 2023-02-10 18:01:22 +08:00
Haojun Liao
e378668571
Merge pull request #19915 from taosdata/fix/nodisk
ehn(query): dynamic set the initial buffer size for data block from d…
2023-02-10 17:49:46 +08:00
Haojun Liao
f6b2da8c06 fix(query): add check for table/super table dropped, when retrieving cache rows. 2023-02-10 16:53:11 +08:00
Hongze Cheng
9694933ec8 fix: compact issue 2023-02-10 16:24:29 +08:00
Haojun Liao
c8f1c3b6e4 fix(query): set the max rows as the default block buffer rows. 2023-02-10 16:18:30 +08:00
Haojun Liao
72287a3b5f fix(query): set correct tag value during tag filter and do some internal refactor. 2023-02-10 16:03:11 +08:00
Haojun Liao
17f05c0020 refactor: disable the limitation of maximum buffer size. 2023-02-10 14:40:37 +08:00
Haojun Liao
4908c563cc ehn(query): dynamic set the initial buffer size for data block from disk. 2023-02-10 14:35:18 +08:00
Haojun Liao
440122e010
Merge pull request #19900 from taosdata/fix/nodisk
fix(query): set lastkey during check of valid ts.
2023-02-10 13:45:08 +08:00
Hongze Cheng
f523a96c2d fix compact problem 2023-02-10 13:38:21 +08:00
Haojun Liao
4f4d39a16b fix(query): set correct last key. 2023-02-10 11:32:18 +08:00
yihaoDeng
cf129cacb9 add mutex 2023-02-10 10:51:25 +08:00
Xiaoyu Wang
b2e60da1cf merge main 2023-02-10 10:34:55 +08:00
Haojun Liao
0fbaf4eab0 fix(query): set lastkey during check of valid ts. 2023-02-09 23:01:44 +08:00
yihaoDeng
d4cfeb1f6c add more test case 2023-02-09 21:04:11 +08:00
Xiaoyu Wang
86d231ce50
Merge pull request #19872 from taosdata/feat/vnode_compact
feat: data compaction
2023-02-09 16:24:50 +08:00
yihaoDeng
5315500287 fix filter error 2023-02-09 16:09:46 +08:00
Haojun Liao
6cf363600b
Merge pull request #19785 from taosdata/fix/TD-21899
fix:auto create table & NULL NONE problem for taosx
2023-02-09 15:31:13 +08:00
Xiaoyu Wang
9bc225ffda merge 3.0 2023-02-09 09:44:29 +08:00
Xiaoyu Wang
79440f7a26
Merge pull request #19860 from taosdata/fix/3.0_merge_main
merge main
2023-02-09 09:22:19 +08:00
yihaoDeng
a8d2375bd8 fix filter error 2023-02-08 23:30:12 +08:00
yihaoDeng
9ba5381b5a fix filter error 2023-02-08 23:04:49 +08:00
yihaoDeng
4b6c073623 fix filter error 2023-02-08 23:01:20 +08:00
yihaoDeng
5881bdb6ff add test case 2023-02-08 22:13:29 +08:00
Hongze Cheng
8d6e6d2fe0 more code 2023-02-08 17:46:11 +08:00
Xiaoyu Wang
277469083f
Merge pull request #19848 from taosdata/FIX/TD-22121-main
enh: set terrno as Invalid table ID while tdbTbGet suid failure in metaUpdateTagIdx
2023-02-08 16:29:23 +08:00
Xiaoyu Wang
50819c46ec
Merge pull request #19852 from taosdata/FIX/TD-22184-main
enh: return error on unexpected snapshot msg
2023-02-08 16:29:10 +08:00
Hongze Cheng
c398f9d299 more code 2023-02-08 16:11:47 +08:00
Liu Jicong
ae4ad7d851 Merge branch 'main' into enh/stream_buffer_param 2023-02-08 16:09:35 +08:00
Hongze Cheng
0f70a61253 more code 2023-02-08 14:28:54 +08:00
Haojun Liao
9dc8946143
Merge pull request #19859 from taosdata/fix/nodisk
fix(query): reset the data load flag when build clean file  block.
2023-02-08 14:24:35 +08:00
Hongze Cheng
e22e4f626a more code 2023-02-08 11:30:38 +08:00
Hongze Cheng
5a56e39613 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 11:15:51 +08:00
Hongze Cheng
108ce09c85 more code 2023-02-08 11:15:36 +08:00
Hongze Cheng
d9e8b3c047 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 10:20:22 +08:00
Xiaoyu Wang
09925437e3 merge main 2023-02-08 09:51:52 +08:00
Xiaoyu Wang
44a5e0070b
Merge pull request #19840 from taosdata/fix/TD-22245-batch-delete
fix(vnd): no rlock on writing thread's path
2023-02-08 09:17:33 +08:00
Haojun Liao
e199f96d94 fix(query): reset the data load flag when build clean file block. 2023-02-08 09:14:38 +08:00
Hongze Cheng
9b338ae095 more code 2023-02-07 22:05:36 +08:00
Shengliang Guan
7fdeaf19be Merge remote-tracking branch 'origin/3.0' into enh/TD-18702 2023-02-07 20:29:14 +08:00
Benguang Zhao
9b522cec3a enh: return error on unexpected snapshot msg 2023-02-07 19:16:39 +08:00
Haojun Liao
445c3bd250 fix(query): remove sleep. 2023-02-07 18:27:32 +08:00
Haojun Liao
5dfdb91135 fix(query): check if table exists or not during build data block in tsdbread. 2023-02-07 17:16:20 +08:00
Hongze Cheng
c7267c7c9f more code 2023-02-07 16:49:29 +08:00
Benguang Zhao
2330bf5b49 enh: set terrno as TSDB_CODE_TDB_INVALID_TABLE_ID while tdbTbGet suid failure 2023-02-07 16:20:06 +08:00
Minglei Jin
2f0e5eae32 fix(vnd): no wlock on writing thread's path 2023-02-07 15:15:56 +08:00
kailixu
8df67a9a3c fix: rsma close and commit 2023-02-07 15:10:11 +08:00
Hongze Cheng
a885d6e3d2 more code 2023-02-07 14:08:20 +08:00
kailixu
9598fe684e Merge branch '3.0' into fix/TD-22047-3.0 2023-02-07 10:42:16 +08:00
Haojun Liao
5e2bb75275 fix(query):set correct initial key value for mem/imem data. 2023-02-06 17:56:45 +08:00
Haojun Liao
3822225231 other: merge main. 2023-02-06 16:24:15 +08:00
Haojun Liao
08b3ce7cc0 fix(query): remove timing code. 2023-02-06 16:08:41 +08:00
Haojun Liao
b53d2669da other: merge main 2023-02-06 16:02:54 +08:00
Haojun Liao
e7b97cc086 fix(query): set the correct timestamp value in case that only imem has data. 2023-02-06 15:59:47 +08:00
Xiaoyu Wang
0b6852d7eb
Merge pull request #19813 from taosdata/enh/TD-22139
enh(tsdb/cache): new block index cache for querying
2023-02-06 15:42:42 +08:00
Hongze Cheng
09628401f8 refact code 2023-02-06 14:49:50 +08:00
Minglei Jin
b83f93d564 fix(query): release lru handle before returning from block idx loading 2023-02-06 14:41:17 +08:00
Minglei Jin
a6d52aed4f fix(tsdb/cache): use 5M cache for block index instead of 1M 2023-02-06 14:18:49 +08:00
Xiaoyu Wang
f2ff17dace merge 3.0 2023-02-06 14:18:13 +08:00
Minglei Jin
023b8377fb enh(tsdb/cache): new block index cache for querying 2023-02-06 14:12:57 +08:00
Haojun Liao
882451df0b
Merge pull request #19809 from taosdata/fix/nodisk
fix(query): add null ptr check when retrieving the block info.
2023-02-06 12:57:23 +08:00
Haojun Liao
89b1843382 fix(query): add null ptr check when retrieving the block info. 2023-02-06 10:59:45 +08:00
wangmm0220
762f6466f3 fix:conflicts from 3.0 2023-02-06 09:23:29 +08:00
wangmm0220
33de4e2aba fix:memory leak 2023-02-06 09:21:46 +08:00
yihaoDeng
0dd4433e58 opt index 2023-02-05 11:49:45 +08:00
yihaoDeng
9b7d935682 opt index 2023-02-04 21:02:06 +08:00
Haojun Liao
8dcd73abf0
Merge pull request #19790 from taosdata/fix/nodisk
fix(query): set the correct number of rows when calculating using sma
2023-02-04 00:58:59 +08:00
dapan1121
225bf28536
Merge pull request #19744 from taosdata/fix/TD-22009
enhance: optimize building table delete skyline performance
2023-02-03 19:00:47 +08:00
Haojun Liao
845530e125 other: add some logs. 2023-02-03 17:33:35 +08:00
Xiaoyu Wang
5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Haojun Liao
f803fa44b5 fix(query): set the correct number of rows when calculating using sma for min/max function. 2023-02-03 16:50:13 +08:00
wangmm0220
51760c10ec fix:conflicts from 3.0 2023-02-03 15:40:20 +08:00
wangmm0220
c576d1fa91 fix:error for subscribe stable 2023-02-03 14:54:25 +08:00
Hongze Cheng
f982428e46 mroe code 2023-02-03 14:46:45 +08:00
Shengliang Guan
3b475d4c0d fix: adjust some log while split 2023-02-03 14:40:19 +08:00
Hongze Cheng
49631f6e96 fix: snapshot coredump caused by type 2023-02-03 14:34:55 +08:00
Haojun Liao
e29ca4f5d8 refactor(query): use real number of stt instead of default value. 2023-02-03 10:04:15 +08:00
Liu Jicong
6248804b28 fix log 2023-02-03 09:14:52 +08:00
Haojun Liao
baaa57567e refactor: do some internal refactor. 2023-02-03 09:13:13 +08:00
Haojun Liao
9c32ebc011
Merge pull request #19745 from taosdata/fix/tq
fix: tq open
2023-02-03 09:11:51 +08:00
Haojun Liao
7168f90c51 refactor(query): disable file size check when reading data files. 2023-02-02 17:49:07 +08:00
Haojun Liao
40b7718078 refactor(query): disable file size check when reading data files. 2023-02-02 17:45:21 +08:00
Haojun Liao
e9490a3235 refactor(query): disable tag filter cache by default. 2023-02-02 17:38:21 +08:00
wangmm0220
c8d49b603d fix:roll back htol length for block raw data 2023-02-02 17:23:01 +08:00
Liu Jicong
8cd362c8d0 fix log 2023-02-02 16:15:12 +08:00
Haojun Liao
edca89b731 refactor: opt query perf. 2023-02-02 15:15:46 +08:00
Haojun Liao
fd6ea6ba2f other: merge main. 2023-02-02 14:12:24 +08:00
Haojun Liao
ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
Liu Jicong
924e5bfe6c add debug log 2023-02-02 13:34:11 +08:00
Haojun Liao
97ca4dfd0b
Merge pull request #19732 from taosdata/feat/ly_stream_stable
Feat/ly stream stable
2023-02-02 10:57:09 +08:00
Minglei Jin
69d6fb5bfe fix(meta): use metaAbort instead of tdbAbort with metaClose 2023-02-02 10:20:34 +08:00
Haojun Liao
3897a91a95 refactor: do some internal refactor. 2023-02-02 10:17:39 +08:00
Haojun Liao
6a5ce7d663 refactor: opt tag filter perf. 2023-02-02 10:11:36 +08:00
Xiaoyu Wang
7e3b987e65
Merge pull request #19727 from taosdata/fix/TD-22143
fix(query): protect read snap with reader mutex when closing reader
2023-02-02 09:13:58 +08:00
Haojun Liao
423e04d5a1
Merge pull request #19740 from taosdata/fix/nodisk
refactor: add some logs.
2023-02-02 09:12:16 +08:00
Liu Jicong
041d0d817a fix: tq open 2023-02-02 09:11:17 +08:00
dapan1121
9a261ab2d7 improvement: optimize build table delete skyline performance 2023-02-02 08:45:38 +08:00
Haojun Liao
9fe1512c55 refactor: add some logs. 2023-02-01 22:41:39 +08:00
Haojun Liao
5215a218d4
Merge pull request #19735 from taosdata/fix/nodisk
fix(query): move the reset to other place.
2023-02-01 22:07:29 +08:00
Hongze Cheng
e13499b542 add some log 2023-02-01 18:42:39 +08:00
Haojun Liao
8e4c6ccbb3 fix(query): move the reset to other place. 2023-02-01 18:15:35 +08:00
54liuyao
c4414ec646 feat(stream):exists stable bug&ci 2023-02-01 17:27:04 +08:00
Haojun Liao
04b6576a51
Merge pull request #19728 from taosdata/fix/nodisk
fix(query): reset the del file index when beginning last file check.
2023-02-01 17:16:17 +08:00
Shengliang Guan
fa3356d3c8
Merge pull request #19698 from taosdata/enh/TD-18702
enh: split vgroup
2023-02-01 17:03:06 +08:00
wangmm0220
8a21d7f307 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-21899 2023-02-01 16:13:06 +08:00
wangmm0220
2bf0916bcf fix:split block data if there are none value in block for taosx 2023-02-01 16:12:59 +08:00
Minglei Jin
dca720fc7d fix(query): protect read snap with reader mutex when closing reader 2023-02-01 15:09:21 +08:00
yihaoDeng
3a1ce7c517 fix filter error 2023-02-01 11:02:28 +08:00
Hongze Cheng
03fa4578da Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-01 09:14:00 +08:00
yihaoDeng
5e455b6aef opt table filter 2023-01-31 23:18:35 +08:00
yihaoDeng
fa0b70b156 opt tag filter 2023-01-31 22:43:59 +08:00
yihaoDeng
6100a0d51f fix invalid ver 2023-01-31 21:03:35 +08:00
Xiaoyu Wang
fc829aec52
Merge pull request #19689 from taosdata/fix/TD-22030
fix(query): reset snap to null after untaking mem snap
2023-01-31 16:51:07 +08:00
Shengliang Guan
fb0ef25dbd test: adjust split case 2023-01-31 16:40:53 +08:00
dapan1121
c8394cbf6e fix: add get tb from mem time info 2023-01-31 16:38:29 +08:00
Shengliang Guan
2a8d791e39 Merge remote-tracking branch 'origin/3.0' into enh/TD-18702 2023-01-31 16:31:26 +08:00
Shengliang Guan
9f2078ae0d enh: rename tsdb file 2023-01-31 16:28:37 +08:00
Shengliang Guan
5d8f05749c fix: coredump while tdbAbort 2023-01-31 15:49:56 +08:00
Hongze Cheng
579f65115d add debug info 2023-01-31 15:23:21 +08:00
Minglei Jin
0257c4a90b fix(query): release reader's lock if not composed block 2023-01-31 15:04:48 +08:00
Shengliang Guan
fbc4513ee3 enh: call vnodeBegin after vnodeSyncCommit 2023-01-31 15:01:10 +08:00
Hongze Cheng
db9a6b119d fix 2023-01-31 14:58:50 +08:00
Hongze Cheng
11bc53bbd7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-01-31 14:07:58 +08:00
Hongze Cheng
cabf3e8683 fix: invalid read 2023-01-31 11:22:06 +08:00
Shengliang Guan
53ac9c7229 enh: commit tsdb after split 2023-01-31 10:59:34 +08:00
Minglei Jin
251fdd35ba fix(tsdb/read): wrap tsdb reader's lock with acquire/release 2023-01-30 19:26:36 +08:00
yihaoDeng
0dea988c84 fix deadlock 2023-01-30 18:26:42 +08:00
Hongze Cheng
2d03fb6041 fix memory leak 2023-01-30 18:16:55 +08:00
Shengliang Guan
141fcdd49b enh: alter vnode hashrange in cfg file 2023-01-30 17:54:54 +08:00
wangmm0220
4128c5653c fix:error in tmq for taosx 2023-01-30 17:23:04 +08:00
Shengliang Guan
8bc0d4ba74 enh: add alter vnode hashrange request 2023-01-30 16:33:17 +08:00
Hongze Cheng
c04810e8d5 fix: more code 2023-01-30 15:51:54 +08:00
Hongze Cheng
5904f967f5 fix: snapshot problem 2023-01-30 15:38:19 +08:00
Hongze Cheng
90ff718c57 Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 11:41:26 +08:00
Hongze Cheng
9502fb3633 fix memory leak 2023-01-30 11:40:41 +08:00
Hongze Cheng
0f00862d8b Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 10:17:59 +08:00
Haojun Liao
1741e98a4e fix(query): reset the del file index when beginning last file check. 2023-01-30 10:13:54 +08:00
Hongze Cheng
3deedfb5c6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 10:11:45 +08:00
wangmm0220
94a3fa4ff3 fix:htol(length) & set vgId,uid correct for auto create table in taosx 2023-01-30 09:55:22 +08:00
kailixu
a558e49999 fix: tsdb snapshot reader type 2023-01-29 22:13:14 +08:00
kailixu
57885eae5a Merge branch '3.0' into fix/TD-22047-3.0 2023-01-29 22:01:16 +08:00
Liu Jicong
98906bb272 remove assert 2023-01-29 15:24:31 +08:00
Benguang Zhao
2f9218b79c fix: tqOffsetSnapRead success on tq/offset-ver not existing 2023-01-29 15:14:26 +08:00
Hongze Cheng
27f3b02196 more code fix 2023-01-29 15:09:13 +08:00
Hongze Cheng
f6335a795b fix: assert coredump 2023-01-29 14:47:45 +08:00
Hongze Cheng
5e7b6602c5 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-29 14:05:15 +08:00
Minglei Jin
101772fe1b fix(query): reset snap to null after untaking mem snap 2023-01-29 13:43:37 +08:00
Xiaoyu Wang
6e247e8911
Merge pull request #19679 from taosdata/fix/TD-22030
fix(query): reset iter, iiter's hasVal to false when suspending reader
2023-01-29 11:04:41 +08:00
Hongze Cheng
e0b0ce2395 refact more code 2023-01-29 10:21:39 +08:00
Minglei Jin
ac3e6323e2 fix(query): reset all block scan info when suspending reader 2023-01-29 09:33:32 +08:00
Hongze Cheng
ded3d6e7c9 more code 2023-01-29 09:08:02 +08:00
Hongze Cheng
f3e199dda2 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-21761 2023-01-28 19:34:08 +08:00
wangmm0220
d96cdff8f3 fix:add logic for auto create table while inserting data for taosx 2023-01-28 18:25:43 +08:00
Xiaoyu Wang
eb86f5ae71 merge main 2023-01-28 18:10:08 +08:00
Hongze Cheng
b996618e65 more code 2023-01-28 18:03:13 +08:00
Xiaoyu Wang
24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Liu Jicong
f5c4ca3380 fix: wal ref 2023-01-28 17:17:55 +08:00
kailixu
1fb2df0385 fix: rsma close and commit refactor 2023-01-28 17:00:53 +08:00
Hongze Cheng
fb2b42f968 refact more code 2023-01-28 16:51:22 +08:00
Liu Jicong
2a71d47668 fix: wal ref 2023-01-28 16:11:17 +08:00
Minglei Jin
b4807d9aa9 fix(query): reset iter, iiter's hasVal to false when suspending reader 2023-01-28 14:06:37 +08:00
Hongze Cheng
545e4d7f02 make it compile 2023-01-28 13:30:15 +08:00
Hongze Cheng
8d56306517 more code 2023-01-28 11:31:32 +08:00
Xiaoyu Wang
f487c4e63f
Merge pull request #19524 from taosdata/fix/long_query
fix(query): switch buffer pool recycle on
2023-01-28 08:51:51 +08:00
Hongze Cheng
2f5eeb8000 make it compile 2023-01-26 21:57:22 +08:00
Hongze Cheng
ec886154a4 more code 2023-01-26 21:48:54 +08:00
Hongze Cheng
a902d412eb more code 2023-01-26 20:20:39 +08:00
Hongze Cheng
b8578e242e Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-21761 2023-01-26 17:14:57 +08:00
Hongze Cheng
4f0a605cc0 more code 2023-01-22 17:20:26 +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
Hongze Cheng
b88327d737 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-21761 2023-01-18 23:32:52 +08:00
yihaoDeng
bfd711c08f Merge remote-tracking branch 'origin/3.0' into dynamicIdx 2023-01-18 22:01:49 +08:00
Hongze Cheng
516306b598 more code 2023-01-18 17:28:18 +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
dapan1121
17bfb8228a fix: rows number exceeds block capacity issue 2023-01-18 15:55:24 +08:00
Hongze Cheng
d6028bdde1 some code 2023-01-18 14:59:02 +08:00
kailixu
d9ae5a755c fix: tsdb fs head/data/sma nRef 2023-01-18 11:05:39 +08:00
kailixu
70fb18e611 fix: tsdb ReadSnap take/untake 2023-01-17 15:11:11 +08:00
Haojun Liao
49dedc3c3f fix(query): opt perf. 2023-01-17 10:24:19 +08:00
Shengliang Guan
01647debb9
Merge pull request #19581 from taosdata/enh/TD-20047
fix: update epset on dnode info changed
2023-01-17 08:53:43 +08:00
Haojun Liao
7425820c21 refactor: do some internal refactor. 2023-01-16 23:58:45 +08:00
Shengliang Guan
d476b6db13 enh: update epset on dnode info changed 2023-01-16 15:41:50 +08:00
kailixu
b562b25b75 Merge branch '3.0' into fix/TD-21873-3.0 2023-01-16 13:39:30 +08:00
dapan1121
62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
Haojun Liao
94e8aafcf6
Merge pull request #19543 from taosdata/feat/ly_stream
create stream and use existing super table
2023-01-14 23:30:25 +08:00
Haojun Liao
82f4db302e refactor: do some internal refactor. 2023-01-14 23:17:57 +08:00
Haojun Liao
7aee35c457 fix(query): init the value. 2023-01-13 15:54:23 +08:00
kailixu
8f0f060410 Merge branch '3.0' into fix/TD-21873-3.0 2023-01-13 15:14:11 +08:00
Haojun Liao
5386fe7cc4 fix(query): init the value. 2023-01-13 14:57:09 +08:00
Haojun Liao
cd6532ca7e enh(query): prepare the buffer on the stack, instead of heap. 2023-01-13 14:49:07 +08:00
yihaoDeng
3c97e3fc1a add execute plan 2023-01-13 14:39:50 +08:00
Haojun Liao
6332c982b5 fix(query): fix invalid read 2023-01-13 14:16:59 +08:00
Xiaoyu Wang
9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
Haojun Liao
bb5fb42c2f refactor: do some internal refactor. 2023-01-13 13:48:20 +08:00
Haojun Liao
7dcad62775 refactor: do some internal refactor. 2023-01-13 10:56:47 +08:00
Haojun Liao
5ff84757fe refactor: do some internal refactor. 2023-01-13 10:53:36 +08:00
Haojun Liao
71ca1d84ef refactor: do some internal refactor. 2023-01-13 10:53:19 +08:00
Haojun Liao
6bffcfaad8 refactor: do some internal refactor. 2023-01-13 10:45:07 +08:00
Haojun Liao
28baef1051 refactor: do some internal refactor. 2023-01-13 10:40:12 +08:00
Haojun Liao
a71f029eec refactor: do some internal refactor. 2023-01-13 10:36:05 +08:00
54liuyao
3ec1560faa create stream and use existing super table 2023-01-13 10:26:49 +08:00
kailixu
6851a7db04 fix: memory leak 2023-01-13 02:12:04 +08:00
Haojun Liao
8bed2612a6 refactor: do some internal refactor. 2023-01-12 23:24:41 +08:00
Haojun Liao
a96de23363 fix(query): add the check of item when putting in cache. 2023-01-12 22:50:02 +08:00
kailixu
e571ddf37e fix: tsma transaction refactor 2023-01-12 21:13:15 +08:00
Haojun Liao
d36e68bd9b fix(query): add the check of item when putting in cache. 2023-01-12 19:25:28 +08:00
Haojun Liao
96feaaadbe fix(query): add the check of item when putting in cache. 2023-01-12 19:24:23 +08:00
Shengliang Guan
cd0404bc25 refact: adjust return value of tmsgUpdateDnodeInfo 2023-01-12 17:08:33 +08:00
yihaoDeng
72b43d240d add/delete tag idx 2023-01-12 16:31:55 +08:00
Haojun Liao
effcfc057d fix(query): fix compare error. 2023-01-12 15:00:07 +08:00
Minglei Jin
beb637554c bp/proactive: remove incorrect proactive assert 2023-01-12 10:54:58 +08:00
Minglei Jin
086253b413 Revert "vnode: disable buffer pool recycling for 3.0 merging"
This reverts commit ba68d5d7b3.
2023-01-12 09:52:03 +08:00
Hongze Cheng
e3498d61b4 refact code 2023-01-12 09:27:18 +08:00
yihaoDeng
69f0fe9792 add/delete tag idx 2023-01-11 17:03:23 +08:00
yihaoDeng
a7eee2c178 add/delete tag idx 2023-01-11 16:28:59 +08:00
Shengliang Guan
45ec75a5f3
Merge pull request #19472 from taosdata/fix/long_query
Fix/long_query
2023-01-11 15:58:26 +08:00
Haojun Liao
53f27901a5 Merge branch 'main' into feature/3_liaohj 2023-01-11 15:42:34 +08:00
Minglei Jin
ba68d5d7b3 vnode: disable buffer pool recycling for 3.0 merging 2023-01-11 14:03:51 +08:00
yihaoDeng
3e738363aa add/delete tag index 2023-01-11 13:36:07 +08:00
wangmm0220
3b4ff4d094 fix:add logic for scan ins_columns 2023-01-10 20:32:31 +08:00
Haojun Liao
2d73a50469 enh(query): opt filter check. 2023-01-10 19:31:30 +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
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
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
Haojun Liao
08321f3c6d enh(query): update the log. 2023-01-10 13:35:25 +08:00
Haojun Liao
b2a70c0a34 enh(query): jump out of loop once queried tables are all found. 2023-01-10 13:33:27 +08:00
Haojun Liao
1354eac985 Merge branch 'main' into feature/3_liaohj 2023-01-10 13:21:49 +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
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
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
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
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
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
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
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
80586ad997 fix: invalid free issue 2023-01-09 11:33:26 +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
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
Haojun Liao
f90fa07ea9 refactor: add avx support zigzag decode. 2023-01-08 12:34:18 +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
dapan1121
d70e32e7d3 fix: compile issue 2023-01-07 14:56:43 +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
Haojun Liao
972f9b6948 refactor: do some internal refactor. 2023-01-07 00:59:05 +08:00
yihaoDeng
7e720269e2 update add/del tag index 2023-01-06 21:33:42 +08:00
dapan1121
66e62bb010 fix: tsdb read invalid memory read issue 2023-01-06 19:19:31 +08:00
Minglei Jin
610b5631aa fix(vnd/snap): keep vnode stats transfered from leader 2023-01-06 18:00:01 +08:00
Minglei Jin
88185c1ad6 fix(meta): cleanup coverity scan issues 2023-01-06 15:43:54 +08:00
Hongze Cheng
d7ec7ed936 more code 2023-01-06 15:24:27 +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
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
Haojun Liao
9dd07cc1e1 other:merge main. 2023-01-06 12:54:26 +08:00
kailixu
9c33f014b1 fix: rsma commit without table 2023-01-06 10:57:04 +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
kailixu
f3831b54db fix: rsma commit without table 2023-01-06 07:41:07 +08:00
Haojun Liao
4f89bf78d8 enh(query): do some internal refactor. 2023-01-05 19:18:24 +08:00
Haojun Liao
29155ad460 enh(query): disable the file length check. 2023-01-05 19:11:08 +08:00
Hongze Cheng
d9d4074377 fix: tsdb snap wrong suid 2023-01-05 17:32:39 +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
Hongze Cheng
e710802f1f more code 2023-01-05 15:40:15 +08:00
yihaoDeng
a64e9d53b4 updata index 2023-01-05 15:39:35 +08:00
Hongze Cheng
fef8976836 fix: little change 2023-01-05 15:00:29 +08:00
Minglei Jin
4e1f5b2979 fix(meta): cleanup coverity scan issues 2023-01-05 14:04:21 +08:00
Hongze Cheng
a046dbb02b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-01-05 13:57:55 +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
Benguang Zhao
9d5e74a3ff Merge branch 'main' into FIX/TD-21043-main 2023-01-05 09:47:22 +08:00
yihaoDeng
9586f86ceb update add/drop index msg 2023-01-04 22:26:52 +08:00
Benguang Zhao
442902e5cb fix: send rpc response on closing sync or failing to enqueue 2023-01-04 19:18:46 +08:00
kailixu
f8f74c1780 enh: return error when data out of range 2023-01-04 19:11:33 +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
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
Xiaoyu Wang
9df6f69371 merge 3.0 2023-01-04 15:02:31 +08:00
yihaoDeng
5bb20a9a2c Merge branch 'ddv' into dynamicIdx 2023-01-04 14:20:39 +08:00
Shengliang Guan
e2056ba8fb Merge branch 'main' into FIX/TD-21043-main 2023-01-04 11:48:35 +08:00
Xiaoyu Wang
fdde287ca9 merge main 2023-01-04 11:43:20 +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
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
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
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
70b513c09c fix: vnode set the wrong replica info after snapshot transfered 2023-01-03 19:47:04 +08:00
Minglei Jin
b020383046 fix(tsdb): comment qlist out to please CI 2023-01-03 18:30:50 +08:00
Hongze Cheng
c6a71a4b66 more code 2023-01-03 18:29:30 +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
Hongze Cheng
5e579398e8 more code 2023-01-03 18:16:52 +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
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
9e71a58675 fix: load wal ref when init 2023-01-03 16:45:45 +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
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
Hongze Cheng
9fd2ac0b4c add log 2023-01-03 11:57:25 +08:00
Liu Jicong
eacde27fdb refactor: remove unused code 2023-01-03 11:24:11 +08:00
Liu Jicong
617d8d4013 fix mem leak 2023-01-03 11:18:48 +08:00
Minglei Jin
e4e72dd9e9 fix(tsdb/read): new tsdbReleaseDataBlock api from release reader's lock 2023-01-03 09:43:29 +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
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
Benguang Zhao
3edde0eadf fix: tdbAbort on metaClose or streamMetaClose instead of tdbTxnClose 2023-01-01 21:07:32 +08:00
Shengliang Guan
929be865f1 Merge branch 'main' into fix/TS-2349 2022-12-30 17:42:56 +08:00
Shengliang Guan
c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Hongze Cheng
4936eb5b2c more code 2022-12-30 16:55:49 +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
Hongze Cheng
835c42e5c7 more code 2022-12-30 15:40:13 +08:00
Hongze Cheng
47d493e851 more code 2022-12-30 14:49:55 +08:00
Hongze Cheng
38b4c5c14a more code 2022-12-30 14:20:55 +08:00
Benguang Zhao
ed43aeaa9b enh: add vndCommitMaxInterval cfg param 2022-12-29 19:47:28 +08:00
Hongze Cheng
1d4a569da6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-29 17:57:40 +08:00
Hongze Cheng
112a6b833a more code 2022-12-29 17:57:23 +08:00
Minglei Jin
2ed9c19da4 Merge branch 'v3.0' into fix/long_query 2022-12-29 17:43:51 +08:00
Hongze Cheng
6f947af8cc more code 2022-12-29 17:40:55 +08:00
Shengliang Guan
fad687161b
Merge pull request #19255 from taosdata/enh/stream_drop_when_scan
enh: optimize drop when scan exec
2022-12-29 17:17:59 +08:00
Hongze Cheng
3aa1f8ca90 more code 2022-12-29 16:34:41 +08:00
Liu Jicong
66b9fa01f7 enh: optimize drop when scan exec 2022-12-29 15:51:12 +08:00
Hongze Cheng
01f6823bc1 more code 2022-12-29 15:46:17 +08:00
Minglei Jin
7f8d051281 fix(meta/snap): return -1 when decoder meta entry failed 2022-12-29 14:51:55 +08:00
Hongze Cheng
ac18d377f3 fix some error 2022-12-29 10:18:53 +08:00
Benguang Zhao
d307413c36 Merge branch 'main' into FIX/TD-21043-main 2022-12-29 10:03:17 +08:00
Hongze Cheng
de6be90cb5 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-29 10:00:47 +08:00
Hongze Cheng
de82f3a806 more code 2022-12-29 09:59:28 +08:00
Minglei Jin
1269d20cd9 Merge branch '3.0' into fix/TD-21210 2022-12-29 09:27:35 +08:00
Hongze Cheng
6f30871fd6 more code 2022-12-29 09:10:57 +08:00
Shengliang Guan
78c14a2c88 Merge remote-tracking branch 'origin/3.0' into merge/mainto3.0_1228 2022-12-28 14:59:02 +08:00
Benguang Zhao
6fc47beb71 enh: streamMetaCommit in sync with vnodeCommit 2022-12-28 14:34:23 +08:00
Hongze Cheng
e0e7cc4f87 more code 2022-12-28 14:21:06 +08:00
Hongze Cheng
a0fa31954c Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-28 13:53:59 +08:00
Hongze Cheng
a21fbd05e4 more code 2022-12-28 13:37:22 +08:00
Shengliang Guan
d342ebcd77
Merge pull request #18720 from taosdata/refact/submit_req
Refact/submit req
2022-12-28 10:29:00 +08:00
Hongze Cheng
a09b5b8b5e more code 2022-12-27 17:58:37 +08:00
Minglei Jin
f608481ffb fix(meta/assert/cleanup): remove asserts 2022-12-27 17:48:58 +08:00
Hongze Cheng
916c297348 Merge branch 'feat/vnode_compact' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-27 16:59:58 +08:00
Hongze Cheng
1427f9218c more code 2022-12-27 16:59:52 +08:00
Shengliang Guan
344696b951
Merge pull request #19182 from taosdata/enh/TS-2338
enh: send compact msg from mnode to vnode
2022-12-27 16:54:40 +08:00
Benguang Zhao
92e05b8ece enh: schedule vnodeCommit uniformly distributed 2022-12-27 16:28:44 +08:00
Shengliang Guan
7a3079e79a enh: send compact msg from mnode to vnode 2022-12-27 16:12:50 +08:00
Shengliang Guan
c844922aef
Merge pull request #19172 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-27 16:07:23 +08:00
Hongze Cheng
3b3b8d4f9a more code 2022-12-27 15:19:35 +08:00
Benguang Zhao
8916722dd7 Merge branch main to FIX/TD-21043-main 2022-12-27 14:50:39 +08:00
Liu Jicong
b2cec0f1e9 fix: skip msg 2022-12-27 14:02:23 +08:00
Haojun Liao
58b5d2e0aa fix(query): fix race condition. 2022-12-27 11:02:07 +08:00
Benguang Zhao
c1c7f2593f enh: initialize commitMs as the time when vnodeOpen 2022-12-27 10:38:56 +08:00
Hongze Cheng
ba3697c6d8 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-27 10:24:57 +08:00
Benguang Zhao
137e7d009d fix: update nextRowIterGet of tsdbCache 2022-12-26 20:52:42 +08:00
Shengliang Guan
794fb5d1b5 fix: handle error if sync buffer is full 2022-12-26 20:40:33 +08:00
kailixu
0fab1c8569 Merge branch '3.0' into enh/TD-21211-3.0 2022-12-26 19:36:11 +08:00
Hongze Cheng
5abaf4409d mroe code 2022-12-26 17:12:08 +08:00
Hongze Cheng
53226eae7c more code 2022-12-26 16:23:33 +08:00
Shengliang Guan
b381c42c9d enh: adjust log while transfer snapshot 2022-12-26 15:59:45 +08:00
kailixu
b0598237ad enh: sma assert/log optimization 2022-12-26 15:23:44 +08:00
Shengliang Guan
686a1a1566
Merge pull request #19141 from taosdata/fix/TD-19250-9
fix(meta): reader unlock coverity issue
2022-12-26 14:54:07 +08:00
Benguang Zhao
fda2f55fe5 Merge branch main to FIX/TD-21043-main 2022-12-26 14:26:25 +08:00
Haojun Liao
8a4fb244fb fix(query): fix coverity issues. 2022-12-26 14:20:05 +08:00
Haojun Liao
f54f6201be fix(query): fix coverity issues. 2022-12-26 14:07:22 +08:00
Haojun Liao
9107c3149b fix(query): fix syntax error. 2022-12-26 13:49:16 +08:00
Haojun Liao
1a07451bc3 refactor: do some internal refactor. 2022-12-26 13:45:25 +08:00
Hongze Cheng
d15453eb4e more code 2022-12-26 13:28:23 +08:00
Haojun Liao
723efba79b
Merge branch '3.0' into refact/submit_req 2022-12-26 13:25:25 +08:00
Hongze Cheng
b000fb09ba Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-26 13:17:30 +08:00
Liu Jicong
3b24f882ed fix mem leak 2022-12-26 11:34:05 +08:00
Minglei Jin
516cfe5caf Merge branch 'main' into fix/TD-21498 2022-12-26 11:05:00 +08:00
Shengliang Guan
43561bfb8c
Merge pull request #19103 from taosdata/fix/TD-21446
fix: restart snapshot sender on receiver is restart
2022-12-26 10:58:55 +08:00
Haojun Liao
a5165ab5e7 refactor: do some internal refactor. 2022-12-26 10:58:17 +08:00
Haojun Liao
fbc9e77004
Merge branch '3.0' into refact/submit_req 2022-12-26 10:26:17 +08:00
Minglei Jin
a94a14475a fix(meta): reader unlock coverity issue 2022-12-26 10:24:46 +08:00
Liu Jicong
834495d62a refact: adapt to new sml api 2022-12-26 10:14:59 +08:00
Minglei Jin
3ea9fadfc8 fix(vnd): save vnode info at the begining of vnode prepare commit 2022-12-26 10:10:49 +08:00
Hongze Cheng
8135efb541 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-26 09:28:00 +08:00
Shengliang Guan
664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Shengliang Guan
028cc52846
Merge pull request #19116 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-26 09:12:35 +08:00
kailixu
3db53d9ff6 chore: stream state path 2022-12-26 07:04:18 +08:00
kailixu
cde0c03e01 fix: rsma/tsma CI error 2022-12-26 02:37:31 +08:00
kailixu
9c9c263ace chore: rsma query debug log 2022-12-26 01:22:43 +08:00
kailixu
d983dd89d1 chore: rsma snapshot 2022-12-26 01:16:51 +08:00
kailixu
dfa7e0f59a chore: rsma fs apply change 2022-12-25 23:59:48 +08:00
kailixu
73710da55f chore: rsma sync and assert 2022-12-25 21:54:09 +08:00
kailixu
ed3a0c1dc1 chore: vgId format uniform 2022-12-24 23:44:01 +08:00
kailixu
6d01e18f31 chore: rsma fs and vnode commit optimization 2022-12-24 23:37:58 +08:00
kailixu
4f25c0f7d3 Merge branch '3.0' into feature/TD-19148-D 2022-12-24 00:59:35 +08:00
Haojun Liao
1edf1e1799 refactor: do some internal refactor. 2022-12-23 23:02:40 +08:00
Benguang Zhao
5159d60f56 enh: vnodeCommit on consensus only 2022-12-23 20:16:32 +08:00
Liu Jicong
0d56da7508 fix: skip msg 2022-12-23 19:04:39 +08:00
Xiaoyu Wang
0c269c317b merge 3.0 2022-12-23 17:50:05 +08:00
Haojun Liao
224f5a72c2 refactor: do some internal refactor. 2022-12-23 17:45:12 +08:00
dapan1121
d39e34ce7c
Merge pull request #19071 from taosdata/fix/TS-2276-main
Fix(tsdb): table block distributed totalSize is zero
2022-12-23 11:54:13 +08:00
Shengliang Guan
3e4125ae07 Merge remote-tracking branch 'origin/main' into fix/TD-21446 2022-12-23 11:04:03 +08:00
Shengliang Guan
0ea1d145d5
Merge pull request #19101 from taosdata/feature/3_liaohj
fix(query): set start row index for desc scan.
2022-12-23 11:02:42 +08:00
Shengliang Guan
babe828a4a
Merge pull request #19093 from taosdata/fix/TS-2307
fix(meta/malloc): use new aligned buffer pool malloc
2022-12-23 10:19:59 +08:00
Haojun Liao
ff01a0d2b5 fix(query): remove todo 2022-12-23 09:42:55 +08:00
Shengliang Guan
773423a6b6 fix: remove some logs 2022-12-23 09:11:45 +08:00
Haojun Liao
884f9dfee1 fix(query): set start row index for desc scan. 2022-12-23 00:56:03 +08:00
Haojun Liao
c2f6d4ab77 fix(query): add some logs. 2022-12-23 00:16:15 +08:00
Shengliang Guan
2668def457
Merge pull request #19076 from taosdata/feature/3_liaohj
fix(query): add lock for cache.
2022-12-22 20:12:50 +08:00
Shengliang Guan
48b6bd438d fix: restart snapshot sender on receiver is restart 2022-12-22 17:30:02 +08:00
Minglei Jin
e302cb320f fix(meta/malloc): use new aligned buffer pool malloc 2022-12-22 17:29:29 +08:00
wangmm0220
fd76fdb9e0 opti:taosx for write_raw_block 2022-12-22 16:50:21 +08:00
Haojun Liao
8210c49a85 fix(query): fix memory leak. 2022-12-22 15:47:02 +08:00
Haojun Liao
55159a7ceb fix(query): update the mutex. 2022-12-22 15:44:40 +08:00
Hongze Cheng
ecca2fc0b0 more code 2022-12-22 15:18:41 +08:00
Hongze Cheng
3278c11491 more code 2022-12-22 15:02:39 +08:00
yihaoDeng
92707c50b1 Merge branch 'dev3' into dynamicIdx 2022-12-22 11:48:15 +08:00
Minglei Jin
25e3f653ee fix(tdb/abort): invalidate flushed pages in cache not on dirty tree 2022-12-22 10:50:16 +08:00
Hongze Cheng
78e3a0e345 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-22 10:06:45 +08:00
Shengliang Guan
2454cf0c5d
Merge pull request #19058 from taosdata/release/ver-3.0.2.1
release: build 3.0.2.1
2022-12-21 21:00:33 +08:00
Haojun Liao
71a61c3106 fix(query): add lock for cache. 2022-12-21 19:19:20 +08:00
Alex Duan
950529d148 fix(query): show distributed table modify average calc ++ 2022-12-21 19:03:48 +08:00
Shengliang Guan
46df0e8dd1
Merge pull request #19067 from taosdata/feature/3_liaohj
fix(query): update the blockInfo
2022-12-21 17:57:52 +08:00
Alex Duan
8dfbcc5a83 fix(query): getFileBlockDistInfo totalSize set use index 0 2022-12-21 17:19:00 +08:00
Alex Duan
ebf35651f3 fix(query): getFileBlockDistInfo totalSize set 2022-12-21 17:01:59 +08:00
Haojun Liao
d5a770c98a fix(query): add comment. 2022-12-21 16:25:18 +08:00
Haojun Liao
d1b85f893e fix(query): update the blockInfo 2022-12-21 16:24:37 +08:00
Liu Jicong
89455cf1d1 add debug log 2022-12-21 14:59:05 +08:00
Hongze Cheng
5ab1cba45e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-21 14:36:36 +08:00
Hongze Cheng
a8eb32da9f more code 2022-12-21 14:36:12 +08:00
Liu Jicong
2a7de0cd46 refactor: remove assert 2022-12-21 13:54:14 +08:00
yihaoDeng
a68b8fc43e set mergeTree sst trigger to Max 2022-12-20 17:11:22 +08:00
dapan1121
32e8202a25 enh: refact insert into select processing 2022-12-20 16:55:11 +08:00
Shengliang Guan
9c8b194c34 refact: set FpSnapshotStopRead return type to void 2022-12-20 15:07:27 +08:00
Shengliang Guan
41dcd32b8e refact: adjust some logs 2022-12-20 15:01:03 +08:00
Shengliang Guan
12b6cf15a0 refact: set FpGetSnapshotInfo return type to void 2022-12-20 14:57:04 +08:00
Minglei Jin
ba58185104 Merge branch 'fix/TD-21344-main' of https://github.com/taosdata/TDengine into fix/TD-21344-main 2022-12-20 10:49:34 +08:00
Minglei Jin
93956bbf4f meta/snap: use heap os instead of NIL when openning snap 2022-12-20 10:47:50 +08:00
Shengliang Guan
0b56b4af24 fix: add log for snapshot writer rollback 2022-12-19 20:29:44 +08:00
Hongze Cheng
fc8802df09 more code 2022-12-19 16:07:25 +08:00
Hongze Cheng
1edb6d5b4d more code 2022-12-19 15:23:12 +08:00
Haojun Liao
fdade6d6a3
Merge branch '3.0' into refact/submit_req 2022-12-19 11:24:00 +08:00
Hongze Cheng
4772f2a296 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-19 10:11:23 +08:00
Shengliang Guan
2e2e227dbe fix: remove invalid assert 2022-12-18 19:59:17 +08:00
Shengliang Guan
f24d8433e1 Merge branch 'main' into fix/td-21029 2022-12-17 20:13:53 +08:00
Shengliang Guan
1a99fefa83
Merge pull request #18980 from taosdata/fix/TS-2292-M
fix(tsdb): default value of tsdbPageSize
2022-12-16 21:42:35 +08:00
kailixu
96bfe146d5 fix: default value of tsdbPageSize 2022-12-16 18:28:10 +08:00
kailixu
728cbbac5e fix(tsdb): default value of tsdbPageSize 2022-12-16 16:55:12 +08:00
Liu Jicong
be03f7aa8b Merge branch 'main' into feature/stream 2022-12-16 14:42:44 +08:00
Liu Jicong
4402bcef94 enh(stream): forbid source db replica > 1 2022-12-16 08:53:33 +08:00
yihaoDeng
0bef283062 add/drop dynamic idx 2022-12-15 21:52:10 +08:00
yihaoDeng
0bea3475fb add/drop dynamic idx 2022-12-15 20:28:19 +08:00
Shengliang Guan
cb8cd5f733 Merge branch 'main' into fix/td-21029 2022-12-15 19:24:16 +08:00
Hongze Cheng
a481e8fa5e more code 2022-12-15 16:03:56 +08:00
yihaoDeng
c2a6988d90 Merge branch '3Dev' into dynamicIdx 2022-12-15 11:15:20 +08:00
Hongze Cheng
66aefc392f more code 2022-12-15 09:50:02 +08:00
Haojun Liao
b5f611328a fix(query): add check for blockdata. 2022-12-14 20:31:21 +08:00
Shengliang Guan
4db6b043c6 fix: reduce the frequency of retry in sync not ready case while alter db 2022-12-14 19:01:31 +08:00
Shengliang Guan
6a7c1d6bea
Merge pull request #18940 from taosdata/enh/TD-21127
refact: post sem in vnode while sync timeout
2022-12-14 18:55:52 +08:00
Shengliang Guan
60bab9ae55 refact: post sem in vnode while sync timeout 2022-12-14 16:09:28 +08:00
Hongze Cheng
c0b2ff9c62 more code 2022-12-14 15:23:01 +08:00
Shengliang Guan
2b256542a5 refact: add vnode timer 2022-12-14 09:14:40 +08:00
Shengliang Guan
04750d9078
Merge pull request #18905 from taosdata/feature/3_liaohj
refactor: do multiple refactor and improve some query perf.
2022-12-14 08:01:42 +08:00
Shengliang Guan
b89877b4c1 refact: add vnode timer 2022-12-13 13:41:06 +08:00
Haojun Liao
e3e42cdfbd fix(query): set update ts flag for stream. 2022-12-13 00:16:40 +08:00
kailixu
2a1f5df28e Merge branch '3.0' into feature/TD-19148-D 2022-12-12 19:12:12 +08:00
kailixu
c748f14a04 chore: more code 2022-12-12 19:11:51 +08:00
Haojun Liao
48f7fc5c3d
Merge branch '3.0' into refact/submit_req 2022-12-12 18:11:17 +08:00
kailixu
a71778cfa7 refact: rsam adapt taosAllocateQitem 2022-12-12 17:11:22 +08:00
Haojun Liao
ba50a7c30d refactor(query): add additional attribute to denote if current block has already loaded data. 2022-12-12 14:25:26 +08:00
Shengliang Guan
37f4d4f4a4
Merge pull request #18880 from taosdata/main
fix(query): does not return error code if queried table does not exists.
2022-12-10 16:00:31 +08:00
Shengliang Guan
aa512f1d55
Merge pull request #18874 from taosdata/fix/TD-21117
fix: control rpc qitem memory
2022-12-10 15:58:31 +08:00
Shengliang Guan
9e8f4f5e71
Merge pull request #18862 from taosdata/feature/3_liaohj
fix(query): return with error code if the table does not exist
2022-12-10 15:56:30 +08:00
Haojun Liao
eeefd1a4b5 fix(query): does not return error code if queried table does not exists. 2022-12-10 14:35:56 +08:00
Shengliang Guan
50b66df39f fix: control rpc qitem memory 2022-12-10 14:02:57 +08:00
Shengliang Guan
585efa1ffd
Merge pull request #18864 from taosdata/fix/metaCacheMemLeak
fix:fix mem leak
2022-12-10 11:28:29 +08:00
yihaoDeng
e7e34456fb fix mem leak 2022-12-09 22:25:26 +08:00
yihaoDeng
c5db51f484 fix mem leak 2022-12-09 21:48:48 +08:00
Shengliang Guan
016f7642de
Merge pull request #18854 from taosdata/feature/stream
fix: mem leak
2022-12-09 21:48:20 +08:00
Haojun Liao
44dc2564eb fix(query): return with error code if the table does not exist during creating tsdbReader 2022-12-09 21:07:03 +08:00
Liu Jicong
a6fff95795 fix: close wal ref 2022-12-09 17:18:21 +08:00
Hongze Cheng
8bc39b7c90 fix sem wait 2022-12-09 17:14:00 +08:00
Minglei Jin
66fba7ec60 meta/begin: a comment to describe the default heap option 2022-12-09 16:28:26 +08:00
Minglei Jin
5f2b393c0c meta/snapshot: use nil heap and abort tdb when rollback 2022-12-09 16:23:43 +08:00
Hongze Cheng
7b20c09f34 more code 2022-12-09 16:19:49 +08:00
Hongze Cheng
68128bc27c Merge branch 'main' of https://github.com/taosdata/TDengine into fix/td-21029 2022-12-09 15:50:30 +08:00
Hongze Cheng
63cc4e27b1 more code 2022-12-09 15:50:22 +08:00
Minglei Jin
c22fa53bc4 fix: release lock and memory in exceptional cases 2022-12-09 10:22:43 +08:00
Haojun Liao
27ebafdbaa other: merge 3.0 2022-12-09 10:19:05 +08:00
Hongze Cheng
d992b64903 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/td-21076 2022-12-08 21:38:36 +08:00
Hongze Cheng
24ee499670 fix: coredump 2022-12-08 21:38:08 +08:00
Shengliang Guan
bff8047835
Merge pull request #18805 from taosdata/fix/TD-19250-7
fix: dismiss coverity issues
2022-12-08 21:17:24 +08:00
kailixu
12eed5d0eb chore: more code 2022-12-08 20:00:43 +08:00
Hongze Cheng
1b433cac0c fix tsdb snapshot problem 2022-12-08 17:44:47 +08:00
dapan1121
311365ea6f
Merge pull request #18762 from taosdata/fix/TD-20929
fix:read the deleted data
2022-12-08 17:21:41 +08:00
kailixu
fb265ff9ba Merge branch '3.0' into feature/TD-19148-D 2022-12-08 16:28:04 +08:00
Liu Jicong
a8b97a3a52 error handling 2022-12-08 16:09:50 +08:00
Liu Jicong
3d9cc76489 add uid check 2022-12-08 15:56:17 +08:00
54liuyao
6c9d6e2aa8 fix:read the deleted data 2022-12-08 15:42:37 +08:00
kailixu
a2092892f7 refact: tsma/rsma code optimization 2022-12-08 14:43:48 +08:00
kailixu
6f377e3234 refact: tsma/rsma data format 2022-12-08 14:39:59 +08:00
kailixu
096e7054f0 refact: tsma/rsma process 2022-12-08 14:16:57 +08:00
Shengliang Guan
fc0412b69a
Merge pull request #18791 from taosdata/fix/TD-20964-3.0
fix: update diskId when migrate DFileSet
2022-12-08 13:58:29 +08:00
Minglei Jin
da31f5e588 fix: dismiss coverity issues 2022-12-08 13:54:41 +08:00
Liu Jicong
74a253eac4 refactor 2022-12-08 13:34:42 +08:00
kailixu
399dace80f chore: code format optimization 2022-12-08 12:00:04 +08:00
kailixu
5ca21df5d0 Merge branch '3.0' into fix/TD-20964-3.0 2022-12-08 11:59:21 +08:00
Liu Jicong
2c13c8b357 check null ptr 2022-12-08 11:47:52 +08:00
Liu Jicong
8cef033f92 fix mem leak 2022-12-08 11:18:43 +08:00
Minglei Jin
04948080bc tsdb/cache-read: release lru handle in case table's empty 2022-12-08 11:06:16 +08:00
Minglei Jin
1a066d19f7 fix: dismiss coverity issues 2022-12-08 10:55:08 +08:00
Hongze Cheng
058ea5871c fix: memory bug 2022-12-08 10:50:52 +08:00
Liu Jicong
43233b9798 refactor 2022-12-08 09:48:23 +08:00
kailixu
35e67b3fb4 Merge branch '3.0' into feature/TD-19148-D 2022-12-08 09:14:25 +08:00
dapan1121
5b21a2394c
Merge pull request #18779 from taosdata/fix/TD-20958-3.0
fix(query): ensure the SMA  SArray*  capacity is enough big to save all the columns for scanning
2022-12-08 09:13:04 +08:00
kailixu
2d75447bb2 fix: update diskId when migrate DFileSet 2022-12-08 02:11:39 +08:00
Liu Jicong
271822ebc4 refactor: support submitreq2 2022-12-08 01:55:47 +08:00
kailixu
f9bd3580d4 chore: rsma refact 2022-12-08 00:49:23 +08:00
Liu Jicong
df251e9750 fix mem leak 2022-12-08 00:39:07 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
kailixu
04f785315e Merge branch '3.0' into feature/TD-19148-D 2022-12-07 21:16:36 +08:00
Haojun Liao
d3aa0be66e fix(query): add duplicated row merge for column format data in memory. 2022-12-07 20:36:42 +08:00
Shengliang Guan
4172acf95d git lo 2022-12-07 19:39:53 +08:00
Shengliang Guan
cc87f99854
Merge pull request #18778 from taosdata/feature/3_liaohj
fix(query):fix the invalid write operation.
2022-12-07 19:34:33 +08:00
Shengliang Guan
b286959aed
Merge pull request #18769 from taosdata/FIX/TD-21043-3.0
enh: check contiguousness of indexes applied to vnode
2022-12-07 19:32:31 +08:00
Shengliang Guan
d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Haojun Liao
35d13a91c2 fix(query): enable merge duplicated rows. 2022-12-07 18:40:18 +08:00
Shengliang Guan
f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
Haojun Liao
2736380b29 fix(query):fix the invalid write operation. 2022-12-07 18:08:34 +08:00
Alex Duan
cc285d4900 fix(query): SMA ensure support info pColAgg capacity over column numfor this table 2022-12-07 18:00:32 +08:00
Liu Jicong
9e7bbf622a refactor: support submitreq2 2022-12-07 17:54:09 +08:00
Alex Duan
15b8b28972 fix(query): SMA ensure support info pColAgg capacity over column numfor this table 2022-12-07 17:52:49 +08:00
Benguang Zhao
50883689e7 enh: check contiguousness of indexes applied to vnode tsdb 2022-12-07 17:30:22 +08:00
Liu Jicong
45b93280c9 refactor: support submitreq2 2022-12-07 17:22:38 +08:00
Liu Jicong
c5dc7e8227 refactor: support submitreq2 2022-12-07 16:39:46 +08:00
Minglei Jin
8cfba40320 Merge branch 'refact/submit_req' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-07 16:26:58 +08:00
Minglei Jin
997ced9c8f fix: use parentheses with assignment & comparison in while 2022-12-07 16:24:42 +08:00
Hongze Cheng
05d4db4d19 fix: submit req pre-process 2022-12-07 16:14:28 +08:00
Liu Jicong
b133a56219 refactor: support submitreq2 2022-12-07 15:19:34 +08:00
Hongze Cheng
a4549b00de fix: retention 2022-12-07 15:11:37 +08:00
Minglei Jin
1e23f80597 tsdb/cache: use empty array as negative entry to empty table's last/lr 2022-12-07 14:34:38 +08:00
Hongze Cheng
c0494b6453 fix another memory problem 2022-12-07 10:21:01 +08:00
Hongze Cheng
046174656c fix: an insert error 2022-12-07 09:25:00 +08:00
Hongze Cheng
2d85c7c451 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-07 09:04:00 +08:00
yihaoDeng
095b91d1b1 dynamic change index 2022-12-06 21:43:03 +08:00
Hongze Cheng
f4f08b24d2 fix: wrong row sversion 2022-12-06 19:56:43 +08:00
kailixu
6b30410339 Merge branch '3.0' into feature/TD-19148-D 2022-12-06 19:26:00 +08:00
Hongze Cheng
ca84805cfc fix interpolation corner case 2022-12-06 17:22:58 +08:00
Hongze Cheng
c4f41c6d31 fix a coredump 2022-12-06 17:08:07 +08:00
Hongze Cheng
3f9009f3fa fix memory leak 2022-12-06 17:01:49 +08:00
Haojun Liao
78aea791df fix(query): remove invalid free. 2022-12-06 16:38:31 +08:00
Hongze Cheng
259b7e8a8a fix compile issue 2022-12-06 14:53:02 +08:00
Hongze Cheng
899d7b0bcc Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-06 14:37:22 +08:00
Haojun Liao
68273aef52 Merge branch '3.0' into feature/3_liaohj 2022-12-06 10:36:32 +08:00
kailixu
e765c50b0a chore: merge 3.0 2022-12-06 02:10:28 +00:00
kailixu
cb9aa7dcef chore: rsmaFS process 2022-12-06 01:59:24 +00:00
Shengliang Guan
aad8469e86
Merge pull request #18716 from taosdata/feature/3.0_sync_pipeline
fix(sync): close snapshot receiver in pre-close
2022-12-06 09:47:00 +08:00
Liu Jicong
556c26a3a4 refactor: support submitreq2 2022-12-06 06:29:13 +08:00
Liu Jicong
ed11b1419c Merge remote-tracking branch 'refs/remotes/origin/refact/submit_req' into refact/submit_req 2022-12-06 05:59:48 +08:00
Liu Jicong
619bbdfd82 refactor: support submitreq2 2022-12-06 05:58:28 +08:00
Haojun Liao
114943ddb0 fix(query): set the correct flag when no neighbors exist. 2022-12-05 22:28:26 +08:00
Haojun Liao
d5b493677b fix(query): set column sma into the correct position. 2022-12-05 20:39:37 +08:00
Haojun Liao
9e04f42635 fix(query): check for neighbor block when merging data block. 2022-12-05 20:20:48 +08:00
Minghao Li
a1ed4b334c fix(sync): close snapshot receiver in pre-close 2022-12-05 18:50:19 +08:00
yihaoDeng
ccdef51197 Merge branch '3.0' of https://github.com/taosdata/TDengine into dynamicIdx 2022-12-05 18:25:17 +08:00
yihaoDeng
2a0543f713 add dynamic change json tag index 2022-12-05 18:21:36 +08:00
Haojun Liao
136937d69a fix(query): insert null column sma firstly. 2022-12-05 17:05:07 +08:00
dapan1121
1024cba311 fix: fix stmt table not exists issue 2022-12-05 15:45:25 +08:00
kailixu
64e907b993 Merge branch '3.0' into feature/TD-19148-D 2022-12-05 12:12:02 +08:00
Minglei Jin
35b958a1c4 fix: commit tdb in write thread 2022-12-05 11:17:14 +08:00
yihaoDeng
345d92d073 Merge branch 'dev' into dynamicIdx 2022-12-05 10:10:32 +08:00
dapan1121
da74ede563
Merge pull request #18679 from taosdata/fix/TD-20904-3.0
fix: tsdb do retention fix
2022-12-05 09:50:25 +08:00
kailixu
cf4ef434ee Merge branch '3.0' into feature/TD-19148-D 2022-12-05 06:56:27 +08:00
Shengliang Guan
c45001744f
Merge pull request #18674 from taosdata/feat/async_commit
feat: async commit
2022-12-04 22:31:04 +08:00
kailixu
cf0995f749 feat: async commit for rsma 2022-12-04 20:26:58 +08:00
Minglei Jin
a4adcbbe0d vnode/async-commit: adapter vnode-commit to use txn commit 2022-12-04 18:13:51 +08:00
kailixu
8bc95dcb10 Merge branch '3.0' into feature/TD-19148-D 2022-12-04 17:54:17 +08:00
kailixu
0d68190378 Merge branch '3.0' into fix/TD-20904-3.0 2022-12-04 17:50:35 +08:00
kailixu
9b9ebea6f5 fix: tsdb do retention fix 2022-12-04 17:49:37 +08:00
dapan1121
f9f60a8f39
Merge pull request #18646 from taosdata/fix/TD-20684-3.0
feat(api): add new api int64_t taos_affected_rows64
2022-12-04 16:47:51 +08:00
Hongze Cheng
2a20347210 add more code 2022-12-04 15:14:04 +08:00
Hongze Cheng
df6eb27b75 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-04 14:51:05 +08:00
Hongze Cheng
f78efdac7e fix asan error 2022-12-04 14:50:58 +08:00
Shengliang Guan
af3bd5bc9a
Merge pull request #18670 from taosdata/fix/liao_cov
enh(query): avoid repeatly load del file.
2022-12-04 13:20:14 +08:00
Haojun Liao
0d687a533e fix(query): check for null ptr. 2022-12-04 11:35:54 +08:00
Hongze Cheng
0dce1e1047 async commit 2022-12-04 11:15:15 +08:00
Hongze Cheng
8aad71c928 more code 2022-12-04 10:07:08 +08:00
Hongze Cheng
d977929c99 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-04 09:37:29 +08:00
Haojun Liao
fca20668f5 fix(query): check for 0 tables in tsdbreader 2022-12-03 23:52:38 +08:00
Haojun Liao
803762c4e0 enh(query): avoid repeatly load del file. 2022-12-03 22:57:00 +08:00
kailixu
3a59c5381c refact: tsma code optimization 2022-12-03 22:34:29 +08:00
Shengliang Guan
cc8e1071ab
Merge pull request #18668 from taosdata/FIX/TD-19334-3.0
fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg
2022-12-03 22:06:40 +08:00
kailixu
614462b878 refact: free func update when build submit req 2022-12-03 21:47:08 +08:00
kailixu
79c047c5d0 refact: auto create table for tsma result 2022-12-03 21:09:38 +08:00
Benguang Zhao
a7807d3ee4 fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg 2022-12-03 20:53:56 +08:00
kailixu
6dbea9e55d chore: code format 2022-12-03 20:18:10 +08:00
kailixu
e360094f8a chore: code format 2022-12-03 20:15:31 +08:00
kailixu
e7c2c62e5c Merge branch 'refact/submit_req' into refact/TD-20895-3.0 2022-12-03 20:08:42 +08:00
kailixu
42b17760a2 refact: tsma result adaption 2022-12-03 20:06:55 +08:00
Hongze Cheng
4ecfdfd17e more code 2022-12-03 15:14:12 +08:00
kailixu
11684ceb82 refact: resource mgmt when build block for rsma 2022-12-03 15:00:40 +08:00
kailixu
e918982a5a refact: rsma adaption for new SSubmitReq 2022-12-03 14:23:58 +08:00
kailixu
385440becb chore: use submit req 2022-12-03 13:42:24 +08:00
kailixu
184f0cf0f2 Merge branch 'refact/submit_req' into refact/TD-20895-3.0 2022-12-03 13:41:36 +08:00
kailixu
d3a88ea517 refactor: row and submit msg of rsma/tsdb 2022-12-03 13:33:30 +08:00
Shengliang Guan
b4cb000634
Merge pull request #18659 from taosdata/refact/TD-20127
refact: remove some error codes
2022-12-03 13:00:24 +08:00
Shengliang Guan
d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Benguang Zhao
7eca212756 Merge branch '3.0' into FIX/TD-19334-3.0 2022-12-03 10:02:59 +08:00
Benguang Zhao
2ce07c6ec1 fix: get result of tmsPutToQueue for FpCommitCb 2022-12-03 09:05:50 +08:00
Alex Duan
213b97b79a feat(api): taos_affected_rows64 add and modfiy tmsg.h 2022-12-02 23:20:19 +08:00
yihaoDeng
137010f50c dynamic add/drop index 2022-12-02 23:12:57 +08:00
Shengliang Guan
f3e980de14 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:45:11 +08:00
Shengliang Guan
524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
Shengliang Guan
6d70f48802
Merge pull request #18592 from taosdata/feature/3_liaohj
enh(query): optimize query perf.
2022-12-02 21:00:35 +08:00
Shengliang Guan
14a384e93f
Merge pull request #18640 from taosdata/fix/TS-2189-xx
fix(tsdb/cache): use lru erase to invalidate cache entries
2022-12-02 20:42:13 +08:00
Shengliang Guan
61cd753947 enh: remove sync batch propose in vnode 2022-12-02 18:59:03 +08:00
yihaoDeng
2812f4b042 Merge branch '3.0' of https://github.com/taosdata/TDengine into dynamicIdx 2022-12-02 18:35:06 +08:00
Haojun Liao
8152541998 fix(query): set correct tsrow index. 2022-12-02 18:16:12 +08:00
Minglei Jin
55fb892e70 fix(tsdb/cache): use lru erase to invalidate cache entries 2022-12-02 17:53:16 +08:00
Haojun Liao
27ed740eb5 refactor: do some internal refactor. 2022-12-02 17:52:49 +08:00
Shengliang Guan
24ee4b4289 Merge branch '3.0' into enh/TD-20891 2022-12-02 16:44:46 +08:00
Hongze Cheng
e9356fa59d Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-02 16:28:53 +08:00
Shengliang Guan
13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +08:00
Haojun Liao
42a512c39f refactor: do some internal refactor. 2022-12-02 15:52:32 +08:00
Hongze Cheng
1e8b9fdda0 more core 2022-12-02 15:46:36 +08:00
Hongze Cheng
129c692f3e more async commit 2022-12-02 15:44:24 +08:00
Minglei Jin
6cb65f336d Merge branch 'v3.0' into feat/async_commit 2022-12-02 14:49:58 +08:00
Hongze Cheng
2cfdf7bf62 finish more code 2022-12-02 14:24:23 +08:00
Xiaoyu Wang
85ea8bbbb3 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-02 14:04:50 +08:00
Hongze Cheng
5b83fcc1fc optimize by interpolation search 2022-12-02 14:04:24 +08:00
Haojun Liao
5bb0c8f9c0 Merge branch 'refact/submit_req' of github.com:taosdata/tdengine into refact/submit_req 2022-12-02 11:41:01 +08:00
Haojun Liao
6d9e229a72 refactor: fix the in-memory row merge. 2022-12-02 11:40:03 +08:00
Hongze Cheng
4828a19e10 more code 2022-12-02 10:42:34 +08:00
Hongze Cheng
1cf9974b50 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-02 10:10:21 +08:00
yihaoDeng
84d96d5ab6 dynamic add/drop index 2022-12-02 09:17:27 +08:00
Shengliang Guan
a366696478
Merge pull request #18596 from taosdata/feature/stream
refactor(stream): distributed checkpoint
2022-12-02 07:51:10 +08:00
kailixu
b0789d1a86 chore: rsma logic optimization 2022-12-02 04:37:16 +08:00
Liu Jicong
3424b184d3 refactor(stream): distributed checkpoint 2022-12-02 03:48:45 +08:00
kailixu
da8a337c94 Merge branch '3.0' into feature/TD-19148-D 2022-12-01 21:44:00 +08:00
kailixu
9b4c881106 chore: rsma logic optimization 2022-12-01 21:43:42 +08:00
Haojun Liao
24614d03bd fix(query): set correct sma retrieve procedure. 2022-12-01 21:35:01 +08:00
Hongze Cheng
f8b18c4f18 fix some code 2022-12-01 20:48:55 +08:00
Hongze Cheng
043cc1104e more code 2022-12-01 20:26:56 +08:00
dapan1121
af9aba51a5 fix: add create table response message 2022-12-01 20:22:57 +08:00
Haojun Liao
efcc3b06bb fix(query): fix memory leak. 2022-12-01 20:01:09 +08:00
Hongze Cheng
3fc30c991e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-01 18:59:21 +08:00
Haojun Liao
8c62d5f9fa fix(query): fix bug in tsdbread. 2022-12-01 18:34:26 +08:00
Haojun Liao
f8a2ab8338 refactor: do some internal refactor. 2022-12-01 17:24:26 +08:00
Hongze Cheng
6dcdafa486 more code 2022-12-01 17:00:33 +08:00
Hongze Cheng
bd56fd2e09 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-01 16:52:12 +08:00
Hongze Cheng
69617030fa more code 2022-12-01 16:51:36 +08:00
Shengliang Guan
806658545a
Merge pull request #18449 from taosdata/FIX/TD-19334-3.0
feat: implement pipelining of sync
2022-12-01 16:40:07 +08:00
Hongze Cheng
78beb8f4f1 more code 2022-12-01 16:36:25 +08:00
Hongze Cheng
52443d3483 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-01 16:20:47 +08:00
Hongze Cheng
3700f0dc8e more code 2022-12-01 16:19:21 +08:00
kailixu
58477d3b0b Merge branch '3.0' into feature/TD-19148-D 2022-12-01 16:14:31 +08:00
kailixu
e2978db973 chore: rsma logic optimization 2022-12-01 16:13:20 +08:00
Hongze Cheng
0525b4fa0d more code 2022-12-01 15:36:10 +08:00
Shengliang Guan
af58402afc
Merge pull request #18593 from taosdata/fix/TD-20798
enh: show leader ** if vnode can read and can't write
2022-12-01 15:08:46 +08:00
Hongze Cheng
73f8dc6a5b more code 2022-12-01 14:24:10 +08:00
Hongze Cheng
915e9a8ae2 adjust more code 2022-12-01 13:39:59 +08:00
Minghao Li
86d5cba6be refactor(sync): delete code wait snapshot end in pre-close 2022-12-01 13:34:33 +08:00
Hongze Cheng
7765f542d3 more code 2022-12-01 11:53:29 +08:00
kailixu
cd3bf027e6 chore: rsma log optimization 2022-12-01 11:46:09 +08:00
Hongze Cheng
fc50d94156 more coe 2022-12-01 11:45:26 +08:00
slzhou
58c75dde6f fix: add seperate group for normal table when group by db_name/stbable_name 2022-12-01 11:38:34 +08:00
Hongze Cheng
5347eb4dec more code 2022-12-01 10:31:44 +08:00
slzhou
903718940d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-01 09:14:10 +08:00
Haojun Liao
cefe4be1ab refactor: do some internal refactor. 2022-12-01 00:34:06 +08:00
Benguang Zhao
55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00
Benguang Zhao
3cbe109e4b fix: initialize vnode state applyTerm with commitTerm in vnodeOpen 2022-11-30 22:41:33 +08:00
Shengliang Guan
1e8a816155 enh: show leader ** if vnode can read and can't write 2022-11-30 21:42:42 +08:00
Hongze Cheng
86b0dc98c3 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-30 21:17:51 +08:00
Hongze Cheng
f67b516241 more code 2022-11-30 21:17:34 +08:00
Shengliang Guan
d4035e26e1
Merge pull request #18579 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-30 20:16:56 +08:00
Hongze Cheng
6b636ae1ad fix and more dev 2022-11-30 20:14:16 +08:00
Hongze Cheng
4b5671a631 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-30 19:28:52 +08:00
Haojun Liao
124fb5fc50 refactor: do some internal refactor. 2022-11-30 17:52:12 +08:00
Hongze Cheng
df7c07a541 Merge branch 'fix/tdb-async-commit' of https://github.com/taosdata/TDengine into feat/async_commit 2022-11-30 16:48:09 +08:00
Shengliang Guan
d639198be5
Merge pull request #18561 from taosdata/fix/TD-20805
enh: show more info while drop dnode
2022-11-30 16:10:42 +08:00
slzhou
323e52b8c5 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-30 15:43:41 +08:00
Haojun Liao
3f0c93a623 enh(query): optimize query perf. 2022-11-30 14:53:25 +08:00
Hongze Cheng
b22ec52c63 fix core dump 2022-11-30 14:01:45 +08:00
Hongze Cheng
f848460f21 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-30 13:28:17 +08:00
Haojun Liao
e45023f3e9 fix(query): add an null ptr checking before copying memory. 2022-11-30 12:23:08 +08:00
Shengliang Guan
3850b58a3d fix: cannot close vnode while transferring snapshot 2022-11-30 11:08:30 +08:00
Shengliang Guan
82bc543ed7 fix: cannot close mnode while transferring snapshot 2022-11-30 11:05:25 +08:00
Shengliang Guan
b6d3d2322c fix: cannot close vnode while transferring snapshot 2022-11-30 11:02:07 +08:00
Shengliang Guan
4b11f358dd
Merge pull request #18554 from taosdata/feature/stream
fix(stream): delete multiple row
2022-11-30 10:54:38 +08:00
Hongze Cheng
f5270f6a0c adjust api 2022-11-30 10:30:03 +08:00
Liu Jicong
548684e5ac fix(stream): delete multiple row 2022-11-29 23:39:58 +08:00
Haojun Liao
445c4f28f0 enh(query): optimize the perf. 2022-11-29 23:34:22 +08:00
slzhou
6d86fb5b51 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-29 22:19:36 +08:00
Benguang Zhao
470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
Hongze Cheng
5cee5bc447 more code 2022-11-29 17:45:50 +08:00
Hongze Cheng
25ec924c91 more code 2022-11-29 17:29:49 +08:00
Hongze Cheng
c519e51d0b more code 2022-11-29 16:41:46 +08:00
Hongze Cheng
49e7c002bb refact more code 2022-11-29 16:37:48 +08:00
Hongze Cheng
882d421215 adjust more code 2022-11-29 16:02:33 +08:00
Hongze Cheng
2317c5ff5c adjust more code 2022-11-29 15:47:24 +08:00
Hongze Cheng
05eb8dfecc adjust more code 2022-11-29 15:23:11 +08:00
Hongze Cheng
8ca5e0269c adjust more code 2022-11-29 15:13:19 +08:00
Hongze Cheng
142d430ed4 more code 2022-11-29 11:33:08 +08:00
yihaoDeng
d463f05b3f change paramter 2022-11-29 10:28:32 +08:00
Hongze Cheng
91aa6eb969 more code 2022-11-28 17:45:07 +08:00
Hongze Cheng
4f8031821b make it pass compile 2022-11-28 16:45:15 +08:00
Hongze Cheng
086b2d58c2 refact more code 2022-11-28 16:41:35 +08:00
Hongze Cheng
f812957d3a Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-28 16:35:28 +08:00
Minglei Jin
506554b5d2 Merge branch 'v3.0' into fix/tdb-async-commit 2022-11-28 16:20:48 +08:00
Shengliang Guan
fc87007086
Merge pull request #18509 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-11-28 15:58:12 +08:00
Hongze Cheng
37239ffaea more code 2022-11-28 15:37:47 +08:00
Benguang Zhao
dc2dcea3de Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-28 14:27:10 +08:00
Benguang Zhao
8475aaaaf1 enh: add ASSERT info msg in tsdbStartCommit 2022-11-28 13:48:57 +08:00
Hongze Cheng
0f8016995c more code 2022-11-28 13:41:06 +08:00
Haojun Liao
6e81e8cc73 refactor: do some internal refactor. 2022-11-28 12:32:40 +08:00
Hongze Cheng
167c8051ba Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-28 11:08:26 +08:00
Shengliang Guan
c75fa4f7d2
Merge pull request #18504 from taosdata/feature/stream
fix: memory leak
2022-11-28 11:05:36 +08:00
Hongze Cheng
99a559ad59 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-28 09:44:09 +08:00
Liu Jicong
bdfef853e5 fix: memory leak 2022-11-28 09:37:56 +08:00
Shengliang Guan
e6aed5195d
Merge pull request #18468 from taosdata/feature/3_liaohj
refactor: improve the perf in query
2022-11-27 23:10:00 +08:00
Haojun Liao
203ea1f9c8 fix(query): fix error 2022-11-27 14:57:44 +08:00
slzhou
b5b6fff68b feature: save work 2022-11-27 13:50:36 +08:00
Hongze Cheng
0fdf4193e0 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-27 11:22:21 +08:00
Benguang Zhao
4edef438ea enh: transfer ownership of msgs while committing sync log entries 2022-11-26 21:57:23 +08:00
Haojun Liao
0948216ca9 fix(query): fix dead lock. 2022-11-26 21:13:34 +08:00
Liu Jicong
22372ad1e0 fix: memory leak 2022-11-26 16:09:16 +08:00
Haojun Liao
60d6b8e2ee fix(query): change the ptr 2022-11-26 11:51:15 +08:00
Haojun Liao
861b9b8264 fix(query): fix memory leak. 2022-11-26 11:46:36 +08:00
Shengliang Guan
ccc2407fe6
Merge pull request #18459 from taosdata/feature/stream
enh(stream): new api for stream queue
2022-11-26 09:26:01 +08:00
Haojun Liao
0015e65f5b fix(query): remove invalid free 2022-11-26 02:13:46 +08:00
Haojun Liao
98771bb461 fix(query): deprecate the error reported by asan. 2022-11-26 01:50:17 +08:00
Haojun Liao
802ca0f607 fix(query): fix memory leak. 2022-11-26 00:58:29 +08:00
Haojun Liao
c6795b68d2 fix(query): check list size before iterate it. 2022-11-26 00:12:27 +08:00
slzhou
c2a7404b42 save work in case it losts 2022-11-25 23:00:14 +08:00
Haojun Liao
7fe4cf7bbe
Merge branch '3.0' into feature/3_liaohj 2022-11-25 22:24:59 +08:00
Minglei Jin
59a1571945 fix(meta/cache): invalidate suid cache when create/drop ctb & update tag 2022-11-25 21:15:02 +08:00
Liu Jicong
48894c8bdb enh(stream): new api for stream queue 2022-11-25 18:03:40 +08:00
kailixu
993e569403 fix: asan problems for rsma 2022-11-25 16:16:36 +08:00
kailixu
a70583c4af fix: asan problems for rsma 2022-11-25 16:15:15 +08:00
Benguang Zhao
68f8ebac9d Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-25 13:10:06 +08:00
Haojun Liao
f8bc4df4af refactor: do some internal refactor. 2022-11-25 11:58:46 +08:00
Minglei Jin
f570d61d48 fix(meta): return invalid message if cannot getting value from uididx 2022-11-24 19:24:44 +08:00
Haojun Liao
9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Minghao Li
9f38bfeb2c refactor(sync): modify info log to trace log 2022-11-24 16:50:58 +08:00
Minghao Li
7fba711d40 refactor(sync): add info log 2022-11-24 16:03:43 +08:00
Benguang Zhao
22d64b9c0b fix: remove syncNodeReplicateOne from syncNodeOnSnapshotReply 2022-11-24 15:55:31 +08:00
Minghao Li
e43794c366 fix(sync): if msg commit, put it into apply-queue, do not care return code 2022-11-24 15:51:48 +08:00
Shengliang Guan
335a572d86
Revert "Revert "enh: row optimize2"" 2022-11-24 10:12:25 +08:00
Hongze Cheng
91a5f8958f Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-24 09:23:45 +08:00
Hongze Cheng
ffbb04d40a
Revert "enh: row optimize2" 2022-11-24 09:21:26 +08:00
Shengliang Guan
7f4a14fbb7
Merge pull request #18369 from taosdata/szhou/fixbugs
fix: build data from mem/imem first when large nchar column incur …eBlockShouldLoad since SDataBlockToLoadInfo.moreThanCapacity
2022-11-24 08:24:41 +08:00
Shengliang Guan
962aa4aff4
Merge pull request #18383 from taosdata/feature/stream
fix(stream): memory leak
2022-11-24 08:17:40 +08:00
Hongze Cheng
49c78ed5ed Merge branch 'feat/mapdata_to_array' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-23 21:15:35 +08:00
Hongze Cheng
c1db8a9e4d refact code 2022-11-23 20:13:27 +08:00
shenglian zhou
7f6ff39648 feat: table merge scan save work 2022-11-23 19:47:24 +08:00
slzhou
db7a7fa4bd Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-23 15:59:58 +08:00
Hongze Cheng
df5bcae11b more code 2022-11-23 15:45:19 +08:00
slzhou
9a85050ff3 fix: direct return file block only rows <= capacity 2022-11-23 15:43:57 +08:00
Hongze Cheng
d7c30d6e4a Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize2 2022-11-23 15:04:51 +08:00
slzhou
c1ba62b26f fix: build from buf first when buf data is in block gap and only capacity caused load 2022-11-23 14:52:07 +08:00
dapan1121
188e6e6c7d
Merge pull request #18325 from taosdata/enh/msgRefactor2
enh: refact some messages
2022-11-23 13:53:37 +08:00
Liu Jicong
3b84053893 fix(stream): memory leak 2022-11-23 12:32:02 +08:00
Hongze Cheng
6e23c8cdb3 more code 2022-11-23 10:45:58 +08:00
Hongze Cheng
2313ebc648 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-23 09:36:31 +08:00
Shengliang Guan
f06145d37b
Merge pull request #18368 from taosdata/feature/stream
fix(stream): memory leak
2022-11-23 09:18:05 +08:00
slzhou
0161374a8b Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-22 22:59:06 +08:00
slzhou
272a161a61 fix: build data from mem/imem first when large nchar column incur fileBlockShouldLoad since SDataBlockToLoadInfo.moreThanCapacity 2022-11-22 22:06:39 +08:00
Liu Jicong
d4c7394143 fix(stream): memory leak 2022-11-22 22:03:08 +08:00
Shengliang Guan
d588cd37f8
Merge pull request #18357 from taosdata/fix/liao_cov
fix(query): fix memory leak.
2022-11-22 20:49:33 +08:00
Haojun Liao
7c7b2f1cef fix(query): fix memory leak. 2022-11-22 18:06:01 +08:00
kailixu
da535cd04c fix: init/free SBatchDeleteReq for tsma 2022-11-22 15:38:21 +08:00
kailixu
d1249017dd fix: init/free SBatchDeleteReq for tsma 2022-11-22 15:35:53 +08:00
kailixu
bcac60ae35 fix: init/free SBatchDeleteReq for tsma 2022-11-22 15:32:51 +08:00
Haojun Liao
b70a616a2d refactor: do some internal refactor. 2022-11-22 15:27:33 +08:00
Haojun Liao
4d206fd3b2 refactor: do some internal refactor. 2022-11-22 14:59:17 +08:00
Haojun Liao
93ad9e9d3d refactor: do some internal refactor. 2022-11-22 14:29:30 +08:00
Hongze Cheng
cede9e14da Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-22 13:54:40 +08:00
dapan1121
44462ef869
Merge pull request #18321 from taosdata/szhou/fixbugs
fix: fix error for select count(c2),count(ts) from table caused by null ts column aggregation
2022-11-22 13:17:11 +08:00
Haojun Liao
0af77e6ae2 refactor: do some internal refactor. 2022-11-22 12:43:00 +08:00
Shengliang Guan
4f89b690df
Merge pull request #18318 from taosdata/fix/liao_cov
fix(query): fix some memory leaks.
2022-11-22 12:41:34 +08:00
Hongze Cheng
390709e3c8 add interface 2022-11-22 12:37:47 +08:00
Shengliang Guan
c2bebf3f16
Merge pull request #18326 from taosdata/fix/TD-20606
fix: free the batch create table reqs' decoded comment field
2022-11-22 12:17:33 +08:00
Hongze Cheng
40470531e7 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-22 11:59:47 +08:00
Haojun Liao
fbb0a1e921 fix(query): set correct tsdbreader during the creation of tableblockscan info 2022-11-22 11:08:55 +08:00
Minglei Jin
b9f7d181b6 fix: free the batch create table reqs' decoded comment field 2022-11-22 10:47:50 +08:00
dapan1121
19852ba85b Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor2 2022-11-22 10:45:11 +08:00
Hongze Cheng
7976d88402 add interface 2022-11-22 10:10:23 +08:00
Haojun Liao
56edf57c12 refactor: do some internal refactor. 2022-11-22 09:52:53 +08:00
slzhou
bb51d3cac7 fix: fix error for select count(c2),count(ts) from table caused by invalid ts column aggregation 2022-11-21 23:11:00 +08:00
Haojun Liao
8fee089aaf refactor: do some internal refactor. 2022-11-21 22:48:25 +08:00
Haojun Liao
6d5a256774 fix(query): fix some memory leaks. 2022-11-21 22:40:20 +08:00
Liu Jicong
9358429e78 Merge branch '3.0' into feature/stream 2022-11-21 20:54:21 +08:00
dapan1121
c66390d401 enh: refact tmq pull message 2022-11-21 20:38:42 +08:00
Minghao Li
e7e17302a4 enh(sync): use TSDB_CODE_SYN_NOT_LEADER instead of TSDB_CODE_RPC_REDIRECT 2022-11-21 15:35:36 +08:00
Liu Jicong
5d471a0ceb enh(taosx): split block when none column not match 2022-11-21 15:32:27 +08:00
Benguang Zhao
b90ee79623 fix: use syncLogBufferCommit in syncNodeOnLocalCmd 2022-11-21 13:51:01 +08:00
Hongze Cheng
593f694fdc Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-21 09:27:25 +08:00
Hongze Cheng
23f7b67b8a fix: binary NONE + NULL commit coredump 2022-11-20 15:51:40 +08:00
Hongze Cheng
a0dc7859ec Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-20 10:12:38 +08:00
Shengliang Guan
bfa3d1fa27
Merge pull request #18272 from taosdata/fix/TS-2120
fix(meta): new error for creating sub tb already exist in other stables
2022-11-19 09:37:05 +08:00
Minglei Jin
cdaafb7b89 fix(meta): new error for creating sub tb already exist in other stables 2022-11-19 08:19:03 +08:00
Shengliang Guan
a12cf7f91d
Merge pull request #18266 from taosdata/feature/stream
enh(stream): put user defined tb name into stream state
2022-11-18 19:56:56 +08:00
Haojun Liao
d3452f6630 fix(query): fix error. 2022-11-18 17:38:31 +08:00
Haojun Liao
066735964d other: merge with original branch. 2022-11-18 17:35:24 +08:00
Liu Jicong
9a603e5663 enh(stream): put user defined tb name into stream state 2022-11-18 17:21:50 +08:00
Minglei Jin
35b9dc6b6c meta: use meta cache to get uid's version instead of fetching from tdb 2022-11-18 17:07:19 +08:00
Haojun Liao
0d10294b2e Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-11-18 14:54:36 +08:00
dapan1121
1167c86b34
Merge pull request #18230 from taosdata/fix/TD-19618-D
fix: real path optimization in case of invalid read
2022-11-18 14:54:28 +08:00
Haojun Liao
71de2f056b fix(query): fix invalid write/read. 2022-11-18 14:53:39 +08:00
Minglei Jin
3ca38c41a7 meta: use meta cache to get uid's version instead of fetching from tdb 2022-11-18 14:44:14 +08:00
Hongze Cheng
93089916e4 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-18 13:25:57 +08:00
Benguang Zhao
363cbc8985 fix: update cbMeta rsp handle info in syncLogFsmExecute 2022-11-18 09:37:58 +08:00
Benguang Zhao
da469149db enh: debug to info 2022-11-17 20:28:18 +08:00
Minglei Jin
78335f83d2 tdb/api: migrate txn related api changes of meta, sma, tq, and stream meta/state 2022-11-17 20:02:13 +08:00
Benguang Zhao
051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
dapan1121
448fee1744 fix: fix asan issues 2022-11-17 16:31:22 +08:00
dapan1121
fb861a3935 enh: refactor tmq messages 2022-11-17 14:09:15 +08:00
kailixu
6515c9c7c5 fix: real path optimization in case of invalid read 2022-11-17 10:56:24 +08:00
dapan1121
3a642f06d0 Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor0 2022-11-17 10:42:29 +08:00
dapan1121
49917d5156 enh: refactor batch meta msg 2022-11-17 10:35:25 +08:00
Haojun Liao
a464053692 fix(query): set correct size of array list. 2022-11-17 00:46:06 +08:00
Haojun Liao
9c459a24e2 fix(query): fix memory leak. 2022-11-17 00:38:35 +08:00
Haojun Liao
a54275a7b5 fix(query): support null columns sma optimization. 2022-11-16 23:46:59 +08:00
Benguang Zhao
6062632722 enh: turn commit-cb logging msg to debug level in vnodeSyncCommitMsg 2022-11-16 19:53:22 +08:00
Hongze Cheng
a5725b506c more code 2022-11-16 17:22:09 +08:00
Hongze Cheng
56db6e6630 fix: omit sma for all NONE/NULL column 2022-11-16 15:47:40 +08:00
Haojun Liao
a36c24eb1c fix(query): remove invalid free. 2022-11-16 15:47:24 +08:00
Haojun Liao
47a7664e2c refactor: add some logs. 2022-11-16 14:52:38 +08:00
Haojun Liao
7d00b7a6c4 refactor: add tag filter cache. 2022-11-16 14:23:12 +08:00
Hongze Cheng
aaef32ca69 refact code for further code change 2022-11-16 10:27:05 +08:00
Shengliang Guan
555bf7d4cb
Merge pull request #18181 from taosdata/feature/stream
fix(stream): check task
2022-11-16 08:11:30 +08:00
Liu Jicong
6478fcb2c1 fix(stream): check task 2022-11-15 22:32:52 +08:00
Shengliang Guan
7d443b1679
Merge pull request #18174 from taosdata/feature/stream
refactor: stream meta ref count
2022-11-15 20:07:42 +08:00
Liu Jicong
a9bf05bc01 refactor: stream meta ref count 2022-11-15 19:11:42 +08:00
Shengliang Guan
d07209a4e8
Merge pull request #18165 from taosdata/fix/TD-20443
fix: free value return by tdb
2022-11-15 17:03:23 +08:00
Shengliang Guan
6cc31761dd
Merge pull request #18163 from taosdata/fix/TD-20441
fix: clear meta reader's decoder to free leaked memory
2022-11-15 16:47:42 +08:00
Haojun Liao
ba5244d1b6 refactor: add tag filter results cache. 2022-11-15 16:06:29 +08:00
Minglei Jin
5ad1bca624 fix: free value return by tdb 2022-11-15 15:57:50 +08:00
Shengliang Guan
c3cc259928
Merge pull request #18157 from taosdata/feature/stream
fix: reset cache when table is dropped
2022-11-15 15:30:26 +08:00
Minglei Jin
276fc51969 fix: clear meta reader's decoder to free leaked memory 2022-11-15 15:28:51 +08:00
Liu Jicong
76cd3122d1 fix: memory leak 2022-11-15 14:28:20 +08:00
Liu Jicong
ccd3bb20a7 fix: reset cache when table is dropped 2022-11-15 14:10:46 +08:00
Shengliang Guan
ea0b090c33
Merge pull request #18147 from taosdata/feature/stream
fix: memory leak
2022-11-15 13:01:02 +08:00
Liu Jicong
efde22f081 fix: memory leak 2022-11-15 11:59:29 +08:00
54liuyao
cf021b4330 fix:applying non-zero offset in tqSink.c 2022-11-15 09:11:26 +08:00
Shengliang Guan
1312b9c785
Merge pull request #18125 from taosdata/fix/liao_cov
fix(query): fix errors found by asan.
2022-11-14 20:55:25 +08:00
Haojun Liao
fc83468156
Merge branch '3.0' into fix/liao_cov 2022-11-14 19:02:30 +08:00
Hongze Cheng
6aefbbf3b2 more optimize 2022-11-14 17:32:09 +08:00
Hongze Cheng
10921cc09a more opt 2022-11-14 17:13:22 +08:00
Haojun Liao
cf56c38e7a fix(query): fix errors found by asan. 2022-11-14 17:10:25 +08:00
Hongze Cheng
5b51f97a48 more optimize 2022-11-14 16:52:39 +08:00
dapan1121
d2468c5548 fix: fix asan issues 2022-11-14 14:22:13 +08:00
dapan1121
14a1f4e373
Merge pull request #18074 from taosdata/fix/TD-20300
fix: fix query thread quit issue
2022-11-14 11:28:30 +08:00
Shengliang Guan
93447107e1
Merge pull request #18064 from taosdata/perf/insert_optimize
perf: insert optimize
2022-11-12 09:41:16 +08:00
Cary Xu
33861a9d4c fix: allocate memory for lock 2022-11-11 22:13:21 +08:00
Cary Xu
08aaf97657 chore: code optimization 2022-11-11 19:11:06 +08:00
Cary Xu
0dcbe92006 fix: adjust the the varData offset of tp row 2022-11-11 19:04:54 +08:00
dapan1121
56b33e9200 Merge remote-tracking branch 'origin/3.0' into fix/TD-20300 2022-11-11 18:57:12 +08:00
dapan1121
f60441e2dd fix: fix query thread quitting issue 2022-11-11 18:44:59 +08:00
dapan1121
89c13efba8 fix: fix query thread quit issue 2022-11-11 17:13:55 +08:00
Cary Xu
97e83a905b fix: iter next column for kv row 2022-11-11 17:07:16 +08:00
Shengliang Guan
672384eca1
Merge pull request #18056 from taosdata/feature/stream
refactor(tmq): add more strict drop condition check
2022-11-11 16:06:31 +08:00
Hongze Cheng
6076bb0245 Merge branch '3.0' of https://github.com/taosdata/TDengine into perf/insert_optimize 2022-11-11 16:04:02 +08:00
Cary Xu
41a2b0e8ea chore: append kv row to block data 2022-11-11 16:01:41 +08:00
Hongze Cheng
74223b3467 more optimize 2022-11-11 15:22:13 +08:00
Liu Jicong
2386e0b513 refactor(tmq): add more strict drop condition check 2022-11-11 14:37:31 +08:00
Hongze Cheng
057af11ae8 format more 2022-11-11 13:57:38 +08:00
Cary Xu
d9faec5e9f enh: lock buf pool only for rsma vnode 2022-11-11 13:53:16 +08:00
Hongze Cheng
5f97ea3ce1 perf: more optimize 2022-11-11 13:11:48 +08:00
Shengliang Guan
2983f9ba48
Merge pull request #18047 from taosdata/fix/TD-20327
fix: update stb stats cache when creating/dropping child tables
2022-11-11 12:19:45 +08:00
Shengliang Guan
1b54e7fa1f
Merge pull request #18044 from taosdata/perf/insert_optimize
perf: insert optimize
2022-11-11 11:24:00 +08:00
Shengliang Guan
b28f05e6fb
Merge pull request #18037 from taosdata/feature/stream
fix(stream): tbname max len to 192
2022-11-11 11:08:40 +08:00
stephenkgu
4a8196b520 fix: update stb stats cache when creating/dropping child tables 2022-11-11 10:36:27 +08:00
Liu Jicong
df4fd528c0 fix(stream): tbname max len to 192 2022-11-11 10:09:46 +08:00
Hongze Cheng
f55292dd6d perf: optimize write 2022-11-11 10:00:40 +08:00
Cary Xu
65d9d2cd1e chore: code refactor for tsMaxKey definition 2022-11-10 15:58:16 +08:00
Cary Xu
69c1465142 Merge branch '3.0' into feat/TS-2007 2022-11-10 15:49:15 +08:00
Haojun Liao
9f5cf450de refactor: do some internal refactor. 2022-11-10 15:37:18 +08:00
Shengliang Guan
1a1ce767e2
Merge pull request #18011 from taosdata/fix/TS-2029
fix: skip empty data in delete file
2022-11-10 09:44:29 +08:00
stephenkgu
8d6f129154 fix: skip empty data in delete file 2022-11-10 08:14:21 +08:00
Shengliang Guan
b067079d7a
Merge pull request #18007 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-11-10 08:12:36 +08:00
Shengliang Guan
b882e45505
Merge pull request #17988 from taosdata/perf/default_buffer_size
perf: optimize write by changing default buffer size
2022-11-09 21:45:26 +08:00
Cary Xu
14dc1d3f84 Merge branch '3.0' into feat/TS-2007 2022-11-09 19:42:41 +08:00
Haojun Liao
015f1a1df8 other: merge 3.0 2022-11-09 19:17:45 +08:00
Hongze Cheng
0c92bd6e37 make pass ci 2022-11-09 18:58:35 +08:00
Cary Xu
25148268e6 enh: support wider range for future timestamp 2022-11-09 18:10:30 +08:00
Minghao Li
d672e7a05c refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:18:28 +08:00
Hongze Cheng
86ed5e5674 more optimize 2022-11-09 16:02:04 +08:00
Haojun Liao
411371ba48 refactor: do some internal refactor. 2022-11-09 14:16:21 +08:00
Haojun Liao
b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
Haojun Liao
0c427b5f5b refactor: do some internal refactor. 2022-11-09 10:39:32 +08:00
Haojun Liao
68f2f92116 fix(query): fix the syntax errors. 2022-11-09 09:07:21 +08:00
Haojun Liao
d238f387ce other: merge 3.0 2022-11-09 00:00:14 +08:00
Haojun Liao
663138ba1e enh(query): optimize the query perf. 2022-11-08 18:33:57 +08:00
dapan1121
d5874419ec
Merge pull request #17935 from taosdata/fix/TD-20246
fix: fix tsdbRead crash caused by reuse after free
2022-11-08 17:48:25 +08:00
Haojun Liao
cc3e97da36 fix(query): fix an typo. 2022-11-08 17:41:29 +08:00
Haojun Liao
6e1a2b1e54 enh(query): improve the perf. 2022-11-08 17:38:09 +08:00
Haojun Liao
f85d66f5ee enh(query): opt query perf. 2022-11-08 16:59:00 +08:00
Shengliang Guan
8f0ecd46cd
Merge pull request #17961 from taosdata/feature/stream
enh(tmq): offset commit only when needed
2022-11-08 16:08:10 +08:00
Haojun Liao
b0a54d3fab enh(query): improve the perf. 2022-11-08 14:54:42 +08:00
Liu Jicong
118e5bf5d3 enh(tmq): offset commit only when needed 2022-11-08 14:46:34 +08:00
Hongze Cheng
7bba9996cf perf: optimize insert 2022-11-08 14:36:18 +08:00
Shengliang Guan
7a5be43d14
Merge pull request #17954 from taosdata/feature/stream
fix(stream): delete tb should be checked in write thread
2022-11-08 13:50:15 +08:00
Liu Jicong
bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Shengliang Guan
dfbb958128
Merge pull request #17929 from taosdata/perf/sma_optimize
perf: optimize sma calculation
2022-11-08 10:03:12 +08:00
Shengliang Guan
1f91eef038
Merge pull request #17932 from taosdata/fix/tdb-prep-async-commit
enh(tdb): new interface of meta prep async commit
2022-11-08 09:43:36 +08:00
Minglei Jin
1a4cf6964b fix: add post commit to tq & stream 2022-11-07 20:34:23 +08:00
Shengliang Guan
e04c821292
Merge pull request #17933 from taosdata/perf/block_data_optimize
perf: optimize block data operation
2022-11-07 19:32:23 +08:00
Shengliang Guan
b0f469adb1
Merge pull request #17931 from taosdata/feature/3.0_mhli
fix(sync): when apply queue not empty, can not read
2022-11-07 18:29:53 +08:00
dapan1121
3e3354782c
Merge pull request #17930 from taosdata/enh/showWrite
enh: support grant check in vnode query
2022-11-07 17:42:15 +08:00
Ganlin Zhao
d590a38d62 fix: fix tsdbRead crash caused by reuse after free
TD-20246
2022-11-07 17:36:58 +08:00
Hongze Cheng
d52b8966fc perf: optimize block data operation 2022-11-07 16:56:35 +08:00
Minglei Jin
c17f8244be enh(tdb): new interface of meta prep async commit 2022-11-07 16:45:29 +08:00
Minghao Li
b6aea6ae17 fix(sync): when apply queue not empty, can not read 2022-11-07 16:40:53 +08:00
dapan1121
5ab6166efe enh: support grant check in vnode query 2022-11-07 16:23:40 +08:00
Hongze Cheng
70f7e3e379 perf: optimize sma calculation 2022-11-07 15:42:53 +08:00
Benguang Zhao
5878c9a31a fix: impl ring log buffer 2022-11-07 14:27:22 +08:00
Haojun Liao
be5b72b25d enh(query): add cache for table meta entry in table scan. 2022-11-07 10:17:42 +08:00
Haojun Liao
e3d0bc6bf7 other: merge 3.0. 2022-11-06 11:37:21 +08:00
Haojun Liao
d200fe5145 refactor: do some internal refactor. 2022-11-06 01:34:04 +08:00
Shengliang Guan
1c892e3e3d
Merge pull request #17894 from taosdata/fix/TD-20161
enh: adjust tqueue and tworker log
2022-11-04 19:11:13 +08:00
Haojun Liao
03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Shengliang Guan
8ce2e12423
Merge pull request #17886 from taosdata/feature/3_liaohj
fix(query): set the last key of each tablescan info
2022-11-04 18:46:17 +08:00
Shengliang Guan
2e6f75107d enh: adjust the number of vnode threads so that one vnode has one write thread 2022-11-04 17:38:35 +08:00
Shengliang Guan
fc41f43c9d fix: deadlock while drop db 2022-11-04 16:15:37 +08:00
Shengliang Guan
8886785be1
Merge pull request #17853 from taosdata/fix/liao_cov
refactor(query): do some internal  refactor.
2022-11-04 15:58:11 +08:00
Shengliang Guan
a0983cf8c1 enh: adjust tqueue and tworker log 2022-11-04 10:58:23 +08:00
Haojun Liao
0315414623 other: merge 3.0 2022-11-03 19:03:09 +08:00
Haojun Liao
4959529127 fix(query): set the last key of each tablescan info 2022-11-03 19:00:13 +08:00
Shengliang Guan
0a45e80613
Merge pull request #17875 from taosdata/fix/TD-20125-2
fix: reset last load info when close dataf reader for stt last files
2022-11-03 17:05:17 +08:00
Shengliang Guan
33d64b67ff
Merge pull request #17865 from taosdata/feature/stream
refactor(stream): stream deploy and state transfer
2022-11-03 15:24:39 +08:00
Shengliang Guan
c392abb0ad
Merge pull request #17869 from taosdata/feature/3.0_mhli
refactor(sync): add syncIsReadyForRead
2022-11-03 15:23:34 +08:00
Minglei Jin
93190003a3 fix: reset last load info when close dataf reader for stt last files 2022-11-03 15:19:21 +08:00
Minghao Li
a4b54c4f0e refactor(sync): add syncIsReadyForRead 2022-11-03 13:57:57 +08:00
Shengliang Guan
6cef3fa4fa
Merge pull request #17856 from taosdata/feature/3.0_mhli
enh(sync): add sync pre stop, local-cmd:follower-commit
2022-11-03 13:40:35 +08:00
Liu Jicong
15ad147c40 Merge branch '3.0' into feature/stream 2022-11-03 13:37:59 +08:00
Liu Jicong
2fbc8e6306 refactor(stream): stream deploy and state transfer 2022-11-03 13:22:23 +08:00
Shengliang Guan
e61829856a
Merge pull request #17852 from taosdata/fix/TD-20125
fix: set fs and last dataf reader to null when resetting
2022-11-03 11:31:34 +08:00
Haojun Liao
7a14bc05ea fix(query): fix some issues about the initialization of SColumnInfoData. 2022-11-03 10:57:05 +08:00
dapan1121
2bf5b0405d
Merge pull request #17851 from taosdata/enh/TD-19956
enh: optimize submit response message
2022-11-03 10:19:39 +08:00
Haojun Liao
9f5a0f01ea Merge branch '3.0' into fix/liao_cov 2022-11-03 10:02:23 +08:00
Haojun Liao
11c4878ca1 refactor(query): do some internal refactor. 2022-11-03 10:01:11 +08:00
Minghao Li
1a4b7622e4 enh(sync): add sync pre stop 2022-11-03 09:39:20 +08:00
Shengliang Guan
9de4bfb230
Merge pull request #17834 from taosdata/fix/liao_cov
fix(query): update the lastkey for each table during table scanning.
2022-11-03 09:29:55 +08:00
Minglei Jin
0bbe049e58 fix: set fs and last dataf reader to null when resetting 2022-11-03 09:14:51 +08:00
Haojun Liao
fc20be8699 fix(query): get if the correct rows in last block exists, and set the correct flag to denote if the last blocks index have been loaded or not. 2022-11-02 22:27:23 +08:00
dapan1121
83fc35c8ee
Merge pull request #17841 from taosdata/fix/TS-1965-new
fix: fix reverse table scan when checking if block from file overlap with skyline deletion result error
2022-11-02 17:56:09 +08:00
Ganlin Zhao
215257f7f1 fix: fix reverse table scan when checking if block from file overlap
with skyline deletion result error
2022-11-02 16:58:36 +08:00
Shengliang Guan
b5f0041af1 refact: adjust error code in vnode 2022-11-02 15:28:32 +08:00
dapan1121
ecfcf7054c enh: optimize submit response msg 2022-11-02 15:18:32 +08:00
Haojun Liao
ecad94c419 fix(query): add one more check. 2022-11-02 14:59:34 +08:00
Haojun Liao
f83b863cf9 fix(query): update the lastkey for each table during table scanning. 2022-11-02 14:36:00 +08:00
Shengliang Guan
b2e3c7800f
Merge pull request #17813 from taosdata/feature/3_liaohj
fix(query): optimize the performance of tsdbread.
2022-11-02 11:23:29 +08:00
Shengliang Guan
1c77d5381a Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-02 10:26:19 +08:00
Shengliang Guan
7a537bba09 refact: adjust sync.h and syncState 2022-11-02 10:24:55 +08:00
Haojun Liao
c3ece576f2 Merge branch '3.0' into feature/3_liaohj 2022-11-02 09:13:13 +08:00
Shengliang Guan
15308ad140
Merge pull request #17820 from taosdata/fix/msg_compat
fix(vnode): ignore unhandled msg
2022-11-02 08:37:08 +08:00
Haojun Liao
698ae90e5b fix(query): set correct value in hash map reset. 2022-11-01 23:37:51 +08:00
Haojun Liao
b610b23981 fix(query): check for null value. 2022-11-01 21:47:12 +08:00
Liu Jicong
a0910c87f7 fix(vnode): ignore unhandled msg 2022-11-01 21:23:50 +08:00
Shengliang Guan
cec6642700
Merge pull request #17811 from taosdata/feature/stream
fix(tmq): handle adding subtable for subscribing stb
2022-11-01 21:09:43 +08:00
Shengliang Guan
fee43064f7
Merge pull request #17812 from taosdata/fix/TD-20052
enh: refact sync callback func
2022-11-01 21:09:00 +08:00
Shengliang Guan
0578d034bc
Merge pull request #17810 from taosdata/fix/TD-20028
fix: remove last stt load info resetting from fs iterator
2022-11-01 19:36:12 +08:00
Liu Jicong
f0a66602da fix(taosx): set version 2022-11-01 19:28:42 +08:00
Shengliang Guan
871757240a
Merge pull request #17777 from taosdata/FIX/TS-1984-3.0
fix: fsync wal files and meta if data size not synced yet beyond a threshold
2022-11-01 18:53:10 +08:00
Haojun Liao
026b82145e Merge branch '3.0' into feature/3_liaohj 2022-11-01 18:49:51 +08:00
Haojun Liao
68db9b1cc9 fix(query): optimize the performance of tsdbread. 2022-11-01 18:48:57 +08:00
Shengliang Guan
64633e3dbb enh: refact syncMsg code 2022-11-01 18:34:09 +08:00
Liu Jicong
60bb2c18dc Merge branch '3.0' into feature/stream 2022-11-01 18:19:15 +08:00
Liu Jicong
94e7c79ca0 fix(tmq): handle adding subtable for subscribing stb 2022-11-01 18:18:26 +08:00
Minglei Jin
5ae5df1a17 Merge branch 'v3.0' into fix/long_query 2022-11-01 18:06:39 +08:00
Minglei Jin
a5052eb2d5 fix: remove last stt load info resetting from fs iterator 2022-11-01 17:29:18 +08:00
Shengliang Guan
ee63b49800 Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-01 17:11:27 +08:00
Shengliang Guan
d53ab62f00
Merge pull request #17797 from taosdata/fix/td_19618
fix: invalid read problem of tsdb path
2022-11-01 16:46:58 +08:00
Shengliang Guan
18f7d658d9
Merge pull request #17804 from taosdata/feature/3_liaohj
refactor: add some logs.
2022-11-01 16:46:24 +08:00
Shengliang Guan
a71dbd83d2
Merge pull request #17803 from taosdata/fix/TD-20052
enh: refact syncMsg code
2022-11-01 16:45:56 +08:00
Minglei Jin
ef606d3fd9 tsdb/read: first round long query for non-cache reading 2022-11-01 16:38:35 +08:00
Shengliang Guan
68f1641991
Merge pull request #17800 from taosdata/feature/stream
refactor(stream): fill history
2022-11-01 16:15:07 +08:00
Shengliang Guan
d35028ae4a enh: refact sync callback func 2022-11-01 16:10:07 +08:00
Liu Jicong
92804d317e Merge branch '3.0' into feature/stream 2022-11-01 15:47:37 +08:00
Shengliang Guan
f4dc7d0766 enh: refact sync callback func 2022-11-01 15:35:10 +08:00
Cary Xu
872085bef4 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 15:18:26 +08:00
Haojun Liao
cff5d9295e refactor: add some logs. 2022-11-01 15:00:02 +08:00
Cary Xu
65943b3712 chore: revert the code change 2022-11-01 14:51:37 +08:00
Shengliang Guan
e79e50ae36 enh: refact syncMsg code 2022-11-01 13:58:25 +08:00
Haojun Liao
b78249c548 other: merge 3.0 2022-11-01 13:52:08 +08:00
Haojun Liao
83495ed5d3 fix(query): set the correct buffer to accommodate the tag values. 2022-11-01 13:49:02 +08:00
dapan1121
801d65cb9a
Merge pull request #17789 from taosdata/fix/TD-20027-D
fix(query): set search key according to order
2022-11-01 13:48:19 +08:00
Liu Jicong
8ca5f0bd9c Merge branch '3.0' into feature/stream 2022-11-01 13:20:20 +08:00
Liu Jicong
5e253cc8ea refactor(stream): fill history 2022-11-01 11:56:14 +08:00
Cary Xu
0b6d117121 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 11:44:17 +08:00
Cary Xu
9f14c599f2 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 10:49:27 +08:00
Shengliang Guan
1724aa5638
Merge pull request #17779 from taosdata/fix/sync
refactor(sync): check msgcb, putToQueueFp NULL
2022-11-01 10:43:56 +08:00
Cary Xu
64f07523e2 Merge branch '3.0' into fix/td_19618 2022-11-01 10:02:45 +08:00
Haojun Liao
e533794cb7 Merge branch '3.0' into fix/liao_cov 2022-11-01 09:08:46 +08:00
benguang.zhao
07db554fab enh: persist wal at the beginning of vnodeCommit 2022-11-01 00:00:18 +08:00
Shengliang Guan
9bc48e2658 Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-10-31 23:42:03 +08:00
Shengliang Guan
392564cc7d enh: refact syncEnv code 2022-10-31 23:40:43 +08:00
Shengliang Guan
1c446b1bf4 Merge branch '3.0' into fix/sync 2022-10-31 23:30:24 +08:00
Shengliang Guan
e817e649c6
Merge pull request #17788 from taosdata/enh/TD-19090
enh: force drop dnode
2022-10-31 23:27:54 +08:00
Shengliang Guan
26f1e64f2a enh: force drop dnode 2022-10-31 21:33:06 +08:00
Shengliang Guan
f32d347bb8
Merge pull request #17778 from taosdata/feature/3.0_mhli
refactor(sync): add sync local cmd, step down
2022-10-31 20:05:01 +08:00
Cary Xu
8a5f94d35c fix: set search key according to order 2022-10-31 20:03:21 +08:00
Shengliang Guan
1ad604a5f9 enh: force drop dnode 2022-10-31 19:57:27 +08:00
Liu Jicong
2e640c38a2 refactor: stream and tmq message 2022-10-31 18:37:28 +08:00
Minghao Li
d246514da2 refactor(sync): check msgcb, putToQueueFp NULL 2022-10-31 18:16:58 +08:00
Haojun Liao
f29127a15e ehn(query): do some internal refactor. 2022-10-31 18:04:58 +08:00
Haojun Liao
1fa5eafa8a ehn(query): keep the time window for each block to avoid repeatly parsing the compressed data block meta info. 2022-10-31 17:49:50 +08:00
Haojun Liao
fac516a196 refactor: do some internal refactor. 2022-10-31 17:20:27 +08:00
Haojun Liao
9703ab510b enh(query): avoid parse the mapdata to improve the performance by keep the offset of each block. 2022-10-31 17:19:15 +08:00
Haojun Liao
ba37a58192 enh(query): reduce the number of malloc. 2022-10-31 15:39:16 +08:00
Haojun Liao
f38e9664f9 other:merge 3.0 2022-10-31 15:32:48 +08:00
Haojun Liao
adf085ab46 refactor: do some internal refactor. 2022-10-31 14:17:57 +08:00
Minghao Li
0b20b914bb refactor(sync): add sync local cmd 2022-10-31 14:17:26 +08:00
Haojun Liao
c11ed48937 Merge branch 'fix/liao_cov' of github.com:taosdata/tdengine into fix/liao_cov 2022-10-31 14:00:31 +08:00
Haojun Liao
f790d91b45 fix(query): check null before free resource, and some internal refactor. 2022-10-31 10:41:25 +08:00
Haojun Liao
ab2c7c575b Merge branch '3.0' into feature/3_liaohj 2022-10-30 11:18:36 +08:00
Haojun Liao
52c3777823 refactor: do some internal refactor. 2022-10-30 03:01:40 +08:00
Haojun Liao
afdb1467b7 refactor: do some internal refactor. 2022-10-29 18:27:22 +08:00
Shengliang Guan
24f31b0f72
Merge pull request #17746 from taosdata/feature/3.0_mhli
refactor(sync): adjust elect timer, add some tests
2022-10-29 17:02:19 +08:00
Haojun Liao
d583f1fab6 other: merge 3.0 2022-10-29 13:05:35 +08:00
Haojun Liao
bae6d824c2 fix(query): init blockscanInfo correctly. 2022-10-29 12:54:39 +08:00
Haojun Liao
f9aa286dc1 fix(query): fix syntax error on aarch64 2022-10-29 10:22:02 +08:00
Haojun Liao
61634070ec other: merge 3.0 2022-10-28 23:23:53 +08:00
Haojun Liao
307b7e0ac8 other: merge 3.0 2022-10-28 22:27:57 +08:00
Haojun Liao
029a4a85b3 fix(query): support partition by + limit push down. 2022-10-28 22:21:02 +08:00
Haojun Liao
9b99c69785 fix(query): support partition by + limit push down. 2022-10-28 19:56:32 +08:00
Haojun Liao
0035bb1966
Merge branch '3.0' into feature/3_liaohj 2022-10-28 19:43:47 +08:00
Haojun Liao
6ff3668ecc refactor: update the log. 2022-10-28 19:38:37 +08:00
Haojun Liao
335cb6513e other:merge 3.0 2022-10-28 19:32:57 +08:00
Haojun Liao
9ccf7addb3 other:merge 3.0 2022-10-28 18:46:08 +08:00
Liu Jicong
d058475fac
Merge pull request #17750 from taosdata/feature/stream
feat(stream): snode
2022-10-28 18:12:48 +08:00
Haojun Liao
4b2fa43dae
Revert "fix(query): handle partition by in table scan operator" 2022-10-28 18:05:19 +08:00
Haojun Liao
d0a7a43e6f other:merge 3.0 2022-10-28 18:02:50 +08:00
Haojun Liao
d103581eb8 Merge remote-tracking branch 'origin/fix/liao_cov' into fix/liao_cov 2022-10-28 17:59:20 +08:00
Haojun Liao
6c19e886df fix(query): move the init function for different reader. 2022-10-28 17:58:59 +08:00
Shengliang Guan
8a8aa3efea
Merge pull request #17723 from taosdata/enh/optQueryMem
enh: opt query mem
2022-10-28 17:09:17 +08:00
Liu Jicong
b26cc9c318 feat(snode) 2022-10-28 17:03:17 +08:00
54liuyao
7d8a282258 fix(stream):tqBuildDeleteReq error 2022-10-28 11:19:26 +08:00
Haojun Liao
2c896012df fix(query): check status before add table uid in hash map. and do some other refactor. 2022-10-28 10:43:25 +08:00
Haojun Liao
f25387018d
Merge pull request #17724 from taosdata/fix/liao_cov
fix(query): handle the case of the single block in last files.
2022-10-28 10:25:38 +08:00
Liu Jicong
9b1ba10fbc Merge branch '3.0' into feature/stream 2022-10-28 09:18:59 +08:00
Haojun Liao
70c3825ee5 fix(query): remove invalid check. 2022-10-28 09:12:40 +08:00
Haojun Liao
4774baa635 fix(query): handle the case of the single block in last files. 2022-10-27 22:43:42 +08:00
Haojun Liao
e7b59ae56d fix(query): handle the case of the single block in last files. 2022-10-27 21:51:54 +08:00
yihaoDeng
9de0afc8ea opt mem 2022-10-27 21:22:36 +08:00
yihaoDeng
6a978be730 opt mem 2022-10-27 20:38:57 +08:00
Haojun Liao
d8102fc8d8 fix(query): fix invalid number of tables check. 2022-10-27 18:58:10 +08:00
Haojun Liao
a7ca29c627 other: merge 3.0 2022-10-27 18:04:28 +08:00
dapan1121
b6326c7f14
Merge pull request #17710 from taosdata/fix/TD-19815
fix: add query heartbeat configuration
2022-10-27 17:33:27 +08:00
Haojun Liao
5a971dd03a fix(query): handle partition by in table scan operator with limit/offset value. 2022-10-27 16:58:32 +08:00
Minglei Jin
eac3847532 fix: new reseek callback to separate tsdb & cache readers 2022-10-27 16:48:33 +08:00
Liu Jicong
70311d95dd refactor(vnode): add log for failed deletion 2022-10-27 16:45:40 +08:00
Liu Jicong
5abeacc299
Merge pull request #17711 from taosdata/feature/stream
refactor(mnode): remove unused code
2022-10-27 16:41:09 +08:00
Minghao Li
bbb624b63e Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-10-27 16:22:08 +08:00
Minghao Li
7cb3112d77 refactor(sync): modify function name 2022-10-27 15:52:48 +08:00
Liu Jicong
dcf2c980c5 refactor(mnode): remove unused code 2022-10-27 15:32:20 +08:00
Minglei Jin
545607ccd2 tsdb: resolve conflicts to make table creating & writing works 2022-10-27 15:17:59 +08:00
Shengliang Guan
8b31cd87d1
Merge pull request #17706 from taosdata/feature/stream_ly
fix(stream): read preversion data with delete many times
2022-10-27 15:05:23 +08:00
54liuyao
012dd30baa fix(stream): read preversion data with delete many times 2022-10-27 14:18:48 +08:00
Shengliang Guan
a0c5cece12
Merge pull request #17697 from taosdata/feature/stream_ly
fix(stream): read preversion data for delete
2022-10-27 14:01:08 +08:00
Liu Jicong
320202e60e Merge branch '3.0' into feature/stream 2022-10-27 13:49:56 +08:00
Liu Jicong
52d8f7bd35
Merge pull request #17701 from taosdata/feature/stream
fix(query): set block capacity
2022-10-27 13:38:46 +08:00
Liu Jicong
6cd8361a0a refactor(sma) 2022-10-27 11:06:16 +08:00
54liuyao
442f89783f fix(stream): read preversion data for delete 2022-10-27 10:55:32 +08:00
Minglei Jin
7800b7731d Merge branch 'v3.0' into fix/long_query 2022-10-27 10:39:50 +08:00
Shengliang Guan
26aa0f1d37
Merge pull request #17684 from taosdata/fix/TD-19894
fix: continue to fetch next row if deleted
2022-10-27 09:50:41 +08:00
Liu Jicong
465982fd8d
Merge pull request #17681 from taosdata/feature/stream
test(wal): rollback multiple file
2022-10-27 09:05:05 +08:00
Liu Jicong
42422b7a65 fix(taosx): reset latest offset 2022-10-26 21:20:35 +08:00
dapan1121
ba0913e645 fix: remove not used code 2022-10-26 19:25:12 +08:00
Minglei Jin
cb0a3ec042 fix: continue to fetch next row if deleted 2022-10-26 18:39:04 +08:00
Liu Jicong
78ff5f75e7
Merge pull request #17663 from taosdata/feature/stream
fix: memory leak
2022-10-26 17:09:43 +08:00
Liu Jicong
4b5807c7f0 fix(tmq): set precision 2022-10-26 15:54:00 +08:00
Hongze Cheng
2afcda198b
Merge pull request #17657 from taosdata/fix/TD-19865
fix: malloc and copy binary data when inserting last & last_row
2022-10-26 11:54:41 +08:00
Liu Jicong
a16b010e9f fix: memory leak 2022-10-26 11:35:15 +08:00
Liu Jicong
b56e7a0f8c
Merge pull request #17650 from taosdata/feature/stream
refactor(stream): recover and fill history
2022-10-26 11:10:03 +08:00
Minglei Jin
89d74e5016 fix: malloc and copy binary data when inserting last & last_row 2022-10-26 10:52:35 +08:00
Haojun Liao
339c93021f
Merge pull request #17654 from taosdata/fix/liao_cov
refactor: fix typo and do  some internal  refactor.
2022-10-26 10:41:00 +08:00
Liu Jicong
8d8fd2b2bc refactor(stream): recover and fill history 2022-10-26 10:20:33 +08:00
Hongze Cheng
4b15cd5efe
Merge pull request #17621 from taosdata/fix/TD-19468-2
fix: optimize tsdb cache loading speed
2022-10-26 09:47:50 +08:00
Haojun Liao
d06bcb2219 refactor: fix typo and do some internal refactor. 2022-10-26 09:47:11 +08:00
Liu Jicong
52b4b510a8 merge 3.0 2022-10-26 09:18:29 +08:00
Minglei Jin
b52ad0f740 tsdb/cache: new separate dataf reader for last file reading 2022-10-26 08:58:38 +08:00
Liu Jicong
75e5e490fd refactor(stream): recover and fill history 2022-10-26 00:31:00 +08:00
54liuyao
796cf764f4 fix(executor):add lock to hash map 2022-10-25 17:54:01 +08:00
Minglei Jin
c84618ea3f
Merge branch '3.0' into fix/TD-19468-2 2022-10-25 17:36:56 +08:00
Haojun Liao
0a007131d1
Merge pull request #17631 from taosdata/fix/liao_cov
fix(query):set correct column match info size.
2022-10-25 17:35:19 +08:00
Shengliang Guan
7ebf2d5de0
Merge pull request #17614 from taosdata/opt/optSysIdxPerf
enh: opt sys idx perf
2022-10-25 16:25:47 +08:00
Haojun Liao
6acdfdd9ab refactor: do some internal refactor. 2022-10-25 16:20:51 +08:00
Haojun Liao
a87f915ebf fix(query):set correct column match info size. 2022-10-25 15:30:41 +08:00
Minglei Jin
441fe8119c Merge branch '3.0' into fix/TD-19468-2 2022-10-25 10:51:35 +08:00
Minglei Jin
89f7ad2920 fix: optimize tsdb cache loading speed 2022-10-25 10:36:30 +08:00
yihaoDeng
421d2e7332 opt trans on no-windows 2022-10-25 08:48:05 +08:00
yihaoDeng
afb309c557 opt sys index 2022-10-24 19:22:09 +08:00
yihaoDeng
1421268479 opt sys index 2022-10-24 18:59:12 +08:00
yihaoDeng
6ee7b412ed opt sys index 2022-10-24 18:35:59 +08:00
Haojun Liao
319cd8af85 fix(query): refactor and fix some coverity issues. 2022-10-24 15:02:17 +08:00
Haojun Liao
b06870f70f Merge branch '3.0' into fix/liao_cov 2022-10-24 14:07:59 +08:00
Haojun Liao
2f5ed16cb8 fix(query): remove redundant ts cols in cache scan. 2022-10-24 13:26:54 +08:00
Shengliang Guan
fdb6d2be11
Merge pull request #17583 from taosdata/fix/hzcheng_coverity_scan
fix: coverity scan
2022-10-24 12:40:03 +08:00
Shengliang Guan
ec786b9d78 fix: alter replica one by one 2022-10-24 11:57:26 +08:00
Hongze Cheng
801dc53e43 more fix 2022-10-24 10:51:10 +08:00
Hongze Cheng
2772749e07 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/td_19618 2022-10-24 09:19:30 +08:00
Hongze Cheng
020b71515a fix: coverity scan 2022-10-24 09:09:45 +08:00
Shengliang Guan
9903bbc527
Merge pull request #17577 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-23 23:12:36 +08:00
Haojun Liao
6ebf6b29bd fix(query): fix coverity issues. 2022-10-23 15:20:29 +08:00
Shengliang Guan
fbf354a78c Merge remote-tracking branch 'origin/3.0' into feature/sync2-merge 2022-10-23 14:40:27 +08:00
Shengliang Guan
e86cdc8cde
Merge pull request #17381 from taosdata/feature/addIdxToSysTable
Feature/addIdxToSysTable
2022-10-23 14:38:37 +08:00
yihaoDeng
17ee66cd2c fix coverity scan defeats 2022-10-23 12:25:52 +08:00
yihaoDeng
5e19f2d24a add all tab to meta 2022-10-23 11:52:11 +08:00
Shengliang Guan
ed33fcb406 fix: invalid read problem 2022-10-23 08:38:03 +08:00
Minglei Jin
214df56e39 fix: return 0 usage when pTsdb is null 2022-10-23 06:54:24 +08:00
Shengliang Guan
c0707f19dc Merge remote-tracking branch 'origin/3.0' into feature/sync2-merge 2022-10-22 23:50:41 +08:00
yihaoDeng
48604314e6 avoid invalid read/write 2022-10-22 21:19:25 +08:00
Cary Xu
cebee295e2 enh: add warn log for abnormal monitor value 2022-10-22 16:09:22 +08:00
Cary Xu
949ccc692f enh: add warn log for abnormal monitor value 2022-10-22 13:55:28 +08:00
Cary Xu
c02989f44a enh: add warn log for abnormal monitor value 2022-10-22 13:42:37 +08:00
Cary Xu
75ee92e989 enh: add warn log for abnormal monitor value 2022-10-22 13:41:52 +08:00
Cary Xu
633a989892 enh: add warn log for abnormal monitor value 2022-10-22 13:34:07 +08:00
Shengliang Guan
21445a717c Merge remote-tracking branch 'origin/3.0' into feature/sync2-merge 2022-10-22 09:07:39 +08:00
Shengliang Guan
c58a77b516 Merge remote-tracking branch 'origin/3.0' into fix/td_19618 2022-10-22 09:03:43 +08:00
Shengliang Guan
71ac720ac0 fix: compile error in mac 2022-10-22 08:47:09 +08:00
Shengliang Guan
5d293869a9
Merge pull request #17553 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-22 08:14:44 +08:00
Shengliang Guan
f5d1b3f8f1 Merge remote-tracking branch 'origin/3.0' into feature/sync2-merge 2022-10-21 19:12:06 +08:00
Shengliang Guan
922436e7d4 fix: lock mem items of tqueue 2022-10-21 19:12:03 +08:00
Liu Jicong
f49d91ac1a fix(stream): decode bloom filter 2022-10-21 17:22:31 +08:00
Hongze Cheng
08a7cbe22a Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/td_19618 2022-10-21 17:08:20 +08:00
wade zhang
88c52d567b
Merge pull request #17548 from taosdata/szhou/fixbugs
fix: get next row from rb tree from last files when backward scaning
2022-10-21 15:04:42 +08:00
Shengliang Guan
780e4a489c
Merge pull request #17528 from taosdata/fix/TD-19682-D
fix: commit txn for rsma
2022-10-21 14:15:59 +08:00
Haojun Liao
b53cc7f3dd fix(query): fix coverity issues. 2022-10-21 14:00:46 +08:00
Shengliang Guan
05d04dcd2d Merge remote-tracking branch 'origin/3.0' into enh/TD-19461 2022-10-21 11:07:48 +08:00
slzhou
416b257b5e fix: get next row from rb tree from last files when backward scaning 2022-10-21 10:54:11 +08:00
Shengliang Guan
6c3cd3e19e test: adjust log 2022-10-21 10:39:29 +08:00
yihaoDeng
38747697b2 fix create_time idx bug 2022-10-20 21:12:52 +08:00
Minghao Li
cc7a393978 refactor(sync): refactor sync 2022-10-20 19:42:22 +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
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
Hongze Cheng
0d2f56428b Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/td_19618 2022-10-20 17:33:54 +08:00
Shengliang Guan
4d318b32da refact: alter db replica 2022-10-20 16:47:03 +08:00
Minghao Li
5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Cary Xu
af4957f672 chore: code optimization for rsma 2022-10-20 16:02:51 +08:00
Cary Xu
b2b61bab96 fix: commit txn for rsma 2022-10-20 15:53:47 +08:00
Cary Xu
a92ed83dea Merge branch '3.0' into fix/TD-19254-D 2022-10-20 14:23:04 +08:00
yihaoDeng
c4f7607e8c opt sys query 2022-10-20 14:04:18 +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
12e81869bc fix(query): remove invalid free. 2022-10-20 11:52:30 +08:00
Haojun Liao
70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Hongze Cheng
2586f556cd Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_coverity_scan 2022-10-20 11:08:41 +08:00
Hongze Cheng
d9daf76710 fix: invalid read problem 2022-10-20 10:18:28 +08:00
Minglei Jin
716c3f8a59 fix: coverity issues 2022-10-20 09:47:04 +08:00
Hongze Cheng
446e8c5d6d fix: coverity scan problem 2022-10-20 09:36:15 +08:00
Cary Xu
db5f6dd61d Merge branch '3.0' into fix/TD-19254-D 2022-10-20 09:13:53 +08:00
dapan1121
991da95643 fix: fix coverity issues 2022-10-20 09:06:18 +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
Shengliang Guan
30b60002fd
Merge pull request #17459 from taosdata/FIX/TD-19593-3.0
enh: enable the -Wformat=2 compiler option
2022-10-19 23:35:22 +08:00
Shengliang Guan
228640af3b fix: compile error 2022-10-19 20:51:25 +08:00
Shengliang Guan
7db984bdc4
Merge pull request #17490 from taosdata/fix/TD-19652
rm deleted table idx
2022-10-19 20:48:46 +08:00
Cary Xu
5abfeb47ca chore: code optimization for rsma 2022-10-19 20:25:42 +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
Cary Xu
706aa1da1e chore: code optimization for rsma 2022-10-19 19:59:35 +08:00
yihaoDeng
66a3269c6b add pre check 2022-10-19 19:57:31 +08:00
Cary Xu
e997780044 chore: code optimization for rsma 2022-10-19 19:52:09 +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
yihaoDeng
9805c50b38 rm deleted table idx 2022-10-19 19:44:07 +08:00
Cary Xu
20d812fdaa chore: code optimization for rsma 2022-10-19 19:43:59 +08:00
Cary Xu
c5b5699c88 chore: code optimization for rsma 2022-10-19 19:41:15 +08:00
Shengliang Guan
985e6f53e4 Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 19:06:03 +08:00
Cary Xu
624eb89851 Merge branch '3.0' into fix/TD-19254-D 2022-10-19 18:54:11 +08:00
Minglei Jin
60b85028af fix: do not copy binary when nData is 0 2022-10-19 18:53:51 +08:00
Cary Xu
78828d4d47 enh: add more check 2022-10-19 17:58:39 +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
Cary Xu
8573fb56c8 chore: code optimization for rsma 2022-10-19 17:48:56 +08:00
Haojun Liao
b20e2ed5af fix(query): set correct last value. 2022-10-19 17:43:23 +08:00
Cary Xu
54526adcc3 fix: commit txn for rsma 2022-10-19 17:18:41 +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
Minglei Jin
6dea891571 fix: release data file reader 2022-10-19 16:07:53 +08:00
Hongze Cheng
331e62e72a
Merge pull request #17470 from taosdata/fix/hzcheng_coverity_scan
fix: coverity scan problem
2022-10-19 15:50:36 +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
Haojun Liao
116d1451e4 fix(query): do some internal refactor. 2022-10-19 15:43:58 +08:00
Minglei Jin
640338893d tsdb/cache: handle OOM exceptions 2022-10-19 15:01:49 +08:00
Minglei Jin
ceec953498 fix: copy binary type column data out 2022-10-19 14:50:36 +08:00
Minglei Jin
60d889a0fc Merge branch 'feature/3_liaohj' of https://github.com/taosdata/TDengine into feature/3_liaohj 2022-10-19 13:59:42 +08:00
Minglei Jin
a1c18bba33 fix: cache load calculation 2022-10-19 13:58:59 +08:00
Hongze Cheng
cc455b9903 fix: coverity scan problem 2022-10-19 13:40:16 +08:00
Haojun Liao
74305814f0 fix(query): fix coverity issues. 2022-10-19 13:38:01 +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
Benguang Zhao
f23018e38a fix: get a thread id for printing with taosGetPthreadId 2022-10-19 11:26:37 +08:00
Haojun Liao
f7fdeecc44
Merge branch '3.0' into feature/3_liaohj 2022-10-19 11:23:55 +08:00
Minglei Jin
467c6386ed fix: last_row array element type 2022-10-19 11:06:08 +08:00
Minghao Li
28a5a9d7e1 refactor(sync): add log, update quorum first when reconfig 2022-10-19 10:57:50 +08:00
Hongze Cheng
7aa16f8e98 more fix 2022-10-19 10:43:06 +08:00
Hongze Cheng
cebb964e31 fix more code 2022-10-19 10:33:07 +08:00
Haojun Liao
5dcd319d3b fix(query): update last_row callback function. 2022-10-19 10:07:20 +08:00
Benguang Zhao
00a066443f Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 09:38:36 +08:00
Cary Xu
39243cbb19 Merge branch '3.0' into fix/TD-19254-D 2022-10-19 09:37:55 +08:00
Cary Xu
a6e3da8045 chore: code optimization for sma commit 2022-10-19 09:37:38 +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
Hongze Cheng
864111d85c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 09:02:01 +08:00
Liu Jicong
936c78f424
Merge pull request #17440 from taosdata/feature/stream
refactor: tmq commit
2022-10-18 23:47:26 +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
Haojun Liao
d7e01b30c7 fix(query): update last_row callback function. 2022-10-18 19:13:42 +08:00
Minghao Li
4c9f10b6f3 refactor(sync): add sync ctrl queue in vnode 2022-10-18 19:12:34 +08:00
Minglei Jin
82132cdfdd meta: new metaFinishCommit api & rollback parameter with metaOpen 2022-10-18 18:34:39 +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
Haojun Liao
60e7f2800b fix(query): fix bug in cached last query. 2022-10-18 17:39:28 +08:00
Liu Jicong
ca2012a521 refactor: tmq commit 2022-10-18 16:56:07 +08:00
Hongze Cheng
0ca2d9e970 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-18 16:55:29 +08:00
Hongze Cheng
0706f2dea2 more code 2022-10-18 16:54:53 +08:00
dapan1121
0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00
Hongze Cheng
1779c17375 more code 2022-10-18 16:22:06 +08:00
Cary Xu
4c6623d3dd chore: remove obsolete file 2022-10-18 15:47:36 +08:00
Cary Xu
c528ae010f Merge branch '3.0' into fix/TD-19254-D 2022-10-18 15:42:52 +08:00
Cary Xu
0f5f0d7cfb chore: remove codes unused currently for sma 2022-10-18 15:42:28 +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
Hongze Cheng
40c7fed80d more code 2022-10-18 14:00:12 +08:00
Minghao Li
e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Hongze Cheng
5d51fdc663 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-18 13:50:55 +08:00
Hongze Cheng
6c1149f086 more code 2022-10-18 13:50:32 +08:00
Liu Jicong
12e5aa76a1
Merge pull request #17424 from taosdata/feature/stream
fix: memory leak
2022-10-18 13:48:16 +08:00
Hongze Cheng
b7342525c7 more code 2022-10-18 13:38:26 +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
Liu Jicong
44401b6b90 fix: memory leak 2022-10-18 10:58:33 +08:00
Shengliang Guan
9490075f9c
Merge pull request #17412 from taosdata/feature/TD-19148-D
fix: coverity scan of dead code when print submit msg
2022-10-18 09:52:17 +08:00
Shengliang Guan
1c245904d7
Merge pull request #17406 from taosdata/feature/stream
refactor(stream): optimize auto create child table
2022-10-17 23:00:02 +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
80a8858fe1 fix invalid packet 2022-10-17 20:10:57 +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
Liu Jicong
77c4c8fd88 test: fix failed case 2022-10-17 19:47:34 +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
Cary Xu
5d5c0b876c fix: coverity scan of deadcode when print submit msg 2022-10-17 18:42:07 +08:00
Minglei Jin
109d50a4cc fix: last row array form bug 2022-10-17 18:13:38 +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
Haojun Liao
2c656a2cdc Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2022-10-17 17:22:04 +08:00
Minglei Jin
b62fa20b53 tsdb/cache: return last row as array of SLastCol 2022-10-17 17:20:32 +08:00
Liu Jicong
bcae6e1f4e refactor(stream): optimize auto create child table 2022-10-17 17:18:57 +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
4639051e68 fix(query): fix coverity issues. 2022-10-17 16:03:45 +08:00
Liu Jicong
7467a54a16
Merge pull request #17396 from taosdata/fix/client_mem_leak
fix: client mem leak
2022-10-17 16:01:53 +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
Liu Jicong
73662b3058 refactor: table sink 2022-10-17 14:48:56 +08:00
Liu Jicong
eb26fbeaf2
Merge pull request #17385 from taosdata/feature/stream
fix: error handling
2022-10-17 14:21:18 +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
Liu Jicong
980fdd6e91 fix: error handling 2022-10-17 10:27:15 +08:00
Hongze Cheng
ef06a9d265 fix more coverity scan problem 2022-10-17 09:58:34 +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
Haojun Liao
bcb3d41d08 fix(query): fix coverity issues. 2022-10-16 13:46:21 +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
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
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
Hongze Cheng
7e174e347e fix more issue 2022-10-15 11:20:37 +08:00
Benguang Zhao
3af05070cf fix: assert on availability of inUse SVBufPool for vnode 2022-10-14 22:58:56 +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
Minglei Jin
b8dfe8707f fix(tsdb): checksum checking shall skip page 1 when loading 2022-10-14 18:58:07 +08:00
Minglei Jin
3f46bd64b9 fix: dismiss some coverity scan issues 2022-10-14 17:47:21 +08:00
Minglei Jin
977fc4b15c fix(tsdb/cache): release lock when table's empty 2022-10-14 15:28:19 +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
Liu Jicong
cface2840e
Merge pull request #17349 from taosdata/feature/stream
fix(tmq): push msg
2022-10-14 14:18:17 +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
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
Minglei Jin
3a0ea21342 fix: get SLastCol from array instead of SColVal 2022-10-13 19:54:25 +08:00
Shengliang Guan
5a5cdb318c
Merge pull request #17342 from taosdata/fix/TD-19468
fix: close merge tree for each file set
2022-10-13 19:12:33 +08:00
yihaoDeng
681b973cae add index to ins_tables 2022-10-13 18:53:04 +08:00
Minglei Jin
66962bdddc fix: close merge tree for each file set 2022-10-13 18:12:26 +08:00
Hongze Cheng
5f010843a6 more code format 2022-10-13 16:58:43 +08:00
Haojun Liao
18740e7b48 other:merge 3.0, and support last query cache 2022-10-13 15:35:51 +08:00
Haojun Liao
260ca17337
Merge pull request #17331 from taosdata/feature/3_liaohj
fix(query):set the correct active block index and add some logs.
2022-10-13 15:30:29 +08:00
Minghao Li
733440b352 refactor(sync): add double queues in vnode 2022-10-13 14:37:18 +08:00
Liu Jicong
7f8d2ff56d
Merge pull request #17328 from taosdata/feature/stream
refactor(stream): set state buffer size
2022-10-13 14:24:31 +08:00
Haojun Liao
f5f0a7026f other: merge 3.0 2022-10-13 14:20:51 +08:00
Haojun Liao
ab5bff4f37
Merge branch '3.0' into feature/3_liaohj 2022-10-13 14:06:26 +08:00
Hongze Cheng
3950c8fc24
Merge pull request #17326 from taosdata/refact/code_format
refact: code format
2022-10-13 13:35:17 +08:00
Hongze Cheng
bd2546a765
Merge pull request #17303 from taosdata/fix/TD-19482
fix(meta): META_READER_NOLOCK with inner meta readers
2022-10-13 13:19:57 +08:00
Minglei Jin
060eb307a9 fix(mac): new metaReaderReleaseLock api to keep reader's buffer 2022-10-13 12:02:18 +08:00
Haojun Liao
3d9e284913 other:merge 3.0 2022-10-13 12:01:47 +08:00
Haojun Liao
fbd3aac007 fix(query):set the correct active block index and add some logs. 2022-10-13 11:59:14 +08:00
Hongze Cheng
6ed0634fb7 format more code 2022-10-13 11:56:16 +08:00
Liu Jicong
d507678b35 refactor(stream): set state buffer size 2022-10-13 11:18:02 +08:00
Shengliang Guan
2db7ea4b16
Merge pull request #17310 from taosdata/fix/TD-19223-D
enh: code optimization for insert_req statistics
2022-10-13 10:56:26 +08:00
Minghao Li
3416ee66d8 fix(sync): enqueue timer msg 2022-10-12 15:35:15 +08:00
Hongze Cheng
69b7348efc
Merge pull request #17316 from taosdata/feat/tdlite
refact: adjust some code for further dev
2022-10-12 15:05:53 +08:00
Liu Jicong
a596b5486c
Merge pull request #17295 from taosdata/feature/stream
chore: add demo for stream user defined table name
2022-10-12 14:32:44 +08:00
Hongze Cheng
8370eed0ab Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite 2022-10-12 13:39:44 +08:00
Minglei Jin
6c77cfc817 fix: need rlock to get schema without the outter stable's locking 2022-10-12 11:21:02 +08:00
Cary Xu
488b4f31fd enh: code optimization for insert_req statistics 2022-10-12 10:51:18 +08:00
Liu Jicong
69352e6e89 fix tbanme length check 2022-10-12 10:50:54 +08:00
Cary Xu
553394ca7f enh: code optimization for insert_req statistics 2022-10-12 10:47:31 +08:00
Cary Xu
0d50e5933b enh: code optimization for insert_req statistics 2022-10-12 10:46:18 +08:00
Cary Xu
0691d7ff9a enh: code optimization for insert_req statistics 2022-10-12 10:40:50 +08:00
Hongze Cheng
2d45b5a449 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite 2022-10-12 10:03:58 +08:00
Hongze Cheng
c79fd325bd
Merge pull request #17299 from taosdata/fix/TD-19332
fix: use stable stats cache to get ctbNum
2022-10-12 10:02:21 +08:00
Haojun Liao
d3b37ef294 other:merge 3.0 2022-10-11 22:56:54 +08:00
Hongze Cheng
c4c6ce9b15 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite 2022-10-11 21:53:49 +08:00
Shengliang Guan
58b0ca6efe
Merge pull request #17273 from taosdata/fix/TD-19223-D
fix: support statistics of insert_req
2022-10-11 20:54:38 +08:00
Minglei Jin
0d52e92210 fix(meta): META_READER_NOLOCK with inner meta readers 2022-10-11 20:18:08 +08:00
Minglei Jin
5307458666 fix: pack stb list into array to release reader lock 2022-10-11 19:17:05 +08:00
Cary Xu
3734dd32b0 chore: code optimization for insert_req statistics 2022-10-11 18:32:02 +08:00
Cary Xu
114ae8dbda fix: support statistics of insert_req 2022-10-11 18:22:29 +08:00
Haojun Liao
cee7185450 fix(query): update the copy function. 2022-10-11 18:02:46 +08:00
Minglei Jin
de113ccf5f fix: use stable stats cache to get ctbNum 2022-10-11 17:50:42 +08:00
Cary Xu
6680ed32d2 chore: code format revert 2022-10-11 17:50:26 +08:00
Cary Xu
02979f081d fix: support statistics of insert_req 2022-10-11 17:47:23 +08:00
Minglei Jin
25b279dd7a meta/cache: a new cache for stable's ctbNum 2022-10-11 17:00:49 +08:00
Hongze Cheng
c310d4a177 more code 2022-10-11 16:43:01 +08:00
Shengliang Guan
e1ef696a09 Merge remote-tracking branch 'origin/3.0' into fix/TD-19441 2022-10-11 16:24:07 +08:00
Shengliang Guan
dbae9a47da fix: check memory while alter db buffer 2022-10-11 16:23:23 +08:00
Hongze Cheng
1a8877c787 more code 2022-10-11 16:15:38 +08:00
Liu Jicong
11ca4ddf8c
Merge pull request #17288 from taosdata/feature/stream
refactor(stream): state/session map id to tbname
2022-10-11 16:07:22 +08:00
Cary Xu
7da3ed2748 fix: support statistics of insert_req 2022-10-11 15:36:35 +08:00
Liu Jicong
26fae13c61 refactor(stream): state/session map id to tbname 2022-10-11 15:27:56 +08:00
Hongze Cheng
b412f19e73 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite 2022-10-11 13:27:50 +08:00
Liu Jicong
596ea98c2f
Merge pull request #17281 from taosdata/feature/stream
refactor(stream)
2022-10-11 09:27:49 +08:00
Liu Jicong
fbfae317b3 refactor 2022-10-11 02:09:15 +08:00
Hongze Cheng
8fbf4af35f more code 2022-10-10 21:30:23 +08:00
Hongze Cheng
dfc91a38b0 more code 2022-10-10 21:29:36 +08:00
Hongze Cheng
6c097be04e more code 2022-10-10 18:29:14 +08:00
Cary Xu
fe115ab02e fix: support statistics of insert_req 2022-10-10 18:20:53 +08:00
Hongze Cheng
4eecd7fd4a more code 2022-10-10 18:17:58 +08:00
Minglei Jin
8f61346d29 meta/cache: separate entry cache to parepare for a new stats cache 2022-10-10 18:07:09 +08:00
Shengliang Guan
f0a7430238
Merge pull request #17263 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-10-10 16:13:27 +08:00
Shengliang Guan
f9df999a05
Merge pull request #17262 from taosdata/fix/TD-19416
fix(query): new META_READER_NOLOCK flag for metaReaderInit
2022-10-10 15:55:20 +08:00
Haojun Liao
7c3ddc4920 other:merge 3.0 2022-10-10 15:35:38 +08:00
Minglei Jin
9a410b96ef fix(query): new META_READER_NOLOCK flag for metaReaderInit 2022-10-10 15:04:33 +08:00
Haojun Liao
68842b9c64 refactor: do some internal refactor. 2022-10-10 14:55:58 +08:00
Shengliang Guan
66a5f6cc8d
Merge pull request #17255 from taosdata/feature/stream
fix: coverity scan
2022-10-10 13:44:07 +08:00
Shengliang Guan
6fbde2d119
Merge pull request #17254 from taosdata/fix/TD-19416
fix(meta): use rwlock to favor writers
2022-10-10 11:49:38 +08:00
Liu Jicong
b1594a6857 fix coverity scan 2022-10-10 11:44:17 +08:00
Shengliang Guan
4084140fa0
Merge pull request #17252 from taosdata/fix/TD-19254-D
fix: coverity scan for sma and tfs
2022-10-10 11:24:37 +08:00
Minglei Jin
997dfb41d9 fix(meta): use rwlock to favor writers 2022-10-10 11:00:55 +08:00
Cary Xu
6b984ab448 fix: coverity scan for sma and tfs 2022-10-10 10:23:57 +08:00
Cary Xu
37c2fd5b08 fix: coverity scan for sma and tfs 2022-10-10 10:16:00 +08:00
Liu Jicong
86d80ad478
Merge pull request #17244 from taosdata/feature/stream
feat(stream): support define table name (DO NOT MERGE)
2022-10-10 10:05:33 +08:00
Liu Jicong
57d1406096 add tbname column into stream special block 2022-10-09 22:49:37 +08:00
Shengliang Guan
edaf09403f
Merge pull request #17247 from taosdata/feature/3_liaohj
fix(query): fix the last block search error for ordinary table.
2022-10-09 20:52:00 +08:00
Haojun Liao
a356b4eb7c fix(query): fix the last block search error for ordinary table. 2022-10-09 18:55:01 +08:00
Shengliang Guan
b4c53d8345
Merge pull request #17237 from taosdata/feat/alter_pages_buffer
feat: alter pages buffer
2022-10-09 17:29:34 +08:00
Liu Jicong
eafe8666f7 merge 3.0 2022-10-09 17:00:18 +08:00
Liu Jicong
2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
Haojun Liao
5402f6bc26 enh(query): opt query perf when handling the query of last files. 2022-10-09 15:25:42 +08:00
Hongze Cheng
2015db5756 alter pages 2022-10-09 15:01:20 +08:00
Haojun Liao
c5e094efd0 enh(query): optimize the perf for ordinary table query with data in last file. 2022-10-09 14:34:10 +08:00
Hongze Cheng
6825d2a143 alter vnode buffer 2022-10-09 13:55:14 +08:00
Hongze Cheng
ee56c50069 more code 2022-10-09 13:52:44 +08:00
yihaoDeng
27003dfaa5 fix invalid tag value 2022-10-08 15:48:52 +08:00
yihaoDeng
c62b1985d7 fix invalid tag value 2022-10-05 18:32:30 +08:00
yihaoDeng
16c1473823 enh(query): opt get table meta 2022-10-01 13:49:30 +08:00
Haojun Liao
fac464792d other:merge 3.0 2022-09-30 17:54:03 +08:00
Haojun Liao
7674fa972c
Merge pull request #17184 from taosdata/feature/3_liaohj
fix(query): fix memory leak in last_row query
2022-09-30 17:51:45 +08:00
Haojun Liao
877c707ce6 fix(query): fix memory leak in last_row query 2022-09-30 17:10:55 +08:00
Shengliang Guan
b77a62dcd8
Merge pull request #17183 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-09-30 16:46:07 +08:00
Shengliang Guan
3442d14f58
Merge pull request #17182 from taosdata/enh/optTbnameINMem
fix(query): fix mem leak
2022-09-30 16:45:39 +08:00
Hongze Cheng
856c990fbc
Merge pull request #17102 from taosdata/feat/stream_compression
feat: stream compression
2022-09-30 16:17:19 +08:00
Haojun Liao
4b1e8e0cec fix(query): fix memory leak. 2022-09-30 16:02:28 +08:00
yihaoDeng
90c6116373 fix mem leak 2022-09-30 15:42:58 +08:00
Shengliang Guan
084414bebc
Merge pull request #17173 from taosdata/fix/TD-19245
fix: coverity issues
2022-09-30 15:42:46 +08:00
Haojun Liao
6faf1af5f5 fix(query): handle the block read case. 2022-09-30 14:44:42 +08:00
Shengliang Guan
dfb2b0678f fix: coverity issues 2022-09-30 14:03:46 +08:00
Hongze Cheng
7754471aaa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-30 13:50:01 +08:00
Haojun Liao
f8a84a1d19 other:merge 3.0 2022-09-30 13:47:21 +08:00
Haojun Liao
1f57a5a1cc
Merge pull request #17172 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-09-30 13:45:01 +08:00
Haojun Liao
c9286fed25 fix(query): fix memory leak. 2022-09-30 13:03:25 +08:00
Hongze Cheng
145abcb17f more 2022-09-30 10:52:17 +08:00
Hongze Cheng
be482feacc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-30 10:32:10 +08:00
yihaoDeng
f41b494ac6 opt tbname in 2022-09-30 10:19:56 +08:00
Shengliang Guan
e6ac8ed3a9
Merge pull request #17121 from taosdata/szhou/fixbugs
enhance: optimize when select from ins_tags when table_name='xxxx'
2022-09-30 09:39:27 +08:00
yihaoDeng
0d3da10954 fix invalid read 2022-09-30 09:31:19 +08:00
yihaoDeng
d74779805a opt tbname in 2022-09-29 23:13:54 +08:00
Shengliang Guan
3be4a2ed9c Merge remote-tracking branch 'origin/3.0' into fix/TD-19245 2022-09-29 19:42:09 +08:00
Shengliang Guan
e94646ca70 fix: coverity issues 2022-09-29 19:41:54 +08:00
Hongze Cheng
d60ec735ca Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-29 17:07:58 +08:00
Hongze Cheng
bdeb1ebcc5 compare 2022-09-29 17:06:18 +08:00
Shengliang Guan
752e13f94c Merge branch 'fix/TD-19325' into feature/tq 2022-09-29 14:52:08 +08:00
Shengliang Guan
c56dd86399 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:29:30 +08:00
Liu Jicong
586175ecfa check vnode status for poll msg 2022-09-29 14:25:56 +08:00
Shengliang Guan
4df3303514 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:24:45 +08:00
Liu Jicong
d41ce958f3 Merge branch 'fix/TD-19325' into feature/tq 2022-09-29 14:21:08 +08:00
Shengliang Guan
f14d00a5d6 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:19:43 +08:00
Shengliang Guan
7e85a15c31 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:18:20 +08:00
Shengliang Guan
4223be379a fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:15:26 +08:00
Shengliang Guan
ee484470f3 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:13:44 +08:00
Liu Jicong
0c48581c86 check push ver 2022-09-29 13:52:09 +08:00
Hongze Cheng
cb554920aa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-29 13:23:20 +08:00
Hongze Cheng
768ec8942a fix code 2022-09-29 13:23:12 +08:00
Liu Jicong
bb1165f1e9 optimize projection return 2022-09-29 12:14:41 +08:00
dapan1121
95b6d3f67f
Merge pull request #17132 from taosdata/fix/TD-19310
fix: fix rows missed in query result issue
2022-09-29 11:41:52 +08:00
yihaoDeng
88ac809f87 Merge branch '3.0' of https://github.com/taosdata/TDengine into dv3 2022-09-29 11:09:02 +08:00
yihaoDeng
5b4d0eaabe enh: opt tbname in 2022-09-29 11:07:32 +08:00
Hongze Cheng
f12449b1b8 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-29 10:20:36 +08:00
Shengliang Guan
44b8d659ba
Merge pull request #17130 from taosdata/FIX/TD-19260-3.0
enh: improve error handling in syncNodeOpen instead of using assert, with allocated resources cleaned up properly
2022-09-29 09:23:28 +08:00
Liu Jicong
a2a8fe0211 rsp consumer when taosd stop 2022-09-29 01:37:45 +08:00
Hongze Cheng
90915f1da3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-29 00:02:42 +08:00
Liu Jicong
b0a46942c2 rsp to consumer if offset move forward 2022-09-28 23:47:47 +08:00
Liu Jicong
fab0adde99 fix memory error 2022-09-28 23:06:45 +08:00
yihaoDeng
1286f7473c QRY: opt tbname in 2022-09-28 22:07:16 +08:00
Liu Jicong
057edd92c3
Merge branch '3.0' into feature/tq 2022-09-28 20:27:09 +08:00
Liu Jicong
cde4085a6d optimize msg batch 2022-09-28 20:24:02 +08:00
Shengliang Guan
4ca305fd7a
Merge pull request #17131 from taosdata/fix/TD-19254-D
fix: coverity scan for sma
2022-09-28 20:22:58 +08:00
dapan1121
45fb658cec fix: fix rows missed in query result issue 2022-09-28 19:06:43 +08:00
Cary Xu
bf377943e0 fix: api parameters 2022-09-28 18:56:57 +08:00
Cary Xu
9e49eb03e4 fix: coverity scan for sma 2022-09-28 18:54:39 +08:00
Haojun Liao
5a2c583c32 other:merge 3.0 2022-09-28 18:00:04 +08:00
Hongze Cheng
12371d344b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-28 17:49:16 +08:00
Shengliang Guan
53bfdf7bbb
Merge pull request #17117 from taosdata/revert-17106-feature/TD-18581-D
Revert "enh(tsdb): data migrate should not block data r/w and commit"
2022-09-28 17:43:21 +08:00
Benguang Zhao
4b4f7a44f4 fix: resolve memory leak in vnodeOpen when vnodeSyncOpen failure 2022-09-28 17:40:10 +08:00
Haojun Liao
71e3993185
Merge pull request #17114 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-28 17:36:01 +08:00
slzhou
00fc74acc9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-09-28 16:39:33 +08:00
slzhou
99bc329384 enhance: optimize select from ins_tags where table_name='tablename' without iterating through meta tdb 2022-09-28 16:30:40 +08:00
Cary Xu
1fe66cb846
Revert "enh(tsdb): data migrate should not block data r/w and commit" 2022-09-28 15:50:29 +08:00
Liu Jicong
01c94a775b feat(tmq): push optimization 2022-09-28 14:55:19 +08:00
Hongze Cheng
a4d426aa13 more fix 2022-09-28 13:39:48 +08:00
Benguang Zhao
b71a9e3483 enh: improve error handling in syncNodeOpen 2022-09-28 13:34:13 +08:00
Cary Xu
d3c335a06e chore: fs merge optimization for data migrate 2022-09-28 12:56:17 +08:00
Haojun Liao
14412f2811 refactor(query): do some internal refactor. 2022-09-28 11:16:52 +08:00
Liu Jicong
1ad4d16373 Merge branch '3.0' into feature/tq 2022-09-28 10:57:59 +08:00
Haojun Liao
04f087793e refactor(query): do some internal refactor. 2022-09-28 10:54:54 +08:00
Liu Jicong
0e8aaf4c9e feat(tmq): push optimization 2022-09-28 10:38:49 +08:00
Cary Xu
b78a39ced1 fix: resource release when end commit 2022-09-28 09:47:51 +08:00
Cary Xu
0841442db6 feat: logic optimization for data migration 2022-09-28 07:41:38 +08:00
Hongze Cheng
18f3bd53c5 fix code 2022-09-27 23:34:06 +08:00
Cary Xu
11d6db5ab2 Merge branch '3.0' into feature/TD-18581-D 2022-09-27 19:29:59 +08:00
Haojun Liao
59b7435170 fix(query): fix memory copy 2022-09-27 19:17:35 +08:00
Hongze Cheng
8bd8ff1523 more code 2022-09-27 18:59:29 +08:00
Haojun Liao
7818bed189 Merge branch 'feature/3_liaohj' into refact/query_opt 2022-09-27 18:51:42 +08:00
Haojun Liao
c565c4cb63 fix(query): remove the primary timestamp column in the required column list. 2022-09-27 18:50:51 +08:00
Cary Xu
ddf121496f chore: adjust debug log 2022-09-27 18:42:42 +08:00
Haojun Liao
e2fa878136 other:merge 3.0 2022-09-27 18:39:03 +08:00
Haojun Liao
398c23edec enh(query): only load the required columns. 2022-09-27 18:37:02 +08:00
Cary Xu
8943fd2fc2 chore: log optimization for data migrate 2022-09-27 18:16:48 +08:00
Haojun Liao
4058ae1f9b Merge branch '3.0' into feature/3_liaohj 2022-09-27 18:16:26 +08:00
Haojun Liao
bd6cf3137f other:merge 3.0 2022-09-27 18:12:54 +08:00
Haojun Liao
1b3721b42e
Merge pull request #17078 from taosdata/enh/load_by_column
enh: load by col opt
2022-09-27 18:07:34 +08:00
Hongze Cheng
a53575a152 more code 2022-09-27 17:57:57 +08:00
Cary Xu
70f2c68570 chore: code format 2022-09-27 17:57:44 +08:00
Cary Xu
b7253d8814 chore: code optimization for tsdb commit 2022-09-27 17:55:01 +08:00
Cary Xu
6536ad72a6 chore: update file naming for tsdb retention 2022-09-27 17:48:09 +08:00
Cary Xu
5c61e5da3e Merge branch '3.0' into feature/TD-18581-D 2022-09-27 17:43:52 +08:00
Cary Xu
c426fa8bb1 feat: code optimization for data migrate 2022-09-27 17:43:33 +08:00
Hongze Cheng
a4d16f1c00 more code 2022-09-27 17:36:02 +08:00
Hongze Cheng
dc0d687a06 make it compile 2022-09-27 16:26:16 +08:00
Hongze Cheng
e17c65fd82 Merge branch 'enh/load_by_column' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-27 16:22:42 +08:00
Haojun Liao
144a0c573b fix(query): set schema info for inner reader. 2022-09-27 16:17:03 +08:00
Hongze Cheng
faea22cc56 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-27 15:40:48 +08:00
Hongze Cheng
3bd6808335 fix coredump 2022-09-27 15:37:00 +08:00
Haojun Liao
a70a657f5f fix(query): initialize array list 2022-09-27 14:43:57 +08:00
Cary Xu
3d92b6c6f9 chore: remove debug logs when migrate 2022-09-27 14:33:17 +08:00
Cary Xu
024f6a2149 chore: send file with specified speed 2022-09-27 14:30:53 +08:00
Cary Xu
43c954b6e7 chore: data migration support specify max speed 2022-09-27 14:27:18 +08:00
Haojun Liao
dbf7d01a84 fix(query): set the correct uid. 2022-09-27 14:01:17 +08:00
Haojun Liao
cbe91fd4c3 fix(query): initialize the blockdata before load last block. 2022-09-27 13:48:53 +08:00
Shengliang Guan
c16f4ae3f7
Merge pull request #17037 from taosdata/fix/TD-19220
fix: do not send ttl msg on taosd startup
2022-09-27 11:24:03 +08:00
Hongze Cheng
4bfdfe89a5 adjust api 2022-09-27 11:02:04 +08:00
Haojun Liao
aa055abd7c refactor:do some internal refactor. 2022-09-27 10:52:55 +08:00
Cary Xu
6c682daf42 Merge branch '3.0' into feature/TD-18581-D 2022-09-27 10:33:51 +08:00
Hongze Cheng
bba042124f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-27 09:27:02 +08:00
Shengliang Guan
1e5dc921e0 fix: set wal apply version on vnode reopen 2022-09-26 20:32:02 +08:00
Hongze Cheng
19529d6606 fix: wrong file corrupt report 2022-09-26 18:57:14 +08:00
Cary Xu
9169c90f8d fix: migrate logic for multi-tier storage 2022-09-26 18:29:08 +08:00
Haojun Liao
927478bff6 refactor(query): do some internal refactor. 2022-09-26 15:55:26 +08:00
Haojun Liao
54712ae302 other:merge 3.0 2022-09-26 14:50:51 +08:00
Hongze Cheng
08feade5fe more code 2022-09-26 14:24:35 +08:00
Hongze Cheng
30937189aa refact more code 2022-09-26 14:10:58 +08:00
Cary Xu
f8702c03e7 Merge branch '3.0' into feature/TD-18581-D 2022-09-26 14:06:33 +08:00
Cary Xu
d4fb75df8b chore: merge 3.0 and migrate fix for multi-tier storage 2022-09-26 14:02:57 +08:00
Hongze Cheng
6cb7bd2f23 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-26 13:43:39 +08:00
Haojun Liao
5c1f55f6ca other:merge 3.0 2022-09-26 11:35:19 +08:00
Haojun Liao
4ebee6b232 refactor(query): do some internal refactor. 2022-09-26 11:22:26 +08:00
Hongze Cheng
efacafde33 refact more code 2022-09-26 10:47:24 +08:00
Cary Xu
b101e425c3 chore: more logic for migrate with speed limited 2022-09-25 22:30:48 +08:00
Hongze Cheng
f24c8fbe56 make it compile 2022-09-23 19:03:29 +08:00
Cary Xu
132425b194 chore: remove obsolete codes 2022-09-23 19:00:38 +08:00
Hongze Cheng
1a0dcddd62 Merge branch 'enh/cv_optimize' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-23 18:59:13 +08:00
Cary Xu
ed2b3678a6 feat(tsdb): migrate support speed limit 2022-09-23 18:57:13 +08:00
Hongze Cheng
f0fea204f2 enh: col value optimize 2022-09-23 18:55:27 +08:00
Hongze Cheng
14b0b458e7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-23 18:07:19 +08:00
Hongze Cheng
b682fdd261 more code 2022-09-23 17:57:38 +08:00
Cary Xu
797b9376e7 chore: code optimization for fs destroy 2022-09-23 17:27:48 +08:00
Hongze Cheng
8ff1eb41d1 more code 2022-09-23 17:13:14 +08:00
Hongze Cheng
65f8c4c535 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-23 16:46:09 +08:00
Hongze Cheng
da2150a15b more code 1 2022-09-23 16:45:38 +08:00
Cary Xu
e792c66307 Merge branch '3.0' into feature/TD-18581-D 2022-09-23 16:42:47 +08:00
Cary Xu
b8ea469aff enh(tsdb): data migrate should not block data r/w and commit 2022-09-23 16:42:36 +08:00
dapan1121
dc0e36f742
Merge branch '3.0' into enh/clientPolicy 2022-09-23 16:41:18 +08:00
Shengliang Guan
25138d83ea
Merge pull request #17030 from taosdata/fix/TD-19216
fix: rand time series calculation to dismiss false offline
2022-09-23 16:25:15 +08:00
Minglei Jin
78a0d513d9 fix: rand time series calculation to dismiss false offline 2022-09-23 15:42:04 +08:00
Liu Jicong
1740c1d215
Merge pull request #17026 from taosdata/feature/tq
fix(tmq): save ntb check to another tb
2022-09-23 15:39:33 +08:00
Haojun Liao
74ca7abf95
Merge pull request #17027 from taosdata/feature/3_liaohj
fix(query): update remove check condition.
2022-09-23 15:11:55 +08:00
Haojun Liao
be3459d882 fix(query): update remove check condition. 2022-09-23 14:34:40 +08:00
Haojun Liao
4935b8f391 fix(query): update check. 2022-09-23 14:33:52 +08:00
Liu Jicong
3e0e7a87be fix(tmq): save ntb check to another tb 2022-09-23 14:30:47 +08:00
Hongze Cheng
d1ba9a2c03 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-23 13:54:04 +08:00
dapan1121
3fb3aa7bea Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-23 13:33:11 +08:00
Hongze Cheng
2ba8be78a7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-23 10:58:15 +08:00
Hongze Cheng
9624073d84 refact more code 2022-09-23 10:46:05 +08:00
Hongze Cheng
d789fe6ac8 refact commit code 2022-09-23 10:40:54 +08:00
Liu Jicong
7bcb5992e4 merge 3.0 2022-09-23 10:40:08 +08:00
Cary Xu
f0a379480b Merge branch '3.0' into feature/TD-18581-D 2022-09-23 06:41:28 +08:00
Hongze Cheng
1cac65d8c0 refact more code 2022-09-22 19:08:33 +08:00
Hongze Cheng
1bab3c1b4d optimize more code 2022-09-22 18:24:24 +08:00
Cary Xu
49f98d16e0 Merge branch '3.0' into feature/TD-18581-D 2022-09-22 17:25:15 +08:00
Cary Xu
9ddbe54d0d Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-22 17:25:13 +08:00
Hongze Cheng
11d41db7f8 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-22 17:09:50 +08:00
Haojun Liao
c9bc7c3972 fix(query): update check condition. 2022-09-22 16:16:33 +08:00
Haojun Liao
092805b41f fix(query): update check condition. 2022-09-22 15:41:58 +08:00
Haojun Liao
6bd5cbbfc3 fix(query): set correct page id list. 2022-09-22 15:24:33 +08:00
Haojun Liao
7ee2449a73 Merge branch '3.0' into feature/3_liaohj 2022-09-22 14:03:17 +08:00
Hongze Cheng
a3cedbf1bc more code 2022-09-22 13:49:34 +08:00
Hongze Cheng
9f7771cde4 refact more code 2022-09-22 11:52:47 +08:00
Haojun Liao
976b36631e fix(query): keep last key for interp query. 2022-09-22 10:31:17 +08:00
Cary Xu
21629cc707 fix: adjust the destroy order of rsma stat 2022-09-22 09:14:36 +08:00
Cary Xu
26b9a07e7f other: merge 3.0 2022-09-22 09:09:35 +08:00
Liu Jicong
7ade2b3b8d fix double free in sma 2022-09-21 18:54:49 +08:00
Hongze Cheng
a8b919918f more code 2022-09-21 17:58:44 +08:00
Hongze Cheng
0929326c1d more code 2022-09-21 17:13:45 +08:00
Hongze Cheng
f8619dfbe8 refact code for further refact 2022-09-21 15:28:04 +08:00
Hongze Cheng
e12ac1dd6f more code 2022-09-21 15:00:32 +08:00
Hongze Cheng
f51c86430a more code 2022-09-21 14:50:14 +08:00
Hongze Cheng
b9a248d702 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-21 14:04:34 +08:00
Hongze Cheng
ce9afbae19 more code 2022-09-21 14:02:52 +08:00
Xiaoyu Wang
2a978bae09 Merge remote-tracking branch 'origin/3.0' into refact/query_opt 2022-09-21 13:58:34 +08:00
Liu Jicong
72fba5a8ce fix(stream): check delete uid 2022-09-21 11:54:44 +08:00
Hongze Cheng
8ffc7e9f3e more code 2022-09-21 11:28:20 +08:00
Hongze Cheng
2b6001b312 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-21 11:08:19 +08:00
Hongze Cheng
b4a43079fb more code 2022-09-21 11:03:08 +08:00
Hongze Cheng
1549819b91 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-21 09:33:03 +08:00
Hongze Cheng
750a1a8d86 more code 2022-09-20 18:56:36 +08:00
Minghao Li
dfed091937 fix(sync): wait until apply queue is empty when restore 2022-09-20 18:50:23 +08:00
Shengliang Guan
0b645f5010
Merge pull request #16953 from taosdata/fix/TD-19129
fix: wlock for meta update tag value
2022-09-20 17:43:23 +08:00
Hongze Cheng
e461681040 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-20 16:40:28 +08:00
Minglei Jin
3f839d6832 fix: wlock for meta update tag value 2022-09-20 16:33:35 +08:00
Hongze Cheng
d197f5019c more code 2022-09-20 16:18:12 +08:00
Hongze Cheng
556a6fcd7f more code 2022-09-20 14:49:34 +08:00
Cary Xu
2f5e5e31f7 Merge branch '3.0' into feature/TD-18581-D 2022-09-20 14:04:56 +08:00
Cary Xu
c5e32acc5d Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-20 14:04:55 +08:00
Shengliang Guan
11b8347fdd
Merge pull request #16942 from taosdata/fix/TD-19143
fix: remove double free msg's pCont
2022-09-20 13:43:26 +08:00
Cary Xu
b5caac4d6a Merge branch '3.0' into feature/TD-18581-D 2022-09-20 13:42:13 +08:00
Cary Xu
7b66c7472b Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-20 13:42:11 +08:00
Hongze Cheng
13ac7f0dd0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-20 13:39:42 +08:00
Hongze Cheng
fb45b8d577 refact code 2022-09-20 13:39:32 +08:00
Shengliang Guan
69e1edb344
Merge pull request #16898 from taosdata/fix/TD-18740
feat:Complete the automatic table creation function for taosX
2022-09-20 11:35:18 +08:00
Minglei Jin
5f4d6e1c99 fix: remove double free msg's pCont 2022-09-20 11:31:25 +08:00
Haojun Liao
50ee0dabbf refactor(query): do some internal refactor. 2022-09-20 10:02:20 +08:00
Cary Xu
a9574ec773 Merge branch '3.0' into feature/TD-18581-D 2022-09-20 09:07:04 +08:00
Cary Xu
313a07a7ee Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-20 09:07:01 +08:00
Shengliang Guan
f48553d3fe
Merge pull request #16934 from taosdata/feat/stream_compression
Feat/stream compression
2022-09-19 22:06:09 +08:00
Cary Xu
18c2efddad Merge branch '3.0' into feature/TD-18581-D 2022-09-19 19:34:19 +08:00
Cary Xu
99a84b08c8 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-19 19:34:17 +08:00
Liu Jicong
756a2d3d5d merge 3.0 2022-09-19 19:29:20 +08:00
Liu Jicong
6d5933266f Merge branch '3.0' into feature/stream 2022-09-19 19:28:44 +08:00
Cary Xu
777fadee25 feat: stream state optimization for rsma 2022-09-19 19:27:23 +08:00
Shengliang Guan
1ac9ff08bb
Merge pull request #16926 from taosdata/feature/stream
enh: stream backend for sma
2022-09-19 18:48:34 +08:00
Hongze Cheng
cbf5e48117 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-19 18:48:25 +08:00
Shengliang Guan
fc0418fc20
Merge pull request #16914 from taosdata/feature/3_liaohj
fix(query): add null ptr check.
2022-09-19 18:48:05 +08:00
Cary Xu
274d310f33 feat: retention should not block data commit 2022-09-19 17:36:51 +08:00
Liu Jicong
86c0fb56e0 enhance stream backend for sma 2022-09-19 17:27:25 +08:00
wangmm0220
c379a35fb3 fix:error in CI 2022-09-19 16:34:07 +08:00
Haojun Liao
d48a563260 fix(query): assign index back. 2022-09-19 15:42:03 +08:00
Cary Xu
ab49ce6eaf enh: rsma exec logic optimization 2022-09-19 11:16:20 +08:00
Cary Xu
eda8968252 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-19 11:15:11 +08:00
Haojun Liao
78f03e993d other:merge 3.0 2022-09-19 10:30:55 +08:00
Hongze Cheng
7a21781a55 refact code 2022-09-19 10:08:08 +08:00
Hongze Cheng
2e37e64f2e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-18 09:54:00 +08:00
wangmm0220
e3bc2487b3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-18740 2022-09-16 19:00:49 +08:00
wangmm0220
a54f71a03c fix:error in auto create table for taosX 2022-09-16 18:57:33 +08:00
Hongze Cheng
0ff451dcf3 more code 2022-09-16 18:50:49 +08:00
Liu Jicong
8e12a1a2d3 Merge branch '3.0' into feature/stream 2022-09-16 18:29:14 +08:00
dapan1121
8ddb142474
Merge branch '3.0' into enh/clientPolicy 2022-09-16 18:10:12 +08:00
Hongze Cheng
5ffaaebad6 more code 2022-09-16 17:46:50 +08:00
Cary Xu
2f5e197dbe Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-16 17:45:12 +08:00
Hongze Cheng
a2350445cc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/stream_compression 2022-09-16 17:40:45 +08:00
Hongze Cheng
512aa3d8d7 more code 2022-09-16 17:36:31 +08:00
Liu Jicong
82a3700821
Merge pull request #16863 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-09-16 17:06:03 +08:00
wangmm0220
dfc5ce23a0 fix:error in auto create table for taosX 2022-09-16 17:01:41 +08:00
Liu Jicong
273adb9895 fix memory leak 2022-09-16 16:17:02 +08:00
Hongze Cheng
832f2fb7a3 more code 2022-09-16 15:49:43 +08:00
Hongze Cheng
a34b4ec749 more code 2022-09-16 13:33:36 +08:00
Haojun Liao
15f656e683 refactor(query): add some logs. 2022-09-16 13:06:57 +08:00
Haojun Liao
0e308d29eb fix(query): check the duplicate before adding table into query list 2022-09-16 12:06:37 +08:00
Hongze Cheng
9b600d6f8f mroe code 2022-09-16 11:53:58 +08:00
Hongze Cheng
2b584d16ac Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2022-09-16 10:06:04 +08:00
Cary Xu
657d3deac9 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-16 09:03:47 +08:00
wangmm0220
414021a8e0 fix:error in auto create table for taosX 2022-09-15 19:23:12 +08:00
Cary Xu
3ee376c2c0 fix: revert the code change 2022-09-15 18:37:26 +08:00
Hongze Cheng
f845a01480 more code 2022-09-15 18:04:39 +08:00
Cary Xu
999d32cdbd chore: revert the code change 2022-09-15 17:59:09 +08:00
Hongze Cheng
9b29931f78 more code 2022-09-15 17:45:47 +08:00
Haojun Liao
188c3a9881 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-09-15 17:44:57 +08:00
Haojun Liao
0c71d95773 fix(query):set correct block load condition. 2022-09-15 17:44:28 +08:00
Hongze Cheng
3a4273406e more code 2022-09-15 17:32:39 +08:00
Cary Xu
4be9d4c704 chore: merge 3.0 2022-09-15 16:56:46 +08:00
Haojun Liao
22afbb5035
Merge branch '3.0' into feature/3_liaohj 2022-09-15 16:56:39 +08:00
Hongze Cheng
d2141ea5ca more code 2022-09-15 16:44:33 +08:00
Haojun Liao
5ba41111b4 refactor: add some logs. 2022-09-15 16:17:39 +08:00
Hongze Cheng
87b59d2148 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2022-09-15 15:47:46 +08:00
Hongze Cheng
151fd39d1a more code 2022-09-15 14:51:40 +08:00
dapan1121
4048c99282 Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-15 14:50:35 +08:00
Hongze Cheng
44915af5e7 more code 2022-09-15 14:16:12 +08:00
Haojun Liao
dec379586b
Merge pull request #16851 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-15 11:43:24 +08:00
Liu Jicong
deb731c1c4
Merge pull request #16840 from taosdata/enh/3.0_planner_optimize
enh: the delete physical plan increases the timestamp interval of the actual deleted data
2022-09-15 10:56:08 +08:00
Haojun Liao
18924f9a7d refactor(query): do some internal refactor. 2022-09-15 10:26:45 +08:00
Liu Jicong
367552b914 fix delete 2022-09-15 10:12:53 +08:00
Hongze Cheng
26f740f26b fix more 2022-09-15 09:56:56 +08:00
Hongze Cheng
f2e26de8c5 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/new_data_format 2022-09-15 09:32:10 +08:00
Hongze Cheng
3b947f17ad more code 2022-09-14 22:47:44 +08:00
Cary Xu
e05fd1615b fix: remove the code change for commit 2022-09-14 19:19:25 +08:00
Cary Xu
f7fe7a4afb fix: remove the code change for commit 2022-09-14 19:18:51 +08:00
Cary Xu
aa43876665 enh: tsdb retention and fs optimization 2022-09-14 18:10:51 +08:00
Cary Xu
ce60bd0c20 enh: tsdb retention and fs optimization 2022-09-14 18:01:59 +08:00
Haojun Liao
4d44b56ec6 refactor(query):check for none table. 2022-09-14 14:53:52 +08:00
Haojun Liao
dfc028a5c7 other:merge 3.0 2022-09-14 13:48:40 +08:00
Cary Xu
9f1b055865 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-14 09:44:44 +08:00
Hongze Cheng
426a25f162 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/new_data_format 2022-09-14 09:36:27 +08:00
Hongze Cheng
102ea9e0f9 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/new_data_format 2022-09-13 18:32:08 +08:00
Shengliang Guan
8055e79a82 feat: database option 'tsdb_pagesize' 2022-09-13 18:30:15 +08:00
Shengliang Guan
b84017f2b9 feat: database option 'tsdb_pagesize' 2022-09-13 18:01:10 +08:00
Cary Xu
627e7eafb0 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-13 17:42:22 +08:00
Hongze Cheng
b6daab624b more code 2022-09-13 17:30:20 +08:00
Hongze Cheng
045b6b4ec6 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/new_data_format 2022-09-13 16:38:05 +08:00
Cary Xu
11ffbfa70f chore: code optimization for rsma fs build 2022-09-13 16:18:37 +08:00
Hongze Cheng
0107e92e64 fix: delete file restart corrupt error 2022-09-13 16:15:07 +08:00
Hongze Cheng
4b4d8d7f17
Merge pull request #16796 from taosdata/fix/TD-19012
fix: c is uninitialized for empty btree
2022-09-13 16:00:03 +08:00
Cary Xu
a2a483c721 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-13 15:35:00 +08:00
Hongze Cheng
6ce484620f Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/new_data_format 2022-09-13 14:52:46 +08:00
Hongze Cheng
0fc81c7d84 refact code 2022-09-13 14:52:31 +08:00
Cary Xu
860a7bdcac enh: add queryRsmaTolerance conf for rsma query 2022-09-13 14:51:04 +08:00
Minglei Jin
d9ce8e3fcd fix: c is uninitialized for empty btree 2022-09-13 14:42:51 +08:00
Hongze Cheng
ce9fb84221 refact 2022-09-13 14:21:43 +08:00
Hongze Cheng
25fdef4540 fix: alter table memory leakage 2022-09-13 13:35:14 +08:00
Shengliang Guan
deb017fcfc
Merge pull request #16775 from taosdata/feature/3.0_interval_hash_optimize
enh: sma optimization for query and reboot restore
2022-09-12 09:34:44 +08:00
Shengliang Guan
6b04ee9816
Merge pull request #16763 from taosdata/fix/handleSentWrite
fix(rpc): handle sent write
2022-09-12 09:34:06 +08:00
Cary Xu
8403f4ab35 enh: rsma fs process optimization 2022-09-12 08:58:23 +08:00
Cary Xu
ff647b961d enh: rsma fetch logic optimization 2022-09-12 08:08:06 +08:00
Cary Xu
834c9edad8 chore: revert the code change 2022-09-11 19:46:30 +08:00
Cary Xu
b8b91eb124 chore: revert the code change 2022-09-11 19:39:54 +08:00
Cary Xu
4cc44ee791 enh: sma optimization for query and reboot 2022-09-11 19:34:10 +08:00
Haojun Liao
c328552b09
Merge pull request #16769 from taosdata/feature/3_liaohj
refactor(query): opt tsdb read perf.
2022-09-10 18:30:28 +08:00
Haojun Liao
06926edadd fix(query): handle empty time window case. 2022-09-10 15:43:46 +08:00
Haojun Liao
7b8f96851f fix(query): copy all columns to dest buffer. 2022-09-09 23:18:19 +08:00
dapan1121
1427a8f3b0 enh: support client query policy 2022-09-09 19:03:42 +08:00
Haojun Liao
1f645ab1d9 refactor(query): opt tsdb read perf. 2022-09-09 18:41:12 +08:00
Haojun Liao
44544ef228 fix(query): remove invalid assert 2022-09-09 16:17:51 +08:00
Haojun Liao
2c3c441b78 refactor(query): opt perf. 2022-09-09 16:13:36 +08:00
Hongze Cheng
b44eb59f5d tsdb retention fix done 2022-09-09 15:42:20 +08:00
Haojun Liao
e7987cd9e3 fix(query): set correct finish flag. 2022-09-09 10:21:31 +08:00
Haojun Liao
22c32f76fc refactor: opt perf in tsdbread. 2022-09-09 09:50:49 +08:00
Hongze Cheng
a756151532 Merge branch 'fix/stt_trigger_config' of https://github.com/taosdata/TDengine into enh/tsdb_page_size 2022-09-08 21:40:27 +08:00
Hongze Cheng
e5e42524c7 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_page_size 2022-09-08 21:40:15 +08:00
Hongze Cheng
07ca543595 make it pass compile 2022-09-08 21:29:13 +08:00
Hongze Cheng
9e33dfbc90 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/stt_trigger_config 2022-09-08 21:27:33 +08:00
Hongze Cheng
f0a5820d01 add tsdb config support 2022-09-08 18:36:08 +08:00
Hongze Cheng
eae7947c68 more refact 2022-09-08 17:58:33 +08:00
Hongze Cheng
2e8b43d01c more code 2022-09-08 16:56:29 +08:00
Haojun Liao
a0520d2a06 refactor: do some internal refactor. 2022-09-08 15:36:53 +08:00
Hongze Cheng
bb0b1fda91 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_new_snapshot 2022-09-08 15:16:22 +08:00
Hongze Cheng
255f42e07f more tsdb snapshot 2022-09-08 15:13:58 +08:00
Haojun Liao
a91dd25be7 refactor: do some internal refactor. 2022-09-08 14:34:57 +08:00
Haojun Liao
57d6c27171 refactor:do some internal refactor. 2022-09-08 14:11:34 +08:00
Haojun Liao
e6ab7e5c86 refactor: do some internal refactor. 2022-09-08 14:08:07 +08:00
Haojun Liao
084dba5406 refactor: opt perf. 2022-09-08 13:56:19 +08:00
Shengliang Guan
78abfdd28b
Merge pull request #16737 from taosdata/feature/3_liaohj
refactor(query): add some logs.
2022-09-08 11:12:05 +08:00
Haojun Liao
96dedb04f8 refactor: add some logs. 2022-09-08 10:26:30 +08:00
Haojun Liao
0b6070e518 refactor(query): add some logs. 2022-09-08 09:45:11 +08:00
Hongze Cheng
dda66c6eaf more code 2022-09-08 09:32:51 +08:00
Hongze Cheng
79f71be7e0 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_new_snapshot 2022-09-07 21:37:36 +08:00
yihaoDeng
f0c1950b63 refactor code 2022-09-07 19:39:44 +08:00
Haojun Liao
162bddc0d5
Merge pull request #16714 from taosdata/feature/3_liaohj
fix(query): opt perf in query last file blocks.
2022-09-07 19:31:24 +08:00
Hongze Cheng
3cc29d77bb more code 2022-09-07 19:11:02 +08:00
Hongze Cheng
d630c2fdd7 more code 2022-09-07 18:56:45 +08:00
Haojun Liao
3c952a337e fix(query): fix invalid read. 2022-09-07 18:54:58 +08:00
Hongze Cheng
416d4ac6ad more code 2022-09-07 17:56:40 +08:00
Haojun Liao
a0a6c9e9b9 fix(query): fix bug caused by refactor. 2022-09-07 17:51:04 +08:00
Hongze Cheng
0e4b0459bd more code 2022-09-07 17:06:42 +08:00
Hongze Cheng
2d789f5ae0 more code 2022-09-07 15:37:51 +08:00
Haojun Liao
74260ebd70 fix(query): add check. 2022-09-07 13:20:43 +08:00
Haojun Liao
e7149cce3a fix(query): opt perf in query last file blocks. 2022-09-07 13:18:34 +08:00
Hongze Cheng
36d01e84a5 more code 2022-09-07 11:05:00 +08:00
Hongze Cheng
207d69e61e refact code 2022-09-07 09:51:39 +08:00
Hongze Cheng
efb429ebd3 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_new_snapshot 2022-09-07 09:45:52 +08:00
Shengliang Guan
49326aa92d
Merge pull request #16690 from taosdata/feature/3_liaohj
fix(query): optimize last block read performance.
2022-09-06 21:20:03 +08:00
Cary Xu
b15fa09acd enh: qinf process optimization for duplicated commit version 2022-09-06 20:11:50 +08:00
Haojun Liao
cf46b22267 fix(query): fix error in tsdbread. 2022-09-06 19:27:49 +08:00
Cary Xu
aacf318ba0 fix: qtaskinfo fs open for rsma 2022-09-06 18:18:34 +08:00
Hongze Cheng
56985c5217 snapshot read code 2022-09-06 17:41:06 +08:00
Cary Xu
a929f837d4 fix: rsma qtaskfile restore 2022-09-06 17:31:19 +08:00
Haojun Liao
6f252d8d7a fix(query): opt perf on last block query. 2022-09-06 16:36:56 +08:00
Haojun Liao
a5933fc682 fix(query): optimize last block read performance. 2022-09-06 15:25:54 +08:00
Cary Xu
354a62135c other: adjust rsma log level 2022-09-06 09:58:06 +08:00
Shengliang Guan
f261fe7837
Merge pull request #16668 from taosdata/feature/3_liaohj
fix(query): fix the invalid the check of last file blocks.
2022-09-06 07:30:26 +08:00
Haojun Liao
8f92ffcd3b fix(query): set correct time window. 2022-09-06 02:36:04 +08:00
Haojun Liao
a6d9c76681 fix(query): reset the time range. 2022-09-06 01:56:31 +08:00
Haojun Liao
581cb0ffe1 other:merge 3.0 2022-09-06 01:30:15 +08:00
Haojun Liao
e179c10c88 fix(query): set correct last block reader range. 2022-09-06 00:26:38 +08:00
Shengliang Guan
9a7774817d
Merge pull request #16664 from taosdata/feature/3.0_interval_hash_optimize
enh: drop child tables support for rsma
2022-09-05 19:42:02 +08:00
Haojun Liao
ef66da9e18 other:merge 3.0 2022-09-05 19:04:53 +08:00
Haojun Liao
3719da865c other:merge 3.0 2022-09-05 19:02:04 +08:00
Haojun Liao
a6cece10df fix(query): fix the invalid the check of last file blocks. 2022-09-05 18:57:46 +08:00
Cary Xu
d8ccd78707 other: code optimization when drop table 2022-09-05 18:02:35 +08:00
Hongze Cheng
e70db79d10 refact: change sst to stt 2022-09-05 17:31:41 +08:00
Cary Xu
0c27b07cbc Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-05 16:32:13 +08:00
Cary Xu
31fb2a31b6 enh: drop child tables support for rsma 2022-09-05 16:25:13 +08:00
dapan1121
8675857207 enh: add client query policy 2022-09-05 13:56:42 +08:00
Hongze Cheng
d57129d78d fix: another big bug 2022-09-05 12:03:03 +08:00
Hongze Cheng
30f53e2f5a Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_new_format 2022-09-05 11:21:50 +08:00
Hongze Cheng
df7b597db0 fix: invalid write 2022-09-05 10:20:06 +08:00
Hongze Cheng
20a269ef20 fix: more code 2022-09-05 01:13:07 +08:00
Hongze Cheng
70b89becb9 more fix 2022-09-04 23:51:26 +08:00
Hongze Cheng
0480158500 more fix 2022-09-04 22:32:09 +08:00
Hongze Cheng
c71455216c more code 2022-09-04 22:29:59 +08:00
Hongze Cheng
52e4a5e452 fix bug 2022-09-04 21:50:36 +08:00