Commit graph

5560 commits

Author SHA1 Message Date
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