Commit graph

5068 commits

Author SHA1 Message Date
Haojun Liao
82d3deb423
Merge pull request #22949 from taosdata/enh/disableIpWhiteListOnCommunity
disable white list on community
2023-09-18 13:41:08 +08:00
dmchen
b473122dac break dependency 2023-09-18 12:29:08 +08:00
Haojun Liao
8aa34802f5
Merge pull request #22938 from taosdata/fix/TD-26323
fix:[TD-26323]add macro to control tmq assert & make subscribe transa…
2023-09-18 09:48:39 +08:00
Haojun Liao
de04090f04
Merge pull request #22940 from taosdata/fix/avoidConflictOfIdxName
reduce the confliction of first tag index name
2023-09-18 09:47:58 +08:00
dm chen
fda32dcc51
Merge branch 'main' into feat/TD-26127-audit-sql 2023-09-18 09:41:47 +08:00
kailixu
8111c18cc4 chore: merge 3.0 2023-09-18 09:20:43 +08:00
Haojun Liao
3dfdda3283 fix(stream): fix error in decode stream task. 2023-09-17 18:07:26 +08:00
Haojun Liao
01144c58a7 fix(stream): fix stream task id error. 2023-09-17 01:19:59 +08:00
yihaoDeng
d890ccbd3b disable white list on community 2023-09-15 20:27:41 +08:00
wangmm0220
8ebb6e202e fix:[TD-26323]add macro to control tmq assert & make subscribe transaction no conflicts 2023-09-15 19:26:55 +08:00
Haojun Liao
05e9f40834
Merge pull request #22828 from taosdata/enh/ipWhiteList
Enh/ip white list
2023-09-15 17:49:37 +08:00
yihaoDeng
a66145a494 reduce the possible of first tag index name 2023-09-15 17:41:04 +08:00
kailixu
7f477b413a chore: more code 2023-09-15 14:35:57 +08:00
kailixu
03aea454d7 chore: more code 2023-09-15 14:33:35 +08:00
kailixu
6b95013ba0 chore: code refactor for mndDnode 2023-09-15 10:28:07 +08:00
yihaoDeng
79fe29c848 fix compile error 2023-09-15 10:10:23 +08:00
kailixu
8505fb2aea chore: code refactor for mndDnode 2023-09-15 08:49:45 +08:00
kailixu
1ddc935072 Merge branch '3.0' into enh/TS-3812-3.0 2023-09-15 08:39:32 +08:00
Haojun Liao
5f55f489d8 fix(stream): fix memory leak. 2023-09-14 22:59:11 +08:00
kailixu
449092c5dc enh: timeseries update optimize 2023-09-14 20:16:02 +08:00
yihaoDeng
167be7c519 rm dup ip 2023-09-14 19:09:56 +08:00
yihaoDeng
0e496ab0c5 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 18:18:05 +08:00
yihaoDeng
2af180c763 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 17:56:44 +08:00
yihaoDeng
02f5f4f017 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 17:23:31 +08:00
yihaoDeng
a7d4547a2d Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 17:01:06 +08:00
yihaoDeng
011aee7214 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 16:56:47 +08:00
yihaoDeng
2d1d74d4e8 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 16:52:23 +08:00
slzhou
972a6a133f Merge branch 'enh/ipWhiteList' of github.com:taosdata/TDengine into enh/ipWhiteList 2023-09-14 16:34:30 +08:00
slzhou
59020ff52d fix: for community version, use 0.0.0.0/0 as whitelist 2023-09-14 16:34:03 +08:00
yihaoDeng
e36dc50828 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 15:42:17 +08:00
yihaoDeng
2002ed8709 add more error code 2023-09-14 15:34:28 +08:00
slzhou
2a40113f13 fix: entprise version compilation 2023-09-14 14:44:09 +08:00
Haojun Liao
fce5be0eb4 fix(stream): fix dead lock. 2023-09-14 14:09:05 +08:00
slzhou
a15a41f396 Merge branch 'enh/ipWhiteList' of github.com:taosdata/TDengine into szhou/enh/ipWhiteList 2023-09-14 13:06:15 +08:00
slzhou
94236b8cee fix: pass some test 2023-09-14 13:05:58 +08:00
yihaoDeng
aa1cc01064 update test case 2023-09-14 12:18:43 +08:00
yihaoDeng
903c628067 update test case 2023-09-14 12:18:04 +08:00
yihaoDeng
da55d7e67e update test case 2023-09-14 09:25:23 +08:00
Haojun Liao
9b70c0c457 fix:fix coverity issue and remove unnecessary files. 2023-09-14 09:06:10 +08:00
yihaoDeng
7ec31029e6 update test case 2023-09-14 08:45:55 +08:00
yihaoDeng
e7815229ca update test case 2023-09-13 19:54:45 +08:00
wangmm0220
f729150497 fix:opti poll callbak logic & send epoch as -1 to get epset if vnode transformed 2023-09-13 18:32:45 +08:00
dapan1121
270a7584f4 enh: prevent accessing ins_users&ins_user_privileges without sysinfo 2023-09-13 17:48:26 +08:00
yihaoDeng
c0a8f81176 update test case 2023-09-13 14:27:58 +08:00
wangmm0220
1dbd322fa0 fix:remove useless code 2023-09-13 11:42:09 +08:00
kailixu
53ed71959b enh: fetch cluster info for grant periodically 2023-09-13 11:30:04 +08:00
Yihao Deng
fa302ac6b9
Merge branch '3.0' into enh/ipWhiteList 2023-09-13 10:14:08 +08:00
Haojun Liao
60f5056ab7 other: merge 3.0 2023-09-12 22:00:40 +08:00
yihaoDeng
5468c717e9 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-12 21:03:42 +08:00
yihaoDeng
d6f4c40e54 fix mem leak 2023-09-12 21:03:35 +08:00
slzhou
65fe665939 fix: get user whitelist version from user object 2023-09-12 16:27:07 +08:00
slzhou
a44d0bceb6 Merge branch 'szhou/enh/ipWhiteList' into enh/ipWhiteList 2023-09-12 16:21:29 +08:00
yihaoDeng
7ce8f694dc Merge branch 'enh/dev3New' into enh/ipWhiteList 2023-09-12 15:54:06 +08:00
shenglian zhou
d5f1662bf5 enh: enterprise version and community version split 2023-09-12 14:35:01 +08:00
shenglian zhou
21dd7a82b0 Merge branch 'szhou/enh/ipWhiteList' of github.com:taosdata/TDengine into szhou/enh/ipWhiteList 2023-09-12 14:16:35 +08:00
shenglian zhou
53894f1182 enhance: add hb whitelist version and notify taosadapter 2023-09-12 14:15:03 +08:00
shenglian zhou
8db96a0085 enhance: update notification and get user whitelist api 2023-09-12 14:10:41 +08:00
shenglian zhou
64caae83fd enhance: add hb whitelist version and notify taosadapter 2023-09-12 14:10:41 +08:00
Haojun Liao
025a2a3b50
Merge pull request #22846 from taosdata/fix/3_liaohj
fix(tsdb): check the schema before merge rows in buffer
2023-09-12 11:43:27 +08:00
yihaoDeng
4d16cfac05 add rpc update interface 2023-09-12 11:36:44 +08:00
yihaoDeng
a902421f5b add user ip white ver 2023-09-12 11:33:32 +08:00
yihaoDeng
f29880fee3 add rpc update interface 2023-09-12 11:31:06 +08:00
yihaoDeng
d9eed32167 add rpc update interface 2023-09-12 09:54:13 +08:00
Haojun Liao
f602aa965f fix(stream): fix coverity scan issues. 2023-09-12 09:16:18 +08:00
yihaoDeng
9efa9eeff4 add rpc update interface 2023-09-11 21:29:50 +08:00
yihaoDeng
0a8b1ebe46 add rpc update interface 2023-09-11 21:02:50 +08:00
yihaoDeng
39d04ed15b add rpc update interface 2023-09-11 20:48:24 +08:00
shenglian zhou
9da204e5ff enhance: update notification and get user whitelist api 2023-09-11 17:04:35 +08:00
yihaoDeng
d549a47cf5 add rpc update interface 2023-09-11 15:17:20 +08:00
yihaoDeng
05727359ca add rpc update interface 2023-09-11 15:02:35 +08:00
dmchen
a8e538a563 fix/TD-26210 2023-09-11 14:38:36 +08:00
yihaoDeng
2a30e12547 add rpc update interface 2023-09-11 10:45:45 +08:00
shenglian zhou
569283f806 enhance: add hb whitelist version and notify taosadapter 2023-09-11 09:52:58 +08:00
yihaoDeng
30a60be214 add rpc update interface 2023-09-11 09:26:00 +08:00
wade zhang
ddc8c93a9c
Merge pull request #22767 from taosdata/mark/tmq
fix:send delete subscribe info to vnode if drop consumer
2023-09-10 22:17:26 +08:00
wade zhang
635d405867
Merge pull request #22800 from taosdata/fix/TS-3922-main
fix:[TS-3922] make SStreamObj->->currentTick aligned by 8
2023-09-10 22:17:07 +08:00
yihaoDeng
9781766009 add rpc update interface 2023-09-10 17:02:38 +08:00
yihaoDeng
d121b564c0 add rpc update interface 2023-09-10 16:11:14 +08:00
yihaoDeng
25bc0b226b add rpc update interface 2023-09-10 14:09:36 +08:00
yihaoDeng
56706193eb add rpc update interface 2023-09-08 11:49:12 +08:00
yihaoDeng
27e3ee8f1d add rpc update interface 2023-09-07 21:10:05 +08:00
yihaoDeng
60d6a622e1 add rpc update interface 2023-09-07 20:47:10 +08:00
wangmm0220
842bb5742a fix:[TS-3922]rollback because cases failed & avoid atomic_store_64 core if parameters not aligned by 8 2023-09-07 19:26:33 +08:00
yihaoDeng
8c5fa3526a add rpc update interface 2023-09-07 16:10:07 +08:00
wangmm0220
c4898bffd8 fix:[TS-3922] make SStreamObj->->currentTick aligned by 8 2023-09-07 15:23:00 +08:00
Shungang Li
46af31539d fix: adjust the error code returned when db does not exist 2023-09-07 14:52:34 +08:00
yihaoDeng
f4f97a67f5 add rpc update interface 2023-09-07 14:24:26 +08:00
yihaoDeng
147de26eec add rpc update interface 2023-09-07 11:54:34 +08:00
Haojun Liao
0f909285c4
Merge pull request #22684 from taosdata/mark/tmq-3.0
fix:use vgstatus before if rebalance
2023-09-07 09:20:27 +08:00
yihaoDeng
ad5639df89 add rpc update interface 2023-09-06 21:36:16 +08:00
yihaoDeng
ac8220012c add rpc update interface 2023-09-06 17:22:30 +08:00
yihaoDeng
b5d40d01bb add rpc update interface 2023-09-06 16:24:29 +08:00
dapan1121
2bc8b3f7ee
Merge pull request #22625 from taosdata/enh/TD-23879-3.0
enh: allow altering options to the same value
2023-09-06 13:34:49 +08:00
wangmm0220
f209e31582 fix:send delete subscribe info to vnode if drop consumer 2023-09-06 11:16:03 +08:00
dmchen
231ba12f70 feat/TD-26127 2023-09-06 11:00:24 +08:00
yihaoDeng
393ef21348 add rpc update interface 2023-09-06 09:32:26 +08:00
yihaoDeng
6f6c517342 add rpc update interface 2023-09-05 21:00:01 +08:00
yihaoDeng
e539eebaa2 add rpc update interface 2023-09-05 18:50:11 +08:00
wangmm0220
ef87b9c571 fix:conflicts from 3.0 2023-09-05 16:19:04 +08:00
wade zhang
0517358a02
Merge pull request #22717 from taosdata/fix/TD-22062
fix/TD-22062
2023-09-05 16:04:12 +08:00
Haojun Liao
5dcbae3594
Merge pull request #22681 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2023-09-05 12:54:09 +08:00
yihaoDeng
6257bf1e10 add rpc update interface 2023-09-05 12:03:23 +08:00
dapan1121
4a5bcb5c80
Merge pull request #22650 from taosdata/szhou/ip-whitelist
enhance: ip whitelist syntax
2023-09-05 11:00:55 +08:00
yihaoDeng
685bdea44a add rpc update interface 2023-09-04 21:15:46 +08:00
Haojun Liao
77eed06bcd
Merge branch '3.0' into fix/3_liaohj 2023-09-04 18:51:07 +08:00
dmchen
1a0480c834 fix/TD-22062 2023-09-04 17:14:29 +08:00
wangmm0220
90e938e48f fix:set vg status idle if reveive poll callback 2023-09-04 16:53:12 +08:00
Haojun Liao
aeea699c9c Merge branch '3.0' into fix/3_liaohj 2023-09-04 15:53:39 +08:00
Haojun Liao
21dab8ceab other: merge 3.0 2023-09-04 13:08:19 +08:00
Haojun Liao
d73de8ba1e fix(stream): add null ptr check. 2023-09-02 16:44:21 +08:00
Haojun Liao
037a232bfa refactor: do some internal refactor. 2023-09-01 17:05:36 +08:00
yihaoDeng
5f78c27535 add enable white list 2023-09-01 15:11:25 +08:00
dapan1121
cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
yihaoDeng
8b146f793d Merge branch '3.0' into szhou/ip-whitelist 2023-09-01 10:51:24 +08:00
Haojun Liao
3765fbbba2 fix(stream): fix memory leak. 2023-09-01 09:59:56 +08:00
Haojun Liao
e8294ed8dc fix(stream): fix bug in multi-replica vnode redistribute. 2023-09-01 03:10:12 +08:00
Haojun Liao
fecba5b097 fix(stream): check for meta 2023-08-31 20:54:02 +08:00
Haojun Liao
95da66e3e8 fix(stream): fix error. 2023-08-31 20:50:12 +08:00
dmchen
03de7ad5a6 stream name 2023-08-31 16:44:36 +08:00
dmchen
12ffc58b7e password and topic name 2023-08-31 16:37:24 +08:00
dmchen
9b7bbe0168 audit table name 2023-08-31 14:42:25 +08:00
Haojun Liao
8645f763b5
Merge pull request #22661 from taosdata/enh/reserve
stream change ver
2023-08-31 13:35:23 +08:00
yihaoDeng
83a5e2be4c stream change ver 2023-08-31 11:42:12 +08:00
yihaoDeng
05ca71d5de stream change ver 2023-08-31 09:28:43 +08:00
dmchen
22f0778cca typo and remove ip port 2023-08-31 09:26:44 +08:00
wade zhang
68e4a72021
Merge pull request #22643 from taosdata/feat/audit-user-typestr
alter user type to str
2023-08-31 07:59:31 +08:00
slzhou
82dc2de2f4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ip-whitelist 2023-08-30 17:11:42 +08:00
dmchen
623660d012 enhance 2023-08-30 16:17:13 +08:00
dmchen
04a89b4a49 long fields 2023-08-30 16:03:57 +08:00
Haojun Liao
c5b279f045 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-08-30 16:01:08 +08:00
Haojun Liao
24b1a050fc other: merge 3.0 2023-08-30 16:00:14 +08:00
dmchen
63e2926a60 topic 2023-08-30 15:26:54 +08:00
dapan1121
718f97e506
Merge pull request #22640 from taosdata/fix/m23.1
Fix/m23.1
2023-08-30 14:58:40 +08:00
liuyao
0a72e576bd op stream pause
pause data dispatch

opt stream pause
2023-08-30 14:53:49 +08:00
slzhou
1ab94d0992 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ip-whitelist 2023-08-30 14:42:26 +08:00
dmchen
7790afd85d fields 2023-08-30 13:13:05 +08:00
dmchen
b9f77798a2 alter user type to str 2023-08-30 12:06:11 +08:00
wade zhang
bec05f2677
Merge pull request #22638 from taosdata/feat/TD-26033
TD-26033
2023-08-30 11:40:44 +08:00
wade zhang
bbed968256
Merge pull request #22617 from taosdata/FIX/TD-25995-3.0
enh: adjust criteria of completion to retrieve SShowObj info from mnode in mndProcessSysTableReq
2023-08-30 11:33:13 +08:00
dapan1121
f6321d0c4f Merge remote-tracking branch 'origin/main' into fix/m23.1 2023-08-30 11:03:33 +08:00
dmchen
7bea92cbf9 TD-26033 2023-08-30 10:28:39 +08:00
dmchen
bb33620f5c dbname 2023-08-29 18:12:08 +08:00
Benguang Zhao
dbeafb508b fix: reset show obj iter on no more data to read in mndRetrieveIdx 2023-08-29 17:56:24 +08:00
kailixu
3036b78910 Merge branch '3.0' into enh/TD-23879-3.0 2023-08-29 17:43:14 +08:00
shenglian zhou
33966cf856 enhance: continue coding 2023-08-29 17:35:03 +08:00
Benguang Zhao
a6455672c0 fix: check completeness of retrieval properly in mndProcessRetrieveSysTableReq 2023-08-29 15:47:11 +08:00
kailixu
523994d93b enh: allow altering options to the same value 2023-08-29 15:15:07 +08:00
Benguang Zhao
5e5b7a3328 fix: reserve enough space of show Obj rows for vnodes of each vgroup in mndRetrieveVnodes 2023-08-29 12:07:52 +08:00
dmchen
1372cede48 init 2023-08-28 17:44:10 +08:00
dapan1121
778e50da79
Merge pull request #22592 from taosdata/fix/m23.0
Fix/m23.0
2023-08-28 17:35:35 +08:00
wade zhang
1797fe50e2
Merge pull request #22590 from taosdata/feat/TD-18801
init
2023-08-28 11:05:38 +08:00
Haojun Liao
da0b4e1f92 Merge branch '3.0' into enh/triggerCheckPoint2 2023-08-28 10:55:38 +08:00
wade zhang
e95c9d5fdc
Merge pull request #22591 from taosdata/feat/TD-18572
feat/TD-18572: dynamic 'supportvnodes'
2023-08-28 10:46:44 +08:00
dapan1121
0cce255a02 Merge remote-tracking branch 'origin/3.0' into fix/m23.0 2023-08-28 10:06:53 +08:00
Haojun Liao
88f6596965
Merge pull request #22464 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-28 09:45:57 +08:00
dapan1121
1f40da6fef Merge remote-tracking branch 'origin/main' into 3.0 2023-08-28 09:28:55 +08:00
Shungang Li
0c28c9aee8 feat: dynamic 'supportvnodes' 2023-08-28 09:17:35 +08:00
dmchen
06083e1eb9 init 2023-08-28 09:15:51 +08:00
wangmm0220
8b745de397 fix:transaction error 2023-08-26 00:43:47 +08:00
Haojun Liao
7ceb8dc627 fix(stream): disable the follower to execute the stop/resume instruction. 2023-08-25 19:20:49 +08:00
wangmm0220
047707fa17 fix:error in privilege 2023-08-25 17:56:17 +08:00
wangmm0220
26e025d78d feat:[TD-18789]support varbinary type 2023-08-25 15:43:45 +08:00
dapan1121
e24498b0fd enh: add task notify 2023-08-25 14:59:34 +08:00
liuyao
7d44b7e4cb mem leak 2023-08-25 14:53:29 +08:00
wangmm0220
cca00406a5 fix:drop topic error if topic not exist 2023-08-24 18:16:57 +08:00
yihaoDeng
9310d138a6 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-24 17:30:35 +08:00
wangmm0220
89884e1c49 fix:transaction in tmq 2023-08-24 16:34:52 +08:00
liuyao
a72e6fd219 mem leak 2023-08-24 16:32:34 +08:00
wangmm0220
49216ffa54 fix:transaction in tmq 2023-08-24 16:32:15 +08:00
wangjiaming0909
366a9cc009 Revert "feat: support column comment"
This reverts commit dcbef83dea.
2023-08-24 13:54:27 +08:00
wangmm0220
be74370e98 fix:memory leak 2023-08-24 09:25:26 +08:00
wangmm0220
775f0668c5 fix:[TD-258900]modify tmq trans conflict to db level 2023-08-24 09:25:26 +08:00
wangmm0220
8f3956cc67 fix:[TD-258900]modify tmq trans conflict to db level 2023-08-24 09:25:26 +08:00
wangmm0220
4591f24746 fix:memory leak 2023-08-23 19:41:02 +08:00
Haojun Liao
809d3087ff Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2
# Conflicts:
#	source/dnode/mnode/impl/src/mndStream.c
2023-08-23 17:53:50 +08:00
Haojun Liao
230d8c2d80 fix(stream): fix error in stream computing after vnode is transferred to other dnodes. 2023-08-23 17:50:44 +08:00
wangmm0220
f19c1ea3fe fix:[TD-258900]modify tmq trans conflict to db level 2023-08-23 16:46:33 +08:00
wangmm0220
8fc8aad1b5 fix:[TD-258900]modify tmq trans conflict to db level 2023-08-23 16:44:29 +08:00
yihaoDeng
5b621fc0c5 fix mem leak 2023-08-23 16:32:32 +08:00
yihaoDeng
faa4bbcaca fix mem leak 2023-08-23 14:26:45 +08:00
Shungang Li
458fd07976 enh: ttl split flush and drop table
config:
1. ttlFlushThreshold: maximum number of dirty items in memory
2. tsTtlBatchDropNum: number of tables dropped per batch
3. tsTrimVDbIntervalSec: interval of trimming db in all vgroups
2023-08-23 11:13:34 +08:00
Haojun Liao
000e39aa18 fix(stream): add one more check. 2023-08-22 15:52:29 +08:00
Haojun Liao
af80d94a88 refactor: do some internal refactor. 2023-08-22 15:43:50 +08:00
Haojun Liao
cc8b2263cb fix(stream): fix error in heartbeat from vnode. 2023-08-22 13:37:38 +08:00
dmchen
9f004c209a keep version change 2023-08-22 11:28:50 +08:00
Haojun Liao
64556c9f1d Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-08-22 10:47:02 +08:00
Haojun Liao
def0877980 fix(stream): add timer to check stream task status. 2023-08-22 10:46:49 +08:00
dm chen
b899a8b7df
Merge branch '3.0' into feat/TD-22970 2023-08-22 10:12:30 +08:00
yihaoDeng
1531e2d7d3 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-22 09:51:38 +08:00
wade zhang
501c86f858
Merge pull request #22488 from taosdata/FIX/TD-25762-3.0
enh: ensure transactional atomicity of db names in create database
2023-08-21 16:04:58 +08:00
Haojun Liao
fbd67ce977 fix(stream): fix memory leak. 2023-08-21 11:50:53 +08:00
Haojun Liao
99024e9d78 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-08-21 11:49:08 +08:00
Haojun Liao
29bb5854cc fix(stream): fix error in check stream state. 2023-08-21 11:48:55 +08:00
Benguang Zhao
d3ce0c1f80 fix: ensure creating status of create-db before completion 2023-08-21 11:46:25 +08:00
dm chen
dda51d8019
Merge branch '3.0' into feat/TD-22970 2023-08-21 10:50:45 +08:00
yihaoDeng
d934d91fb1 refactor checkpoint 2023-08-21 10:34:08 +08:00
Benguang Zhao
f30d1ebacd enh: refactor func name as mndTransAppendPrepareLog 2023-08-18 18:35:44 +08:00
Benguang Zhao
9f1c8cc7b8 enh: unify validation of prepare actions with cb validateFp 2023-08-18 18:21:30 +08:00
Benguang Zhao
e7411183d9 enh: create SDB_DB entry in prepareAction 2023-08-18 17:08:24 +08:00
Haojun Liao
41fe441dad fix(stream): update the conflict scope. 2023-08-18 17:00:35 +08:00
Haojun Liao
c26d625152
Merge branch '3.0' into enh/triggerCheckPoint2 2023-08-18 15:51:07 +08:00
liuyao
87c65f3b68 Merge remote-tracking branch 'origin/3.0' into enh/triggerCheckPoint2 2023-08-18 15:27:02 +08:00
dapan1121
9b953707b8 Merge remote-tracking branch 'origin/main' into fix/mainto3.0 2023-08-18 14:42:43 +08:00
Benguang Zhao
f01a26f68a enh: refactor func names of new Vg prepare actions 2023-08-18 14:26:58 +08:00
dm chen
e393a98ee9
Merge branch '3.0' into feat/TD-22970 2023-08-18 13:37:18 +08:00
Haojun Liao
2a9668da67 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2
# Conflicts:
#	source/dnode/mnode/impl/src/mndStream.c
2023-08-18 10:30:30 +08:00
Haojun Liao
87785b1d9c refactor: add some logs. 2023-08-18 10:30:00 +08:00
wangjiaming0909
4dcdb549c9 fix: get systable cols error 2023-08-18 10:19:12 +08:00
yihaoDeng
80f6d092a1 add trace log 2023-08-18 08:43:37 +08:00
yihaoDeng
ebd4cac36b Merge branch 'enh/triggerCheckPoint2' of https://github.com/taosdata/TDengine into enh/triggerCheckPoint2 2023-08-17 18:58:18 +08:00
yihaoDeng
46574c385f fix mem leak 2023-08-17 18:52:33 +08:00
Haojun Liao
a18989df88 fix(stream): add lost codes caused by merge 3.0. 2023-08-17 18:51:39 +08:00
Benguang Zhao
7735e6f388 Merge branch 3.0 to FEAT/TD-25699-3.0 2023-08-17 16:04:23 +08:00
dapan1121
0e10e94a40
Merge pull request #22453 from taosdata/feat/TD-25685
feat: support column comment
2023-08-17 14:23:54 +08:00
Benguang Zhao
9b089d6446 enh: wrap state updating of vnodes and mnodes in mndProcessStatusReq 2023-08-17 11:59:53 +08:00
kailixu
49efb4ae72 fix: modify column length for super table 2023-08-17 11:43:07 +08:00
Haojun Liao
6746339609 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2
# Conflicts:
#	source/libs/stream/src/streamSnapshot.c
2023-08-17 00:08:44 +08:00
Haojun Liao
ea6574b3c7 other: merge 3.0 2023-08-17 00:07:55 +08:00
Benguang Zhao
a94b8aeea6 feat: update vnodesSchema and mndRetrieveVnodes for show vnodes 2023-08-16 20:17:11 +08:00
wangmm0220
b3f945c4c5 fix:conflict 2023-08-16 19:35:05 +08:00
yihaoDeng
ab7e2b3122 Merge branch 'enh/chkpTransfer' into enh/triggerCheckPoint2 2023-08-16 09:00:30 +00:00
dm chen
e020c4e8c5
Merge pull request #22456 from taosdata/3.0
merge 3.0 to feat/TD-22970
2023-08-16 16:49:43 +08:00
dapan1121
39ae880597
Merge pull request #22445 from taosdata/enh/TD-25708-3.0
enh: disable stream/udf on windows
2023-08-16 13:20:01 +08:00
Benguang Zhao
33cb9dce78 enh: set roleTimeMs default as statusReq.rebootTime for both of vnodes and mnodes 2023-08-16 09:57:26 +08:00
Haojun Liao
63bc50a723
Merge pull request #22427 from taosdata/feature/rebuildIndex0
rebuild index at tag0
2023-08-16 09:47:43 +08:00
Benguang Zhao
94e0d97aa2 enh: update pDb stateTs on stateChanged 2023-08-15 19:48:15 +08:00
Benguang Zhao
dbdfee4c41 enh: update SVnodeGid of vnode info in mndProcessStatusReq 2023-08-15 19:25:08 +08:00
dmchen
18ef0f7d82 vgroup version 2023-08-15 17:13:58 +08:00
wangjiaming0909
dcbef83dea feat: support column comment 2023-08-15 16:30:02 +08:00
kailixu
242bf77f4c chore: code optimization 2023-08-15 16:13:51 +08:00
kailixu
8a84dce641 enh: disable udf/stream/rsma/tsma for windows 2023-08-15 16:04:30 +08:00
Haojun Liao
39079ab64a fix(stream): load term from sync model to decide if the node is restart or not 2023-08-15 15:52:06 +08:00
yihaoDeng
0f0d0953cd rebuild index at tag0 2023-08-15 07:26:53 +00:00
dmchen
f0090cf799 vgroup version 2023-08-15 14:46:54 +08:00
kailixu
27db6cfd67 enh: disable udf/stream for mnd on windows 2023-08-15 14:25:31 +08:00
wangmm0220
7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
yihaoDeng
9ec64b9201 rebuild index at tag0 2023-08-15 02:01:13 +00:00
dapan1121
f9f74eaaf4
Merge pull request #22406 from taosdata/fix/TD-24684
fix: remove ins_modules table
2023-08-15 08:42:08 +08:00
yihaoDeng
ef7f762c62 rebuild index at tag0 2023-08-15 00:41:48 +00:00
yihaoDeng
1447d1d55c rebuild index at tag0 2023-08-15 00:40:12 +00:00
Haojun Liao
9e3733a02c
Merge pull request #22358 from taosdata/feat/TD-24559
feat:[TD-24559]support geomety type in schemaless
2023-08-14 22:06:41 +08:00
yihaoDeng
3067417ea3 rebuild index at tag0 2023-08-14 12:01:17 +00:00
yihaoDeng
a48d137d32 rebuild index at tag0 2023-08-14 11:56:47 +00:00
yihaoDeng
1d33a8d4c0 rebuild index at tag0 2023-08-14 10:06:33 +00:00
yihaoDeng
cf9f9ab471 rebuild index at tag0 2023-08-14 08:01:20 +00:00
dmchen
8fd6b122d3 mnode ver 2023-08-14 15:26:59 +08:00
Haojun Liao
1f792f09c4 fix(stream): remove invalid code. 2023-08-14 10:39:47 +08:00
Haojun Liao
f24b22000f enh(stream): stop stream task before redistribute vnodes. 2023-08-11 23:46:53 +08:00
yihaoDeng
6e6eb05d5c Merge branch 'enh/triggerCheckPoint2' into enh/chkpTransfer 2023-08-11 08:03:02 +00:00
Haojun Liao
e984affe90 fix(stream): disable the stream in the followers nodes. 2023-08-11 15:58:15 +08:00
dapan1121
8987553d9c fix: remove ins_modules 2023-08-11 15:56:38 +08:00
wangmm0220
25e32bbf7c fix:offset error in tmq & add test cases 2023-08-11 14:25:12 +08:00
Haojun Liao
ba7825141f fix(stream): enable the checkpoint . 2023-08-11 13:33:14 +08:00
Haojun Liao
9322f80343 fix(stream): register the rsp callback. 2023-08-11 13:31:50 +08:00
yihaoDeng
99be2836b2 Merge branch 'enh/triggerCheckPoint2' into enh/chkpTransfer 2023-08-11 02:50:12 +00:00
Haojun Liao
6a9826cf6e enh(stream): update the stream task epset. 2023-08-11 10:37:25 +08:00
yihaoDeng
ba4ce9db02 Merge branch 'enh/triggerCheckPoint2' into enh/chkpTransfer 2023-08-11 02:15:07 +00:00
Haojun Liao
d9bc881fb3
Merge pull request #22384 from taosdata/mark/tmq
fix:offset error in tmq & add test cases
2023-08-11 10:00:08 +08:00
dm chen
dd271bca6d
Merge pull request #22394 from taosdata/3.0
merge 3.0 to feat/TD-22970
2023-08-10 14:14:22 +08:00
Haojun Liao
f633c7fe2b other: merge 3.0. 2023-08-10 11:56:30 +08:00
Haojun Liao
b658608541
Merge pull request #22388 from taosdata/fix/3_liaohj
other: merge main.
2023-08-10 11:43:02 +08:00
Haojun Liao
4393375e47 fix(stream): set correct task id. 2023-08-10 02:16:04 +08:00
wangmm0220
1f5532fd67 fix:offset error in tmq & add test cases 2023-08-09 19:41:22 +08:00
Haojun Liao
d34b9af054 enh(stream): create update stream trans. 2023-08-09 19:38:13 +08:00
Haojun Liao
4c92997328 fix(stream): use streamId&taskId to identify the stream task in the stream meta. 2023-08-09 15:52:23 +08:00
Haojun Liao
f3c5f20ee2 enh(stream): add timer to check the node changing. 2023-08-09 10:25:16 +08:00
Hui Li
8d7e8f5734
Merge pull request #22336 from taosdata/fix/TD-25445
fix/TD-25445: alter ttlChangeOnWrite note info
2023-08-08 18:19:02 +08:00
Hui Li
4f03ae2c65
Merge pull request #22335 from taosdata/temp/open_case
open split vgroup case
2023-08-08 11:49:28 +08:00
Haojun Liao
a0dcec5890 enh(stream): add function handler for hb message. 2023-08-08 11:23:19 +08:00
dm chen
70a598f072
Merge pull request #22355 from taosdata/3.0
merge 3.0 to TD-22970
2023-08-08 09:53:07 +08:00
Haojun Liao
af3a87560a refactor: do some refactor. 2023-08-08 09:11:41 +08:00
wangmm0220
864d07e1bc feat:[TD-24559]support geomety type in schemaless 2023-08-07 19:39:06 +08:00
dapan1121
11f6f203ed
Merge pull request #22331 from taosdata/fix/TD-25515
fix: ins_indexes vgroup_id using null value instead of -1 for invalid
2023-08-07 19:03:01 +08:00
Benguang Zhao
0e4f1942f1 fix: resolve Vgroup refcount leak in drop topic 2023-08-07 11:13:52 +08:00
Haojun Liao
76288f311f
Merge pull request #22311 from taosdata/fix/TD-25543
delete atomic_exchange_64
2023-08-07 10:34:50 +08:00
Haojun Liao
8a11a0418f other: merge 3.0 2023-08-07 09:19:26 +08:00
Shungang Li
5154d0e1a3 fix: alter ttlChangeOnWrite note info 2023-08-04 17:24:35 +08:00
liuyao
944c1f68d2 delete atomic_exchange_64 2023-08-04 16:49:02 +08:00
Ganlin Zhao
f7a2e0cdab fix: ins_indexes vgroup_id using null value instead of -1 for invalid
value
2023-08-04 15:21:23 +08:00
yihaoDeng
56ed422f88 add stream ver 2023-08-04 14:09:00 +08:00
yihaoDeng
6dc93a8dec add stream ver 2023-08-04 13:52:20 +08:00
yihaoDeng
f7dc9497ef add stream verion 2023-08-03 20:28:34 +08:00
dm chen
5b03ab1705
Merge branch '3.0' into feat/TD-22970 2023-08-03 17:43:51 +08:00
yihaoDeng
4aef18733f fix state mem leak 2023-08-02 03:16:24 +00:00
Haojun Liao
13543f7daa feature(stream): handle task update in tq module. 2023-08-02 10:33:41 +08:00
wangjiaming0909
72dc46600e fix: memory leak when drop db which acquired by user with grant/revoke 2023-08-02 10:09:50 +08:00
Haojun Liao
e1e5e9bb0f enh(stream): check stream tasks dag. 2023-08-02 09:44:39 +08:00
Haojun Liao
c016a58623 enh(stream): do some internal refactor. 2023-08-01 19:22:59 +08:00
Haojun Liao
ad4c5916e7 enh(stream): update the stream task. 2023-08-01 18:14:58 +08:00
Haojun Liao
164bfd5408 enh(stream): prepare update trans. 2023-08-01 16:12:35 +08:00
Haojun Liao
75b1520be0 enh(stream): create task update info 2023-08-01 14:04:07 +08:00
wade zhang
6da5276259
Merge pull request #22264 from taosdata/szhou/fix-ts3749
fix: restore user privilege processing if the rows generated by the u…
2023-08-01 11:21:11 +08:00
slzhou
785326c494 fix: dedicated max privileges rows to 2048 2023-08-01 09:46:08 +08:00
slzhou
411b5d4cf4 fix: increase privileges max block row number to 4096 2023-08-01 09:41:59 +08:00
slzhou
65e028ea5a enhance: add log 2023-07-31 23:27:35 +08:00
slzhou
215e358ce3 fix: restore user privilege processing if the rows generated by the user exceeds max block rows 2023-07-31 19:20:54 +08:00
wangmm0220
cddf27e8b4 fix:add committed & seek process logic 2023-07-31 18:48:50 +08:00
wangmm0220
6179618b17 fix:add committed & seek process logic 2023-07-31 17:56:04 +08:00
wangmm0220
8093ef2dc8 Merge branch 'main' of https://github.com/taosdata/TDengine into mark/tmq 2023-07-31 16:14:25 +08:00
wade zhang
79646fff10
Merge pull request #22246 from taosdata/szhou/fix-ts3744
fix: increase condition size
2023-07-31 14:48:06 +08:00
Haojun Liao
e61aa83594 enh(stream): handle the stream hb. 2023-07-31 14:07:18 +08:00
slzhou
6151b790d9 fix: increase the condition size of user privileges to 48k 2023-07-31 13:25:56 +08:00
wade zhang
bae028d65c
Merge pull request #22230 from taosdata/mark/tmq
fix:semaphore always wait in tmq commit logic
2023-07-31 09:10:13 +08:00
Haojun Liao
cc5ff44604 enh(stream): handle the stream hb. 2023-07-30 19:25:00 +08:00
Haojun Liao
8dfef8768a other: merge 3.0 2023-07-29 22:54:16 +08:00
wangmm0220
ce7db7bf90 fix:subscribe time & return -1 if wal not exist 2023-07-28 15:07:15 +08:00
wangmm0220
6e673072cd fix:conflicts 2023-07-28 14:57:13 +08:00
Haojun Liao
2a78cd2d23
Merge pull request #22215 from taosdata/fix/liaohj
other: merge main.
2023-07-28 13:06:17 +08:00
wangmm0220
2f6c565392 fix:pHandle not load if taosd restart 2023-07-28 11:48:53 +08:00
Shungang Li
fb226c2cdb enh: check cluster ttlChangeOnWrite consistency 2023-07-27 16:49:56 +08:00
Haojun Liao
b145771a1b other: merge 3.0 2023-07-27 16:38:57 +08:00
Haojun Liao
3d403dca5a other: merge main. 2023-07-27 16:23:41 +08:00
wade zhang
cc3cc73cfc
Merge pull request #22199 from taosdata/fix/TS-3708
fix/TS-3708: check term for role time
2023-07-27 15:43:23 +08:00
wangmm0220
2d41a42976 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3728 2023-07-27 15:31:16 +08:00
Shungang Li
167ecea705 fix: check term for role time
1. time of mnode becomes current role in this term
2. show 0 for offline mnodes
2023-07-27 14:16:54 +08:00
Haojun Liao
b1596f8e3e refactor: do some internal refactor. 2023-07-27 01:55:42 +08:00
Haojun Liao
1c1bf63e1f other: merge 3.0 2023-07-25 18:17:11 +08:00
wangmm0220
a3614ca5d2 fix:add assert if exception occurs 2023-07-25 16:18:11 +08:00
wangmm0220
be4e47e9a7 fix:add macro ASSERT_NOT_CORE to control ASSERT not core in release version 2023-07-25 16:15:33 +08:00
Haojun Liao
c0e35df927
Merge pull request #22131 from taosdata/mark/tmq
fix:optimize log & change return value for async interface
2023-07-24 19:40:01 +08:00
wangmm0220
9628a9f74e fix:open info log in tmq & ignore wal apply ver when read wal 2023-07-24 15:53:02 +08:00
Haojun Liao
1e34f84f78 other: merge 3.0 2023-07-24 15:23:03 +08:00
kailixu
cf59a6cff0 chore: set user for dm transport 2023-07-24 14:24:47 +08:00
wangmm0220
8f15795cc1 fix:judge if pTopic is NULL 2023-07-21 19:47:31 +08:00
dmchen
7d480cf3ac compatible old sync config 2023-07-21 10:31:53 +08:00
Haojun Liao
d0da988b7d Merge branch '3.0' into fix/3_liaohj 2023-07-21 09:47:44 +08:00
dapan1121
d81727afa9
Merge pull request #22130 from taosdata/fix/TD-25270
enh: support show create table for system tables
2023-07-21 09:26:11 +08:00
Haojun Liao
db46d31ca5 fix(stream): refactor the halt function. 2023-07-21 01:32:42 +08:00
Ganlin Zhao
076a425d53 fix: fix show create table issue for system tables 2023-07-20 17:21:24 +08:00
Haojun Liao
87fa8f0c4c Merge branch '3.0' into fix/3_liaohj 2023-07-20 12:15:23 +08:00
Haojun Liao
97c44e7c18 refactor: do some internal refactor. 2023-07-19 18:42:02 +08:00
dapan1121
cbe03ef212
Merge pull request #22069 from taosdata/enh/TS-2288
enh: add scope for show xx variables
2023-07-19 18:01:11 +08:00
dmchen
8062d603b7 restore old change replica 2023-07-19 15:35:37 +08:00
tangfangzhi
69fae62003 error message 2023-07-19 15:04:39 +08:00
dm chen
141004bf77
Merge branch '3.0' into feat/TD-22970 2023-07-19 10:57:40 +08:00
tangfangzhi
4cdfd0e1e8 conflict 2023-07-19 10:50:46 +08:00
liuyao
fd02b9a71e
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-19 10:02:06 +08:00
dmchen
93766f8c96 memory leak 2023-07-19 08:32:16 +08:00
wade zhang
5f6afc6661
Merge pull request #22107 from taosdata/fix/TD-25232
fix/TD-25232: alter keeptimeoffset by 'k v' or 'k' 'v'
2023-07-18 18:30:30 +08:00
dmchen
3711fdd865 feat/TD-22970 2023-07-18 16:09:38 +08:00
Shungang Li
dfaf9134c6 fix: alter keeptimeoffset by 'k v' or 'k' 'v' 2023-07-18 16:04:38 +08:00
wangmm0220
08c50dfbb4 fix:add sdbFetchCancel to release hash node 2023-07-18 15:21:35 +08:00
wangmm0220
2c80d7e621 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3672 2023-07-18 14:59:06 +08:00
dmchen
97a81bd8ed fix/TD-25179 2023-07-18 11:27:01 +08:00
Haojun Liao
0c64e67fda fix(stream): fix set upstream info for history task. 2023-07-18 10:19:13 +08:00
wangmm0220
6c35081507 fix:add sdbFetchCancel to release hash node 2023-07-18 09:54:35 +08:00
yihaoDeng
8ab545ac77 fillhistory task not trigger checkpoint 2023-07-18 01:16:48 +00:00
wade zhang
7e89622149
Merge pull request #22092 from taosdata/fix/TD-25232
fix/TD-25232: alter dnode keeptimeoffset err
2023-07-18 09:10:40 +08:00
dapan1121
73c6666e62
Merge pull request #22096 from taosdata/fix/TD-25210-3.0
fix: add sma option when show create table for stb/ntb
2023-07-18 09:09:49 +08:00
Haojun Liao
2f24f776fb fix(stream): fix error in generating checkpoint for state_window. 2023-07-18 09:04:28 +08:00
kailixu
cf39fcdd12 fix: add sma option when show create table for stb/ntb 2023-07-17 22:24:27 +08:00
wangmm0220
da9e30434a fix:add sdbFetchCancel to release hash node 2023-07-17 20:21:23 +08:00
wangmm0220
8d8e12ee0d fix:add sdbFetchCancel to release hash node 2023-07-17 20:20:34 +08:00
yihaoDeng
b56e442478 Merge branch 'enh/dev33' into enh/triggerCheckPoint2 2023-07-17 11:41:38 +00:00
Shungang Li
1d0c73feb6 fix: alter dnode keeptimeoffset err 2023-07-17 18:37:00 +08:00
Ganlin Zhao
929db3d647 Merge branch '3.0' into enh/TS-2288 2023-07-17 16:09:07 +08:00
Ganlin Zhao
13e6a04e8f fix scope 2023-07-17 15:56:21 +08:00
Haojun Liao
b2a905bd91
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-17 11:50:12 +08:00
kailixu
0e6b982682 chore: more code 2023-07-17 09:19:24 +08:00
yihaoDeng
3c4631ef1f add checkpoint 2023-07-14 10:06:24 +00:00
Ganlin Zhao
7935d824b6 enhance show variables output 2023-07-14 13:57:02 +08:00
kailixu
163adf1908 chore: dm monitor refactor 2023-07-14 13:27:19 +08:00
yihaoDeng
dd4740e5a4 add checkpoint 2023-07-14 03:45:30 +00:00
liuyao
52f749f8cc sma not support multiple replicas 2023-07-14 10:36:32 +08:00
yihaoDeng
44170b9b16 fix recover error 2023-07-14 10:36:27 +08:00
yihaoDeng
17b7e3cc82 Merge branch 'enh/triggerCheckPoint2' of https://github.com/taosdata/TDengine into enh/triggerCheckPoint2 2023-07-13 20:47:18 +08:00
yihaoDeng
e588640e02 fix recover error 2023-07-13 20:46:58 +08:00
Haojun Liao
e0ea0f2df4
Merge pull request #22020 from taosdata/fix/liaohj
other: merge main
2023-07-13 17:55:28 +08:00
Haojun Liao
e2ae868377
Merge pull request #22032 from taosdata/mark/tmq
fix:set firset version to reqOffset of response
2023-07-13 16:35:21 +08:00
Haojun Liao
813f4cb363 refactor: do some internal refactor. 2023-07-13 16:32:25 +08:00
Haojun Liao
f41bcd73b0 other: merge main. 2023-07-13 11:02:09 +08:00
Haojun Liao
c388802bda
Merge pull request #22024 from taosdata/fix/3_liaohj
fix(stream): fix concurrent bug in save task meta.
2023-07-12 18:17:27 +08:00
Haojun Liao
9484f3da94
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-12 10:20:18 +08:00
Haojun Liao
fed3803739 fix(stream): fix memory leak. 2023-07-11 19:29:52 +08:00
wangmm0220
cb62d4cb97 fix:set firset version to reqOffset of response 2023-07-11 14:49:53 +08:00
Haojun Liao
3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
yihaoDeng
e263d5f55f add checkpoint 2023-07-10 17:33:48 +08:00
Ganlin Zhao
b9c3ee387e remove wal_roll_period/wal_retention_size from
information_schema.ins_databases
2023-07-10 16:16:27 +08:00
yihaoDeng
4d838d3dff add checkpoint 2023-07-10 15:51:35 +08:00
dmchen
0a86523bcb fix/TS-3589 2023-07-10 14:58:28 +08:00
Haojun Liao
f6515e2a2c fix(stream): fix error in checkpointing. 2023-07-10 11:43:37 +08:00
wangmm0220
35ba132a29 fix:conflicts from main 2023-07-09 12:52:18 +08:00
yihaoDeng
2dc041929a add checkpoint 2023-07-07 10:13:31 +00:00
Haojun Liao
d7101f7109 enh(stream): support dispatch checkpoint msg. 2023-07-06 18:26:22 +08:00
wangmm0220
47ae92af93 fix:conflicts from main 2023-07-06 13:40:04 +08:00
yihaoDeng
483f9ab896 add other 2023-07-06 03:39:28 +00:00
Haojun Liao
f4a3567935 other: merge 3.0 2023-07-06 11:24:30 +08:00
wangmm0220
34a62c3f38 fix:vginfo assigment not in same time,we should get vginfo by vg,not all vg 2023-07-05 22:55:41 +08:00
Ganlin Zhao
e84ca5b838 fix: fix show queries output wrongly displayed 2023-07-04 13:53:09 +08:00
wangmm0220
a641a07085 fix:[TD-25071] pSub is null & return wal not exist if no data 2023-07-04 11:13:03 +08:00
Haojun Liao
200575647c
Merge branch '3.0' into refact/fillhistory 2023-07-03 15:16:18 +08:00
dapan1121
a36dac2008
Merge pull request #21893 from taosdata/fix/TS-3551-M
enh: update of user auth version
2023-07-03 14:58:09 +08:00
liuyao
bc5e709d31 set task status of ins_stream_tasks 2023-07-03 14:00:30 +08:00
liuyao
863da2ae05 set task status of ins_stream_tasks 2023-07-03 11:10:38 +08:00
wade zhang
1a069970c0
Merge pull request #21911 from taosdata/fix/TD-25052
fix/TD-25052
2023-07-03 09:37:01 +08:00
Ganlin Zhao
e1c62d17bc Merge branch '3.0' into fix/TD-25064 2023-07-03 09:08:53 +08:00
kailixu
c16088fffa chore: remove obsolete code 2023-06-30 19:31:56 +08:00
kailixu
c81ecb1771 chore: make jenkins happy 2023-06-30 19:22:14 +08:00
Ganlin Zhao
e14a0e154f fix asan error 2023-06-30 17:37:06 +08:00
kailixu
067a8334fd chore: code optimization 2023-06-30 16:30:04 +08:00
kailixu
387d611179 chore: passVer and authVer refact 2023-06-30 14:52:20 +08:00
dmchen
99192b2998 fix/TD-25052 2023-06-30 12:38:52 +08:00
dmchen
1b68bfb473 fix/TS-3589 2023-06-29 18:14:35 +08:00
yihaoDeng
b377fcffad fix:show subscriptions error 2023-06-29 16:04:02 +08:00
yihaoDeng
0b3fbfd87f fix:compile error 2023-06-29 14:40:32 +08:00
dapan1121
c8435de64a
Merge branch '3.0' into fix/m23.0 2023-06-29 14:03:56 +08:00
dapan1121
5ee1fbee7e fix: code merge issue 2023-06-29 14:01:19 +08:00
dapan1121
bb1e24dda4 Merge remote-tracking branch 'origin/main' into fix/m23.0 2023-06-29 13:59:56 +08:00
dapan1121
edf5b8c936 fix: code merge issue 2023-06-29 13:59:39 +08:00
wangmm0220
b264640ca1 fix:error in limit for tmq group 2023-06-29 11:15:53 +08:00
dapan1121
3519e9170e Merge remote-tracking branch 'origin/main' into 3.0 2023-06-29 11:13:45 +08:00
wangmm0220
4c39629d3c Merge branch 'main' of https://github.com/taosdata/TDengine into mark/tmq 2023-06-29 10:48:41 +08:00
wangmm0220
64d8d63f3d fix:error in limit for tmq group 2023-06-29 10:47:55 +08:00
kailixu
1e9b85545b chore: more code 2023-06-28 20:57:05 +08:00
kailixu
aefebfca7f enh: update of user auth version 2023-06-28 20:49:29 +08:00
Haojun Liao
d0542f99e2
Merge pull request #21744 from taosdata/mark/tmq
opti:tmq logic
2023-06-28 17:23:56 +08:00
wangmm0220
4ead47bcbd fix:add rows to pSub if rebalance 2023-06-28 16:43:30 +08:00
wangmm0220
865a3b2509 fix:add rows to pSub if rebalance 2023-06-28 16:37:57 +08:00
wangmm0220
ce0b71c634 fix:add rows to pSub if rebalance 2023-06-28 15:57:30 +08:00
wangmm0220
4a17f4b9f5 fix:add rows to pSub if rebalance 2023-06-28 14:57:31 +08:00
slzhou
fc3fe9dff8 fix: remove connect to mnode 2023-06-28 13:49:13 +08:00
wangmm0220
fb82b61d2f fix:pSub is null 2023-06-28 10:35:38 +08:00
wangmm0220
d34dc1242f fix:memory leak 2023-06-28 09:41:20 +08:00
Yihao Deng
4de7db06f9
Merge branch '3.0' into enh/triggerCheckPoint2 2023-06-27 17:57:14 +08:00
wangmm0220
7e38ef7091 fix:add limit for topic and group num 2023-06-27 17:44:51 +08:00
wangmm0220
4b95ea9cad fix:clear consumer if normal close 2023-06-27 17:11:20 +08:00
Haojun Liao
32fddeff18 fix(stream): fix error retrieve data from source task.And optimize the test cases. 2023-06-27 16:24:47 +08:00
Haojun Liao
3289ad62be other: merge 3.0 2023-06-27 11:33:40 +08:00
wade zhang
d7e9eda6bc
Merge pull request #21844 from taosdata/FIX/TD-24924-3.0
enh:  change trans conflict scope of create topic
2023-06-27 10:47:53 +08:00
Benguang Zhao
69d451db26 enh: check trans conflict in mndCreateTopic ahead of time 2023-06-26 19:49:47 +08:00
Benguang Zhao
9e2062f54a fix: resolve memory leak on exceptions in mndCreateTopic 2023-06-26 19:49:47 +08:00
Haojun Liao
437eb93a4d fix(stream): fix error while fill history exists. 2023-06-26 18:44:59 +08:00
dapan1121
4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Benguang Zhao
14e2e1e574 fix: change conflict scope of create topic to be DB inside 2023-06-26 18:23:19 +08:00
wangmm0220
0ae6cd7a89 fix:memory leak 2023-06-26 17:27:13 +08:00
Haojun Liao
01c0bbb3f8
Merge pull request #21827 from taosdata/feature/TS-3495
fear:fix error for report offset & rows in tmq
2023-06-26 16:54:42 +08:00
Haojun Liao
daafe240ed fix(stream): fix memory leak. 2023-06-26 14:18:47 +08:00
Benguang Zhao
e8649670aa enh: not allow to split vgroup when streams or topics exist 2023-06-26 11:57:24 +08:00
wangmm0220
7c9168f4b4 Merge branch 'mark/tmq' of https://github.com/taosdata/TDengine into mark/tmq 2023-06-26 11:42:52 +08:00
shenglian zhou
2f9c8417b6 fix: use appname to see whether it is udfd 2023-06-26 07:53:00 +08:00
yihaoDeng
04ab8e19d0 Merge branch 'enh/dev30' into enh/triggerCheckPoint2 2023-06-25 19:58:45 +08:00
Haojun Liao
000325f716 fix(stream): fix memory leak. 2023-06-25 19:30:21 +08:00
wangmm0220
7a49d67078 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TS-3495 2023-06-25 14:54:16 +08:00
shenglian zhou
fd754eaa08 fix: udfd can not connect to taosd since authentification failure 2023-06-25 11:31:33 +08:00
liuyao
c950c7379d Merge branch 'refact/fillhistory' of https://github.com/taosdata/TDengine into refact/fillhistory 2023-06-25 10:58:43 +08:00
liuyao
e9d3198e05 mem leak 2023-06-25 10:57:10 +08:00
Haojun Liao
6857881742 Merge branch '3.0' into refact/fillhistory 2023-06-25 10:41:32 +08:00
wade zhang
254a20bdf3
Merge pull request #21660 from luckeverda/feat/TD-23739
feat/TD-23739: enhance ttl, deletetime modified by writing-op
2023-06-25 09:06:57 +08:00
Haojun Liao
ceb78fdad2
Merge branch '3.0' into refact/fillhistory 2023-06-24 18:53:48 +08:00
wade zhang
e95b430e89
Merge pull request #21786 from taosdata/FIX/TD-24817-3.0
enh: make alter-hashrange atomic and idempotent
2023-06-21 13:29:04 +08:00
Shungang Li
b93f653d7e feat: enhance ttl, deletetime modified by writing-ops
new config item: ttlChangeOnWrite (default 0)
ttl delete time changes on last write if true
2023-06-19 19:03:35 +08:00
liuyao
41c193945f fill history pause&resume 2023-06-19 17:28:19 +08:00
Benguang Zhao
20a55c3412 fix: make vmProcessAlterHashRangeReq idempotent 2023-06-19 15:09:00 +08:00
yihaoDeng
0eeaab9cd3 Merge branch 'refact/fillhistory1' into refact/fillhistory 2023-06-19 13:53:37 +08:00
yihaoDeng
fd85a8495a Merge branch 'dev30' into enh/triggerCheckPoint2 2023-06-17 14:17:21 +08:00
yihaoDeng
b6fe5d917b refactor checkpoint 2023-06-17 14:05:49 +08:00
wangmm0220
c5dfe169a6 fix:error 2023-06-16 19:33:03 +08:00
wangjiaming0909
bc2cc64873 fix: show queries returned less rows when one conn has more than 100 queries 2023-06-16 18:17:56 +08:00
yihaoDeng
8937192799 refactor checkpoint 2023-06-16 18:04:57 +08:00
yihaoDeng
5cd35cc18c refactor checkpoint 2023-06-16 17:28:54 +08:00
yihaoDeng
b0a3a8d619 refactor checkpoint 2023-06-16 17:28:50 +08:00
Haojun Liao
64365666b7 fix(stream): update the info, and do some internal refactor. 2023-06-16 16:04:43 +08:00
wangmm0220
779e35b679 fix:drop consumer wher drop topic or group 2023-06-16 13:52:08 +08:00
Haojun Liao
933801269a fix(stream): fix memory leak and failed to close vnode. 2023-06-16 09:55:11 +08:00
yihaoDeng
9f9171719a support fill history 2023-06-15 21:29:52 +08:00
wangmm0220
38dc8e2107 Merge branch 'fix/TS-3540' of https://github.com/taosdata/TDengine into fix/TS-3540 2023-06-15 19:45:15 +08:00
wangmm0220
c243e470c9 fix:null pointer error if restore from file 2023-06-15 19:44:58 +08:00
wangmm0220
e019ed2cc3 fix:conflict 2023-06-15 18:50:44 +08:00
wangmm0220
5de4600739 fix:remove lost_reb status 2023-06-15 18:48:45 +08:00
Haojun Liao
f3df37bf28 fix(stream): fix memory leak. 2023-06-15 17:56:58 +08:00
yihaoDeng
a17a8cc192 fix:null pointer error 2023-06-15 16:35:53 +08:00
wangmm0220
a7a518aaed opti:tmq logic 2023-06-15 15:44:52 +08:00
Haojun Liao
74e0138f72 Merge branch '3.0' into refact/fillhistory 2023-06-15 15:25:00 +08:00
wangmm0220
22776e60d5 fix:control memory size if consumer group is too much 2023-06-15 14:51:04 +08:00
Haojun Liao
1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Haojun Liao
55724157c4 refactor: remove one function. 2023-06-15 10:40:25 +08:00
dapan1121
0c2bfde7fe
Merge pull request #21706 from taosdata/szhou/version-not-compatible-log
enhance: version not compatible log
2023-06-15 09:05:47 +08:00
yihaoDeng
bd0168e562 trigger checkpoint 2023-06-14 21:43:47 +08:00
yihaoDeng
551cd7cdc8 trigger checkpoint 2023-06-14 21:14:00 +08:00
Yihao Deng
7ded6fc7a2
Merge branch '3.0' into enh/triggerCheckPoint2 2023-06-14 16:30:38 +08:00
yihaoDeng
52ca94ea6d trigger checkpoint 2023-06-14 16:20:14 +08:00
wangmm0220
864236a8dc fix:conflicts 2023-06-14 12:05:10 +08:00
wangmm0220
c28d7d9bf8 fix:open info log in tmq client & modify parametes in show consumers 2023-06-14 12:01:54 +08:00
Haojun Liao
b44447e6f3 enh(stream): support restore from disk. 2023-06-14 10:19:03 +08:00
Haojun Liao
4fac83ecf2
Merge pull request #21709 from taosdata/feature/TD-24749
feat:control memory size if consumer group is too much
2023-06-14 10:15:20 +08:00
wangmm0220
827e84b1a5 fix:memory leak 2023-06-13 17:10:23 +08:00
dapan1121
f84eef0ac4
Merge branch '3.0' into feat/TD-24499 2023-06-13 15:27:18 +08:00
wangmm0220
d8d6b6dd21 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-24749 2023-06-13 15:15:05 +08:00
wangmm0220
8a81278024 fix:load pHandle if necessary wher tq restore 2023-06-13 15:14:11 +08:00
Haojun Liao
933d08b489
Merge pull request #21690 from taosdata/feature/TS-3495
feat:add parameters for consumer & add offset rows for subscription
2023-06-13 14:59:15 +08:00
shenglian zhou
28e6c45021 enhance: version not compatible log 2023-06-13 14:41:42 +08:00
dapan1121
73d3c21e21 Merge remote-tracking branch 'origin/3.0' into feat/TD-24499 2023-06-13 11:44:41 +08:00
wangmm0220
fb123d8761 fix:conflict from 3.0 2023-06-13 09:47:08 +08:00
wangmm0220
fb59ec4591 feat:move plan msg from vginfo to subscription info 2023-06-13 09:32:54 +08:00
yihaoDeng
83dde6a212 add trigger checkpoint 2023-06-12 14:33:08 +00:00
wangmm0220
a723fc37c3 fix:modify offset description to string 2023-06-12 17:18:06 +08:00
dapan1121
59b8cfbc7d enh: add sub_query in systable and kill subquery 2023-06-12 17:14:41 +08:00
wangmm0220
fe155898fe fix:modify offset description to string 2023-06-12 16:34:53 +08:00
wangmm0220
6657b8d849 fix:modify offset description to string 2023-06-12 09:44:00 +08:00
Benguang Zhao
3689b41f3a Merge branch '3.0' into FIX/TD-24182-3.0 2023-06-12 09:39:49 +08:00
slzhou
76d341682e fix: select * from information_schema.ins_columns can not complete 2023-06-09 20:55:17 +08:00
yihaoDeng
404c43d1de add trigger checkpoint 2023-06-09 10:59:55 +00:00
wangmm0220
aa610b27a4 feat:add parameters for consumer & add offset rows for subscription 2023-06-09 18:51:10 +08:00
yihaoDeng
a0c2897124 add trigger checkpoint 2023-06-09 10:46:03 +00:00
Haojun Liao
69c9eda7af fix(stream): fix race condition. 2023-06-09 11:37:38 +08:00
Haojun Liao
53246ed6bb other: merge other branch. 2023-06-09 09:41:10 +08:00
wangmm0220
d7a4817124 feat:add parameters for consumer & add offset rows for subscription 2023-06-08 19:11:15 +08:00
wangmm0220
ac5862c321 feat:add parameters for consumer & add offset rows for subscription 2023-06-08 19:08:22 +08:00
wangmm0220
3f46a9bbc9 feat:add parameters for consumer & add offset rows for subscription 2023-06-08 18:14:02 +08:00
Haojun Liao
6c13491428 refactor: do some internal refactor. 2023-06-08 16:55:41 +08:00
yihaoDeng
88d765c71a add trigger checkpoint 2023-06-07 14:32:56 +00:00
yihaoDeng
1f1f37312d add trigger checkpoint 2023-06-07 14:32:48 +00:00
Haojun Liao
06cf3588da refactor: do some internal refactor. 2023-06-07 15:03:04 +08:00
dmchen
169a2bd349 fix/TD-24644 2023-06-07 11:13:48 +08:00
Haojun Liao
6a3c935b4a fix(stream): fix error in fill history scan. 2023-06-07 09:15:55 +08:00
dapan1121
fe7ba9d92e
Merge pull request #21523 from taosdata/feat/TS-3134-3.0
feat: allow user to reset root passwd
2023-06-06 11:10:11 +08:00
dapan1121
dff35ac584
Merge pull request #21550 from wangjiaming0909/feature/3.0/TD-23974
feature: add user priv when create db, remove priv check with create_dbs
2023-06-06 11:06:18 +08:00
Haojun Liao
0dd933013c enh(stream): make history task for stream running. 2023-06-05 17:58:00 +08:00
Haojun Liao
fcc706c45c enh(stream): refactor the fill history task. 2023-06-05 15:59:01 +08:00
Haojun Liao
077e1a1ed4 Merge branch '3.0' into refact/fillhistory 2023-06-05 11:41:13 +08:00
Benguang Zhao
ae26f701ae fix: ignore TSDB_CODE_MND_TRANS_SYNC_TIMEOUT on updating trans 2023-06-02 18:49:15 +08:00
wangmm0220
b2f0d88639 fix:conflict 2023-06-02 15:43:35 +08:00
Haojun Liao
d45aa7ef84
Merge pull request #21555 from taosdata/fix/liaohj_main
other: merge main into 3.0.
2023-06-02 13:11:12 +08:00
wangmm0220
56782a5d41 fix:open task case & modify mqRebVgReq encode/decode style 2023-06-01 18:29:16 +08:00
Benguang Zhao
2ef2715ee1 enh: add mndAddVgStatusAction and mndAddDbStatusAction 2023-06-01 17:58:27 +08:00
wangmm0220
bb772e2062 fix:make version compatible 2023-06-01 17:03:02 +08:00
wangmm0220
21920721f3 fix:make version compatible 2023-06-01 15:10:08 +08:00
Haojun Liao
5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
wangjiaming0909
60100a0fb6 feature: add user priv when create db, remove priv check with create_dbs 2023-05-31 18:43:56 +08:00
Benguang Zhao
28efd7dcd7 enh: check trans conflicts in mndTransValidate 2023-05-31 10:53:36 +08:00
Benguang Zhao
4a6d81855b enh: add mndTransValidate for prepare actions 2023-05-30 18:50:00 +08:00
Haojun Liao
eda06081ff enh(stream): refactor and serialize the attributes of history tasks. 2023-05-30 16:55:37 +08:00
Haojun Liao
d9c364d663 Merge branch '3.0' into refact/fillhistory 2023-05-30 15:51:12 +08:00
Haojun Liao
be8fd9e48b enh(stream): create additional task for history data processing. 2023-05-30 14:47:10 +08:00
Benguang Zhao
6679b8af7b fix: release action.pCont on error 2023-05-30 10:55:56 +08:00
wangmm0220
d490ca753f Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 09:48:49 +08:00
Haojun Liao
2977a4d07f refactor: do some internal refactor. 2023-05-30 09:41:19 +08:00
Haojun Liao
bcba18d90e
Merge pull request #21521 from taosdata/refact/fillhistory
refactor: do some internal refactor.
2023-05-30 00:38:38 +08:00
kailixu
9501d4f417 feat: allow user to reset root passwd 2023-05-29 19:44:11 +08:00
Haojun Liao
3628888ecc refactor: do some internal refactor. 2023-05-29 18:02:45 +08:00
Haojun Liao
cd2d225c93 refactor: do some internal refactor. 2023-05-29 17:50:39 +08:00
dmchen
23983e506f fix test case 2023-05-29 16:12:26 +08:00
Haojun Liao
f2887278e2 refactor: do some internal refactor. 2023-05-29 15:44:45 +08:00
wangmm0220
78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
Benguang Zhao
3c698b2461 enh: add mndAddPrepareNewVgAction 2023-05-29 14:13:11 +08:00
Benguang Zhao
873ad8839b enh: add prepareActions in STrans 2023-05-29 14:13:11 +08:00
tangfangzhi
e21a2f9cce check empty 2023-05-29 14:02:36 +08:00
wangmm0220
a71878d07f feat: support create topic as stable with conditions 2023-05-29 11:46:59 +08:00
dmchen
24937c3d5b check empty dnode 2023-05-26 19:01:13 +08:00
dmchen
fcf2b58aad check offline when force 2023-05-26 12:48:37 +08:00
wade zhang
57b999233d
Merge pull request #21483 from taosdata/fix/prompt-message-when-2-mnode
prompt message when 2 mnode
2023-05-26 09:35:03 +08:00
Haojun Liao
cea8334427
Merge pull request #21449 from taosdata/refact/fillhistory
refactor: remove the module dependency.  TD-24279
2023-05-26 09:01:45 +08:00
dmchen
efa1570b6e prompt message when 2 mnode 2023-05-25 20:10:40 +08:00
Benguang Zhao
f8841046bc enh: refactor func name of mndTransPerformFinishStage 2023-05-25 15:44:26 +08:00
Benguang Zhao
30104f300c enh: refactor func names of mndTransPerformFinishedStage and mndTrancCheckConflict 2023-05-25 15:44:26 +08:00
Haojun Liao
4a42f6b983 fix: fix error in api call. 2023-05-25 00:50:03 +08:00
wangmm0220
8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +08:00
Dingle Zhang
984211f3b4
Feature/3.0 geometry (#21037)
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.

* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling

* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh

* Add a function MakePoint() and introduce a lib geometry

* implement sql functions GeomFromText() and AsText()

* Use GEOS *_r funcions instead for thread safety

* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.

* refactor AsText and MakePoint functions to be like GeomFromText

* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file

* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.

* set number of decimals of WKT to 6

* Implement SQL function Intersects()

* refactor geometry sql functions

* Add geosErrMsgeHandler() to get the GEOS error detail

* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists

* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.

* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.

* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn

* Add prefix "ST_" for all geometry functions

* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile

* Add unit test for geometry lib, only test MakePoint so far

* refactor and enhance existing cases in geomFuncTest

* implement NULL type and NULL value test for geomFuncTest

* add test on geomFromText()

* add unit test on AsText() in geomFuncTest

* combine some makePointFunction test items

* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions

* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content

* add more cases into intersectsFunction test

* Add basic test on geometry in system test

* Add ST_GeomFromText and ST_AsText function test in system test on geometry

* add ST_Intersects function test in system test on geometry

* support to check expectedErrno in system test on geometry

* adjust geomTest unit test and geometry system test

* add geometry data type and functions in doc english version

* implement touchesFunction() in geometry lib
refactor geometry relation functions model

* separate gemFuncTest into several src files

* add unit test on touchesFunction

* support sql function ST_Touches()
add system test on ST_Touches

* add docs for ST_Touches()

* Add ST_Contains()

* Add ST_Covers()

* Add ST_Equals()

* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()

* Add ST_ContainsProperly()

* build on windows

* Merge from 3.0 to 3.0_geometry

* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility

* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()

* add /usr/local/include into include directory

* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00
Haojun Liao
99f669434a
Merge pull request #21282 from taosdata/feature/TD-23117
feat:[TD-23117] add schema for ins_topics
2023-05-24 14:54:42 +08:00
dmchen
ab3d54aae3 comfirm msg when add learner 2023-05-24 11:08:41 +08:00
kailixu
34cf6aad30 fix: alter dnode option has no effect 2023-05-23 18:29:53 +08:00
dapan1121
6e5ec3d097
Merge pull request #21358 from taosdata/feat/TD-23362-3.0
feat: support update active code by SQL
2023-05-20 14:09:20 +08:00
dapan1121
42c65898ea
Merge pull request #21335 from taosdata/feat/TD-22746
feat: support client meta control
2023-05-19 16:55:08 +08:00
dapan1121
6e6853413c fix: db cfg memory issue 2023-05-19 16:48:05 +08:00
kailixu
8fd4b27c43 chore: code optimization 2023-05-19 16:10:44 +08:00
kailixu
301f7f7a41 Merge branch 'feat/TD-23362-3.0' of https://github.com/taosdata/TDengine into feat/TD-23362-3.0 2023-05-19 16:06:36 +08:00
kailixu
8571e6f6c5 chore: code optimization 2023-05-19 16:06:20 +08:00
kailixu
de93895859 chore: code optimization 2023-05-19 09:25:26 +08:00
wade zhang
1ade314043
Merge pull request #21325 from taosdata/feat/force-drop-dnode
Feat/force drop dnode
2023-05-19 09:23:54 +08:00
kailixu
c770a5c306 chore: code optimization 2023-05-19 06:59:28 +08:00
kailixu
e3f194ed9b chore: code optimization 2023-05-18 19:13:04 +08:00
kailixu
1de90208f7 test: test case for alter dnode active code 2023-05-18 18:02:48 +08:00
liuyao
da3fc5111e fix pause agg task 2023-05-18 15:29:41 +08:00
kailixu
0e891c5c14 chore: more code 2023-05-18 13:30:45 +08:00
kailixu
ab06dd04f4 feat: support update active code in sdb 2023-05-18 13:01:28 +08:00
kailixu
5098d44068 feat: support update active code in sdb 2023-05-18 12:59:44 +08:00
dapan1121
f5ebc17fae
Merge branch '3.0' into feat/TD-22746 2023-05-18 09:10:49 +08:00
dmchen
32c6ef4b6e fix ci 2023-05-17 23:09:16 +08:00
kailixu
cf0d3ddde3 feat: support update active code by SQL 2023-05-17 20:27:12 +08:00
dmchen
c7911c6640 fix ci 2023-05-17 18:33:35 +08:00
Haojun Liao
ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +08:00
Haojun Liao
041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
dapan1121
fb7a06e06e
Merge pull request #21271 from taosdata/enh/tsbsPerf.4
Enh/tsbs perf.4
2023-05-17 11:00:14 +08:00
dmchen
9ff56a4e2b unsafe command 2023-05-16 14:02:54 +08:00
liuyao
3c81137ffe pause source task 2023-05-16 13:43:46 +08:00
dapan1121
ee2521a6ab Merge remote-tracking branch 'origin/3.0' into feat/TD-22746 2023-05-16 10:53:21 +08:00
dapan1121
143d3b2ee9
Merge pull request #21291 from taosdata/feat/TD-24115-3.0D
feat: create dnode limited by grant of cpu cores
2023-05-15 18:01:03 +08:00
cadem
72c543563f force drop dnode 2023-05-15 11:20:27 +08:00
Haojun Liao
6f7add8870 refactor: do some internal refactor. 2023-05-15 10:48:03 +08:00
Haojun Liao
170c603995 other: merge 3.0 2023-05-13 20:16:55 +08:00
kailixu
2b9f9add3a feat: create dnode limited by grant of cpu cores 2023-05-13 20:10:02 +08:00
Haojun Liao
99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
Haojun Liao
236926b9ee other: merge enh/rocksdbstate 2023-05-13 19:49:28 +08:00
Haojun Liao
1975e94501 Merge branch 'main' into enh/rocksdbSstate 2023-05-13 19:41:03 +08:00
wangmm0220
c95e314896 feat:[TD-23117] fix overflow in stack & add test case 2023-05-12 19:43:16 +08:00
wangmm0220
e17a105eff feat:[TD-23117] add schema for ins_topics 2023-05-12 18:14:43 +08:00
dapan1121
69795286fa Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4 2023-05-12 13:46:16 +08:00
Haojun Liao
7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
dapan1121
eda4c85dbb
Merge pull request #21253 from taosdata/feat/TD-23643-3.0
feat: support connectors licensing
2023-05-11 18:19:04 +08:00
kailixu
4339a0a320 chore: for compatibility 2023-05-11 15:09:02 +08:00
kailixu
efd6b578ff chore: more code 2023-05-11 14:57:50 +08:00
kailixu
f444b7ac6a chore: more code 2023-05-11 13:03:21 +08:00
kailixu
bd00a4f217 chore:more code 2023-05-11 11:32:39 +08:00
kailixu
fd107f2c26 chore: more code 2023-05-11 00:16:41 +08:00
dapan1121
daedb3618b Merge remote-tracking branch 'origin/3.0' into feat/TD-22746 2023-05-10 17:47:11 +08:00
dapan1121
79d4403377 feat: add client meta limitation 2023-05-10 17:44:53 +08:00
dmchen
06d94f6cd8 to enterprise 2023-05-10 17:16:04 +08:00
wangjiaming0909
8f1ed44989 fix: connect error when login with information_schema/performance_schema 2023-05-10 16:48:24 +08:00
yihaoDeng
5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
dmchen
565c930f77 check 2 mnode 2023-05-10 15:50:54 +08:00
cadem
cec27609c2 add to enterprise 2023-05-10 14:42:15 +08:00
dmchen
9b29cfe831 fix/restore check 2023-05-10 14:36:52 +08:00
dmchen
3fab2201a0 link command to implementation 2023-05-10 11:23:35 +08:00
Yihao Deng
c6e5879f44
Merge branch 'main' into enh/rocksdbSstate 2023-05-10 10:04:28 +08:00
yihaoDeng
8356533eb1 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-09 12:13:16 +00:00
cadem
843d606058 feat/restore dnode 2023-05-09 17:15:37 +08:00
dapan1121
52fd6a84ac enh: support db cfg cache update 2023-05-09 17:04:20 +08:00
dapan1121
1f973123c4
Merge pull request #21177 from taosdata/fix/TD-23972
fix:[TD-23972] push subscribe msg to vnode even though consumer not c…
2023-05-08 20:29:31 +08:00
kailixu
e4882765ae Merge branch '3.0' into feat/TD-23643-3.0 2023-05-08 16:28:20 +08:00
dmchen
4eed65432c colid overflow 2023-05-08 13:26:11 +08:00
Yihao Deng
cb223acf82
Merge branch 'main' into enh/rocksdbSstate 2023-05-08 09:45:27 +08:00
wade zhang
39369ae578
Merge pull request #21136 from taosdata/fix/transaction-multithread
transaction multithread
2023-05-07 14:47:25 +08:00
kailixu
2be6ff4630 chore: more code 2023-05-06 20:38:50 +08:00
dmchen
a425f08504 use wrong usedb map 2023-05-06 19:53:57 +08:00
wangmm0220
279fe0803f fix:[TD-23972] push subscribe msg to vnode even though consumer not change 2023-05-06 18:35:24 +08:00
Benguang Zhao
70d21efeb6 Merge branch 3.0 to FIX/TD-18702-3.0 2023-05-06 14:56:03 +08:00
Benguang Zhao
fced627021 enh: add mndTransCommitVgStatus 2023-05-06 14:37:38 +08:00
wade zhang
81624db1ed
Merge pull request #21146 from taosdata/fix/balance-leader-skew
balance leader skew
2023-05-06 13:42:47 +08:00
wade zhang
ca790277b9
Merge pull request #21140 from taosdata/fix/int16-overflow
int16 overflow
2023-05-06 13:27:55 +08:00
Haojun Liao
da6212bab0 other: merge main. 2023-05-06 12:51:38 +08:00
Shengliang Guan
9f07e5a9b6
Merge pull request #21155 from taosdata/FIX/TD-18702-3.0
enh: commit vnode after consolidating alter hash range
2023-05-06 11:16:18 +08:00
Shengliang Guan
a5a8d80eb5
Merge pull request #21172 from taosdata/FEAT/TD-23911-main
enh: declare mndSplitVgroup in mndVgroup.h
2023-05-06 11:15:39 +08:00
Shengliang Guan
e26c1190bf
Merge pull request #21173 from taosdata/FEAT/TD-23911-3.0
enh: declare mndSplitVgroup in mndVgroup.h
2023-05-06 11:15:19 +08:00
wangmm0220
55eddbfb5e fix:[TD-23972] push subscribe msg to vnode even though consumer not change 2023-05-06 10:54:05 +08:00
Benguang Zhao
72c6292ab4 enh: declare mndSplitVgroup in mndVgroup.h 2023-05-06 10:03:03 +08:00
Haojun Liao
5d4a3116d5
Merge pull request #21139 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-05-06 09:49:26 +08:00
Benguang Zhao
ff6523fb02 enh: declare mndSplitVgroup in mndVgroup.h 2023-05-06 09:14:03 +08:00
kailixu
b396cbd33f Merge branch '3.0' into enh/TD-21161-3.0 2023-05-05 20:28:27 +08:00
Benguang Zhao
76a20b2221 enh: adjust enum ETrnExec 2023-05-05 18:57:15 +08:00
dm chen
4242f2c4cc
Update mndStb.c 2023-05-05 17:49:27 +08:00
Benguang Zhao
908fd4ff97 feat: process split vgroup msg imp 2023-05-05 17:48:21 +08:00
dm chen
59f103a477
Update mndStb.c 2023-05-05 17:47:32 +08:00
Benguang Zhao
c949fee06b enh: commit vnode after consolidating alter hash range 2023-05-05 13:48:04 +08:00
dapan1121
5006ecc484 fix: stable name not responsed while stable removed issue 2023-05-05 11:45:14 +08:00
dmchen
9f3a0d9a5e balance leader skew 2023-05-05 02:17:06 +00:00
Haojun Liao
25f451ba81 fix(tmq): fix result data block info. 2023-05-04 23:34:35 +08:00
Benguang Zhao
5d63f438b5 enh: confirm alter hash range 2023-05-04 19:43:11 +08:00
dmchen
766b752c18 if statement for overflow 2023-05-04 18:35:37 +08:00
dmchen
af0ca38a89 int16 overflow 2023-05-04 17:12:02 +08:00
dmchen
38f507d941 transaction multithread 2023-05-04 05:49:36 +00:00
Haojun Liao
11dccf12de
Merge pull request #21131 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-05-04 11:26:00 +08:00
Haojun Liao
66b279abb7 fix(query):fix syntax error. 2023-05-04 10:12:10 +08:00
Haojun Liao
0e1c261418 fix(tmq): fix syntax error. 2023-05-04 10:10:56 +08:00
Haojun Liao
a53c181b98 fix(tmq): remove invalid assert 2023-05-04 10:04:44 +08:00
Haojun Liao
5b25920fec refactor: do some internal refactor. 2023-05-02 23:19:32 +08:00
Haojun Liao
79342cf1f4 refactor(tqm): do some internal refactor. 2023-05-02 22:51:13 +08:00
liuyao
2984c5a758 merge main 2023-04-28 10:34:46 +08:00
Benguang Zhao
67eac1a76f enh: process split vgroup msg in non-blocking mode 2023-04-27 15:24:07 +08:00
Benguang Zhao
9ce8915c7a enh: sort vnodeGid by dnodeId after vgroup altered 2023-04-27 14:26:11 +08:00
Benguang Zhao
1e29384de4 fix: show vgroups properly after split vgroup of multi-replicas 2023-04-27 14:26:11 +08:00
wangmm0220
6a889ae80e Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-27 09:48:04 +08:00
Haojun Liao
8d0a4772a5
Merge pull request #21070 from taosdata/fix/liaohj_main
enh(query): opt last row read performance. TD-23313
2023-04-26 11:54:48 +08:00
Xiaoyu Wang
05dc0fd6b1
Merge pull request #21056 from taosdata/feat/TD-23693
feat: subtable level privilege
2023-04-26 09:17:23 +08:00
54liuyao
255af84139 resume option 2023-04-25 19:01:19 +08:00
Haojun Liao
7b7a483afc fix(query): add tmp variable to hold the TSDBROW value. 2023-04-25 18:43:48 +08:00
54liuyao
b79313ecd7 pause&resume 2023-04-25 16:59:09 +08:00
kailixu
781834065a Merge branch '3.0' into enh/TD-21161-3.0 2023-04-25 08:22:08 +08:00
dapan1121
b743b889fc
Merge pull request #20828 from taosdata/enh/TD-23421-M
enh: support user passwd version
2023-04-24 17:16:37 +08:00
Xiaoyu Wang
f5a974489e
Merge pull request #21045 from taosdata/fix/block-check-to-async-check
fix/block-check-to-async-check
2023-04-24 15:41:17 +08:00
kailixu
b26842e398 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-24 14:19:49 +08:00
cadem
470fef6452 fix/block check to async check for mnode 2023-04-24 13:38:55 +08:00
Haojun Liao
057cc2d30d
Merge pull request #21018 from taosdata/feature/3_liaohj
fix(stream): set the correct start offset for stream task.
2023-04-24 12:02:20 +08:00
cadem
a781d43577 fix/block-check-to-async-check 2023-04-24 10:23:43 +08:00
wangmm0220
9bd74ec5b2 Merge branch 'fix/TS-3222' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-24 10:14:32 +08:00
wangmm0220
77e03bfd78 opti:change push mgr to consume msg for subscribe 2023-04-23 20:14:49 +08:00
liuyao
641c707b37 pause&resume 2023-04-23 17:37:10 +08:00
Xiaoyu Wang
4bb7a25fc7 feat: subtable level privilege 2023-04-23 16:30:28 +08:00
54liuyao
5089528a02 feat:stream pause&resume 2023-04-23 15:08:51 +08:00
chenhaoran
7d7a0769b3 Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1 2023-04-21 16:20:37 +08:00
kailixu
9e71b6d071 Merge branch '3.0' into enh/TD-23421-M 2023-04-21 16:04:13 +08:00
kailixu
77a8e3b213 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-21 16:04:09 +08:00
dapan1121
3c2fc48e74 feat: support new table_prefix/table_suffix mode 2023-04-21 14:17:07 +08:00
Haojun Liao
c654f1145d enh(stream): add new msg for seek, and do some internal refactor. 2023-04-20 10:59:16 +08:00
kailixu
5620f51d14 fix: trim database db from mnd 2023-04-19 20:38:33 +08:00
kailixu
696d294f02 chore: code optimization 2023-04-18 19:58:02 +08:00
cadem
3b78d4382b add learner 2023-04-18 19:03:45 +08:00
kailixu
50053fdc01 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-18 11:13:30 +08:00
kailixu
c0148ed5e1 chore: remove the assertion 2023-04-18 11:11:44 +08:00
Haojun Liao
739dc5a7a6
Merge pull request #20938 from taosdata/fix/TD-22671
opti:the logic of mndDoRebalance for clear
2023-04-18 09:30:17 +08:00
wangmm0220
1771a54256 fix:rebalance not only one in once timer 2023-04-17 19:59:11 +08:00
kailixu
97aa8aede2 chore: revert 2023-04-17 14:26:02 +08:00
kailixu
1fb4fb280e Merge branch '3.0' into enh/TD-23421-M 2023-04-17 11:42:50 +08:00
kailixu
fd3b552357 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-17 11:42:46 +08:00
wangmm0220
f65cd36e80 opti:the logic of mndDoRebalance for clear 2023-04-16 00:54:11 +08:00
wangmm0220
584cdf041c opti:the logic of mndDoRebalance for clear 2023-04-14 18:34:41 +08:00
Haojun Liao
1cd2268a99 Merge branch 'main' into feature/3_liaohj 2023-04-14 18:30:55 +08:00
Haojun Liao
02ec67ad9e
Merge pull request #20882 from taosdata/fix/TS-3081
fix:open test cases for tmq & add log if rebalance error
2023-04-14 17:56:58 +08:00
Haojun Liao
eb0e1f848a fix(stream): remove unused tqreader, do some internal refactor, set the meta value for streamtask. 2023-04-14 12:00:09 +08:00
Haojun Liao
f8b672f09f other: merge main. 2023-04-14 09:07:18 +08:00
Xiaoyu Wang
d3642c84a2 Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-13 16:36:30 +08:00
Xiaoyu Wang
a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
cadem
b405855ba8 balance leader to enterprise 2023-04-13 13:40:42 +08:00
dapan1121
7f518ca4ea feat: support cache db cfg 2023-04-13 10:54:57 +08:00
Xiaoyu Wang
c35e6aa382
Merge pull request #20842 from taosdata/fix/hash-ref-count-high
add cancel in fetch cluster
2023-04-12 16:53:43 +08:00
Xiaoyu Wang
933660ae8d Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main 2023-04-12 14:13:23 +08:00
wangmm0220
50022faf87 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3081 2023-04-12 13:57:37 +08:00
kailixu
9d60e73f5a Merge branch '3.0' into enh/TD-23421-M 2023-04-12 13:10:14 +08:00
kailixu
2daab8e65e Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:10:12 +08:00
kailixu
ac841b02bf merge 3.0 2023-04-12 13:09:52 +08:00
kailixu
04fa4d2e87 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:05:47 +08:00
wangmm0220
bb22d9ee5e fix:open test cases for tmq & add log if rebalance error 2023-04-12 10:56:19 +08:00
Xiaoyu Wang
8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Xiaoyu Wang
19f09a10e6 fix: show user privileges invalid write 2023-04-12 10:14:45 +08:00
Haojun Liao
f6315af0c9 other: merge main. 2023-04-11 19:41:17 +08:00
Xiaoyu Wang
9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +08:00
Xiaoyu Wang
5ce6220106
Merge pull request #20781 from taosdata/szhou/replace-function
feature: udf replace function
2023-04-11 17:25:21 +08:00
Xiaoyu Wang
4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Haojun Liao
18479d8115 refactor: do some internall refactor. 2023-04-11 15:42:24 +08:00
Xiaoyu Wang
42a5a87e96 fix: table level privilege 2023-04-11 15:08:42 +08:00
shenglian zhou
6b68a373e9 fix: when update func, set createdtime to original time 2023-04-11 11:37:41 +08:00
Xiaoyu Wang
416af9a58d feat: table level privilege 2023-04-11 10:11:25 +08:00
“happyguoxy”
adf25d3300 null pointer 2023-04-10 19:12:13 +08:00
Haojun Liao
497c9ea9c8 Merge branch 'main' into feature/3_liaohj 2023-04-10 17:57:26 +08:00
Haojun Liao
7419c0bfe9 enh(stream): the stream will start after vnode restore being completed. 2023-04-10 16:56:14 +08:00
“happyguoxy”
bfc279835c add cancel in fetch cluster 2023-04-10 16:52:41 +08:00
“happyguoxy”
765c09d59e update function 2023-04-10 16:40:16 +08:00
kailixu
76386b9fad enh: assign passVer during taos_connect 2023-04-10 13:07:18 +08:00
slzhou
b2de711a84 fix: change orReplace logic in mnode 2023-04-10 11:33:25 +08:00
Xiaoyu Wang
e2f82f4423 merge main 2023-04-10 09:56:03 +08:00
kailixu
b30d90355a chore: more code 2023-04-09 18:55:05 +08:00
kailixu
ec8cd0c6b8 enh: support passwd version 2023-04-09 18:44:46 +08:00
Haojun Liao
f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
slzhou
55ffb0bc6d fix: correct udf body file name and correct createdtime 2023-04-08 11:36:09 +08:00
shenglian zhou
32523d72f9 fix: add created time to file name and keep file reuse 2023-04-08 10:11:57 +08:00
kailixu
e976fcb91d Merge branch '3.0' into enh/TD-21161-3.0 2023-04-07 17:51:35 +08:00
Xiaoyu Wang
0f2c753103 feat: table level privilege 2023-04-07 16:39:40 +08:00
shenglian zhou
66c86a60d5 fix: add func_version to systable 2023-04-06 15:58:53 +08:00
Haojun Liao
2b2059ef18
Merge pull request #20534 from taosdata/fix/TD-22671
fix:error in TD-23218 & remove useless logic
2023-04-06 11:47:24 +08:00
shenglian zhou
47719b1028 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/replace-function 2023-04-06 11:19:10 +08:00
“happyguoxy”
a71caffed6 add version in mnode 2023-04-04 19:53:08 +08:00
Xiaoyu Wang
e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Shengliang Guan
e783c21629
Merge pull request #20519 from taosdata/fix/coveriyScanYihao
fix coverity scan problem
2023-04-04 09:22:02 +08:00
kailixu
37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
wangmm0220
446f31925e fix:conflict from main 2023-04-02 23:47:58 +08:00
Haojun Liao
f1384206f3 refactor: do some internal refactor. 2023-03-31 19:46:10 +08:00
wangmm0220
97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
Haojun Liao
b0fb912da8 fix(mnd): fix the invalid access of NULL ptr. 2023-03-31 11:48:52 +08:00
cademfly
b24cf98ef3 use only one altertype for both table and cond 2023-03-31 11:03:33 +08:00
cademfly
d85d1bf58e add new dup fun 2023-03-31 10:04:03 +08:00
cademfly
7342bde45d fake empty hash mark 2023-03-30 19:03:28 +08:00
cademfly
db725c6f6d show priviledge format 2023-03-30 18:53:50 +08:00
cademfly
3ae4996458 remove all handle 2023-03-30 16:17:51 +08:00
cademfly
38b6bfd848 remove normal table priviledge 2023-03-30 16:10:34 +08:00
cademfly
dbc75feac3 normal table 2023-03-30 15:56:08 +08:00
cademfly
b528cb0561 fix dup hash 2023-03-30 15:13:09 +08:00
cademfly
824c87a6c7 binary format 2023-03-30 13:59:48 +08:00
cademfly
8309718af1 condition 2023-03-29 19:51:49 +08:00
slzhou
accebcedc4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf-improvement 2023-03-29 14:52:04 +08:00
Xiaoyu Wang
518a1e6ece
Merge pull request #20683 from taosdata/fix/main_bugfix_wxy
fix: hotfix version compatibility
2023-03-29 13:38:04 +08:00
cademfly
2fd10c2aa0 table 2023-03-29 13:30:32 +08:00
Haojun Liao
10f08c948b
Merge pull request #20679 from taosdata/feature/3_liaohj
fix(query): allow only one trans to be execute for each balance, and do some other refactor.
2023-03-29 13:17:18 +08:00
Xiaoyu Wang
4a085db970 fix: hotfix version compatibility 2023-03-29 11:10:15 +08:00
Haojun Liao
94c6af39da fix(tmq): fix the invalid free 2023-03-29 10:46:44 +08:00
Haojun Liao
70d0d7a63f fix(tmq): fix the syntax error. 2023-03-29 09:08:07 +08:00
Haojun Liao
ceb160c23b fix(query): fix memory leak. 2023-03-28 23:14:11 +08:00
Haojun Liao
b444e8db1a others: merge main. 2023-03-28 19:42:07 +08:00
Benguang Zhao
ae8d87643f Merge branch 'main' into FIX/TD-22975-main 2023-03-28 18:00:51 +08:00
Haojun Liao
5c128e2292 refactor: do some internal refactor. 2023-03-28 09:27:48 +08:00
shenglian zhou
b6542fb286 fix: add language and definition body to ins_functions 2023-03-28 08:43:34 +08:00
Xiaoyu Wang
6726bda9de
Merge pull request #20652 from taosdata/fix/wrong-field-logging
wrong field logging
2023-03-27 19:05:15 +08:00
Xiaoyu Wang
97855c6233
Merge pull request #20607 from taosdata/FEAT/TD-23257-3.0
feat: WAL cleanup not affected by topic consumption anymore
2023-03-27 17:58:31 +08:00
cadem
2495d0781d wrong field logging 2023-03-27 15:11:20 +08:00
Xiaoyu Wang
ed48713a4b
Merge pull request #20615 from taosdata/fix/trigger-election-by-sync-msg
Fix/trigger election by sync msg
2023-03-27 11:54:53 +08:00
Benguang Zhao
ffc3b7b27a enh: add the errorcode TSDB_CODE_MND_DB_RETENTION_PERIOD_ZERO 2023-03-25 11:06:05 +08:00
Xiaoyu Wang
d2b8c5e433
Merge pull request #20524 from taosdata/fix/clusterid-isolation
fix: clusterid isolation
2023-03-25 09:19:49 +08:00
Benguang Zhao
22b904b711 feat: not allowed to create a topic when WAL_RETENTION_PERIOD is zero 2023-03-24 11:55:02 +08:00
Benguang Zhao
235ef431d2 feat: not allowed to set WAL_RETENTION_PERIOD as zero when there are topics defined 2023-03-24 11:47:23 +08:00
cadem
86ca5ce210 fix/trigger election by sync msg 2023-03-24 09:13:20 +08:00
Shengliang Guan
8d1224ce22 refactor: format code 2023-03-23 22:31:20 +08:00
dapan1121
7f50b463bb
Merge pull request #20599 from taosdata/fix/mainT3.0
fix: merge main to 3.0
2023-03-23 16:17:01 +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
dapan1121
5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Xiaoyu Wang
eb79046a70 merge 3.0 2023-03-22 11:42:02 +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
cadem
ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
Xiaoyu Wang
58ebd3539d feat: alter database wal_retention_period/wal_retention_size 2023-03-21 16:45:19 +08:00
dapan1121
f97c4e7e35
Merge pull request #20557 from taosdata/fix/TS-2932-CM
fix: set grant cluster info
2023-03-21 16:25:21 +08:00
kailixu
6fd4bc7e27 fix: set grant cluster info 2023-03-20 20:06:10 +08:00
kailixu
aa4c1cb5eb chore: more code 2023-03-20 17:44:34 +08:00
kailixu
179579f204 chore: more code 2023-03-20 17:41:22 +08:00
kailixu
24dbcaa844 chore: merge main 2023-03-20 17:32:54 +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
Cary Xu
7a3c897a80
Revert "fix(query): invalid write when query of ins_columns" 2023-03-18 20:49:48 +08:00
kailixu
01074ed6cf chore: var def optimization 2023-03-18 13:08:34 +08:00
kailixu
d90c8e834a chore: var def optimization 2023-03-18 13:07:15 +08:00
cadem
39283d22fb fix/change print format 2023-03-18 12:59:58 +08:00
cadem
042d94215b feat/add topic total and stream total in monitor 2023-03-18 12:50:07 +08:00
cadem
7c970d1847 fix/clusterid isolation 2023-03-18 11:16:52 +08:00
kailixu
0c4e9f6646 chore: more code 2023-03-17 16:53:28 +08:00
kailixu
b61a5ece5a chore: more code 2023-03-17 16:48:55 +08:00
kailixu
f297f67698 fix: show obj 2023-03-17 16:40:29 +08:00
wangmm0220
0a54d00cd2 fix:converity scan defects 2023-03-17 14:54:27 +08:00
kailixu
7ed966e3f1 fix: select ins_columns from stb/tb 2023-03-17 12:33:34 +08:00
yihaoDeng
497ba9992d fix coverity scan problem 2023-03-17 02:26:18 +00:00
yihaoDeng
07ca8eb8e0 enh: add trace to transaction 2023-03-16 10:25:46 +00:00
Shengliang Guan
7af1d00d74
Merge pull request #20485 from taosdata/fix/TS-2891-M
fix(query): invalid write when query of ins_columns
2023-03-16 15:50:03 +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
Haojun Liao
a1682664f2 fix(tmq): disable non-leader vnode responsing the poll request. 2023-03-16 10:12:34 +08:00
kailixu
ba5c3fb2ab fix: select ins_columns for stb with 4096 columns 2023-03-16 00:01:54 +08:00
Shengliang Guan
a397c2dae4
Merge pull request #20471 from taosdata/fix/alter_minrows
fix: alter minrows doesn't take effect
2023-03-15 17:45:54 +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
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
7ee24c318e fix: alter minrows doesn't take effect 2023-03-15 14:25:18 +08:00
Shengliang Guan
4efcb4ddce
Merge pull request #20280 from taosdata/fix/TD-22871
fix: return err msg while db is creating
2023-03-15 14:10:41 +08:00
Benguang Zhao
cc76d78673 enh: separate sync read and write events 2023-03-14 20:35:39 +08:00
Yihao Deng
0d4cc1c577
Merge branch 'main' into fix/TD-22871 2023-03-14 15:56:51 +08:00
yihaoDeng
d3c9e08003 fix: fix log invalid err msg 2023-03-14 06:15:47 +00: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
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
Xiaoyu Wang
ca39dfcf2d feat: show vgroup display num of cache tables 2023-03-13 17:21:32 +08:00
Haojun Liao
564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
Xiaoyu Wang
a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
Benguang Zhao
d679eaf648 enh: update pMnode->applied only when pMsg->code as zero 2023-03-10 18:10:34 +08:00
yihaoDeng
3865404674 add user err code 2023-03-10 14:19:03 +08:00
Benguang Zhao
66631229eb fix: initialize and update pMnode->applied properly 2023-03-10 09:35:38 +08:00
Haojun Liao
a4e378e138 refactor: update some log. 2023-03-10 09:30:59 +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
Benguang Zhao
1392711e66 enh: add fsm FpAppliedIndexCb to get the current applied index 2023-03-09 18:14:04 +08:00
Xiaoyu Wang
e5de317f44 feat: alter database stt_trigger/minrows 2023-03-09 16:04:38 +08:00
Hongze Cheng
16262512b2 feat: alter stt_trigger and minrows 2023-03-09 15:25: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
Shengliang Guan
c4d2718296
Merge pull request #20332 from taosdata/fix/main_bugfix_wxy
fix: check the compatibility of client version and server version
2023-03-08 17:40:23 +08:00
Xiaoyu Wang
5d80e71d9e fix: check the compatibility of client version and server version 2023-03-08 16:42:09 +08:00
Xiaoyu Wang
3db2c59581 fix: check the compatibility of client version and server version 2023-03-08 16:10:11 +08:00
Shengliang Guan
1439bdcd36
Merge pull request #20306 from taosdata/feat/add-reboot-time
feat/add-reboot-time
2023-03-08 15:46:55 +08:00
Xiaoyu Wang
9be3e20276 fix: check the compatibility of client version and server version 2023-03-08 15:13:11 +08:00
Haojun Liao
41f26148a2 fix(mq): re-balance consumer if it is in an in-balance status. 2023-03-08 12:09:54 +08:00
Xiaoyu Wang
4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
Hongze Cheng
89281ee488 compact with time range 2023-03-07 21:46:34 +08:00
cadem
a063d69890 feat/add-reboot-time 2023-03-07 18:27:26 +08:00
wangmm0220
fc39a330b4 fix:wrong uasge of taosArrayGet 2023-03-06 23:30:25 +08:00
wangmm0220
77f86c6729 fix:wrong uasge of taosArrayGet 2023-03-06 23:24:30 +08:00
Haojun Liao
60cdbe37d3 refactor: do some internal refactor. 2023-03-06 22:25:34 +08:00
Haojun Liao
1b93f980e8 refactor: do some internal refactor. 2023-03-06 21:33:31 +08:00
Haojun Liao
e92bfa558d fix(query): allow only one trans to be execute for each balance, and do some other refactor. 2023-03-06 21:16:30 +08:00
yihaoDeng
4385275a89 fix: return err while db is creating 2023-03-06 17:32:12 +08:00
Haojun Liao
da550029d8 fix(tmq): fix memory error and adjust some logs. 2023-03-06 11:52:52 +08:00
Haojun Liao
6fafa8443e fix(query): sleep a little bit when errors occur. 2023-03-05 15:32: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
Haojun Liao
53a0ff0be3 refactor: add some logs. 2023-03-04 16:19:45 +08:00
Shengliang Guan
2d46730ad9
Merge pull request #20262 from taosdata/fix/TD-22951
fix: add pre-finished stage, trans won't be dropped in follower if has undo actions while rollback
2023-03-04 10:09:06 +08:00
Haojun Liao
3645c52b25 refactor: update some logs. 2023-03-04 00:34:53 +08:00
Shengliang Guan
f4c8444b8f fix: format log 2023-03-03 23:55:05 +08:00
Shengliang Guan
0b00922a43 fix: should not set startFunc/stopFunc to 0. when the trans is not finished on taosd stop, it will cause the startFunc/stopFunc setting error 2023-03-03 23:53:32 +08:00
Shengliang Guan
65737555c9 Merge remote-tracking branch 'origin/main' into feature/3_liaohj 2023-03-03 18:22:49 +08:00
Shengliang Guan
50955b2e50
Merge pull request #20261 from taosdata/FIX/TS-2766-main
enh: control frequency of mnode sdb flushing with mndSdbWriteDelta
2023-03-03 18:22:30 +08:00
Shengliang Guan
25e0ed8cb5 Merge branch 'fix/TD-22951' into feature/3_liaohj 2023-03-03 18:21:55 +08:00
Shengliang Guan
051e4796f3 Merge branch 'feature/3_liaohj' of https://github.com/taosdata/TDengine into feature/3_liaohj 2023-03-03 18:21:50 +08:00
Shengliang Guan
2624ea65d8 fix: add pre-finished stage, trans won't be dropped in follower if it has undo actions while rollback 2023-03-03 18:21:07 +08:00
Benguang Zhao
d27f392beb enh: control frequency of mnode sdb flushing with mndSdbWriteDelta 2023-03-03 17:30:23 +08:00
Shengliang Guan
ff70b102fa fix: set trans from rollback to undo if mnode not leader 2023-03-03 17:30:02 +08:00
Haojun Liao
dfeb3fb458 refactor: update some logs. 2023-03-03 13:45:04 +08:00
Shengliang Guan
658bd47315 Merge remote-tracking branch 'origin/main' into feature/3_liaohj 2023-03-03 10:56:09 +08:00
Shengliang Guan
8ffc397cf2 fix: minor changes 2023-03-03 10:35:13 +08:00
Shengliang Guan
b26b1aa8fd fix: minor changes 2023-03-03 10:30:23 +08:00
Haojun Liao
e8c11c58f0 fix(tq): add some logs. 2023-03-03 10:20:52 +08:00
dapan1121
2a5074870d fix: add missing db options in show create database result 2023-03-02 11:33:29 +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
Xiaoyu Wang
e2cfad8d4c
Merge pull request #20226 from taosdata/FIX/TS-2766-main
enh: rotate wal of mnode properly
2023-03-01 17:44:53 +08:00
Xiaoyu Wang
13d29b6f75 move compact to enterprise 2023-03-01 15:32:57 +08:00
Xiaoyu Wang
4cf0a8b376 move compact to enterprise 2023-03-01 15:25:01 +08:00
Xiaoyu Wang
7e0efcdc9b move compact to enterprise 2023-03-01 15:06:41 +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
Benguang Zhao
caaff5c546 enh: rotate wal of mnode properly 2023-03-01 10:02:33 +08:00
Haojun Liao
b3ae58dac1
Merge pull request #20205 from taosdata/feat/TD-22831
feat:window close && ignore expired
2023-02-28 19:23:07 +08:00
54liuyao
abbc69a2ed fix:asan error 2023-02-28 17:43:47 +08:00
wangmm0220
986ae9c4d0 fix:conflicts 2023-02-28 15:11:16 +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
5e9f53560d
Merge branch 'main' into feature/3_liaohj 2023-02-27 18:23:35 +08:00
Haojun Liao
e1be7dd399 fix(query): fix memory leak. 2023-02-27 17:55:30 +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
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
Haojun Liao
0369ff2231 other: merge main. 2023-02-25 15:42:32 +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
5856a39827
Merge pull request #20123 from taosdata/fix/3.0_merge_main
merge main
2023-02-25 10:01:26 +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
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
Xiaoyu Wang
67a94707b7
Merge pull request #20104 from taosdata/feat/3.0_wxy
enh: drop tables syntax optimization
2023-02-24 16:57:30 +08:00
Xiaoyu Wang
a94fd9ec47 fix: alter stable error 2023-02-24 14:54:35 +08:00
Haojun Liao
993ae9e7e9 Merge branch '3.0' into fix/3_coverity 2023-02-24 14:34:01 +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
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
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
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
d43355e77f fix:check null column 2023-02-23 17:31:52 +08:00
Haojun Liao
b8fe575aa4
Merge pull request #20068 from taosdata/fix/TD-22624
fix:compare func for topic & double free in taosArrayRemoveDuplicate…
2023-02-23 17:19:17 +08:00
Xiaoyu Wang
1ab144609e merge main 2023-02-23 14:58:22 +08:00
Haojun Liao
24c38d30e3 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2023-02-23 14:10:25 +08:00
Haojun Liao
f00b7b3af0 refactor: do some internal refactor. 2023-02-23 14:09:56 +08:00
Haojun Liao
b203107922
Merge branch 'main' into feature/3_liaohj 2023-02-23 10:22:17 +08:00
Haojun Liao
9d96aac8fe
Merge pull request #20096 from taosdata/fix/TD-22631
fix: dead lock while create transaction on same db or stable
2023-02-23 09:31:09 +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
wangmm0220
91d5df423f fix:error by coverity scan 2023-02-22 15:48:39 +08:00
Xiaoyu Wang
618c934fb2 enh: drop tables syntax optimization 2023-02-22 15:16:16 +08:00
Minglei Jin
0a782ef78c fix(mnd): coverity scan issues 2023-02-22 14:50:41 +08:00
54liuyao
1d58f85a54 feat:coverity scan 2023-02-22 10:10:04 +08:00
yihaoDeng
8fb471ae7a fix: dead lock while create transaction on same db or stable 2023-02-22 09:54:45 +08:00
Haojun Liao
0c9145645b Merge branch 'main' into feature/3_liaohj 2023-02-22 08:53:23 +08:00
Haojun Liao
37fea8cf3d fix(tmq): update the epset when the leader of vnode changed. 2023-02-21 23:04:58 +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
Haojun Liao
9a5b7ce220 refactor: do some internal refactor. 2023-02-21 15:32:17 +08:00
Haojun Liao
d3f257ee5e
Merge pull request #20053 from taosdata/feat/ly_stream
feat:a maximum of 60 streams can be created
2023-02-21 10:14:56 +08:00
cyang
ad56390a08 fix:compare func for topic & doublue free in taosArrayRemoveDuplicateP for topic 2023-02-21 00:54:34 +08:00
Xiaoyu Wang
319dfd8f06 merge 3.0 2023-02-20 17:21:37 +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
54liuyao
f34509cc6e feat:a maximum of 60 streams can be created 2023-02-20 14:18:21 +08:00
Xiaoyu Wang
c597de099f merge main 2023-02-20 13:41:27 +08:00
yihaoDeng
71a1301034 add rename and del tag case 2023-02-20 11:29:16 +08:00
Haojun Liao
7fe250412f refactor:do some internal refactor. 2023-02-20 10:13:11 +08:00
Haojun Liao
751c1cb5d2 refactor:do some internal refactor. 2023-02-20 10:12:27 +08:00
Haojun Liao
8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
yihaoDeng
f2a52f0831 suppprt tag rename 2023-02-20 00:09:26 +08:00
yihaoDeng
bfe0ac61b9 add index case 2023-02-19 20:43:15 +08:00
Haojun Liao
736619018d
Merge pull request #20043 from taosdata/fix/liaohj
fix(query): set the correct rows in data block.
2023-02-19 00:17:54 +08:00
Haojun Liao
3993f13479 Merge branch 'main' into fix/liaohj 2023-02-18 19:49:42 +08:00
Haojun Liao
59c72beb8d fix(query): set the correct rows in data block. 2023-02-18 19:47:18 +08:00
Haojun Liao
4853522e11 fix(query): set the correct rows in data block. 2023-02-18 19:46:37 +08:00
Haojun Liao
dfd2278d2d
Merge pull request #20042 from taosdata/fix/liaohj
refactor: do some internal refactor and add some logs.
2023-02-18 18:42:48 +08:00
yihaoDeng
eafc9db1c1 fix iter and case 2023-02-18 18:24:10 +08:00
Haojun Liao
06a3c1c9c0 refactor: do some internal refactor and add some logs. 2023-02-18 17:32:43 +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
96864b27e9 rm invalid file 2023-02-17 09:41:01 +08:00
Minglei Jin
742a6d6c95 fix(mnd/stream): fix ignore update compatibility 2023-02-16 15:25:25 +08:00
54liuyao
33caf8e625 fix:check stream 2023-02-16 13:48:47 +08:00
dapan1121
ed4e8313e0 fix: add force stop task and rename conflict structer name 2023-02-16 08:55:13 +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
yihaoDeng
fa8bebf24d opt: opt tag index 2023-02-14 17:44:29 +08:00
yihaoDeng
df296c15f7 opt: opt tag index 2023-02-14 17:31:10 +08:00
dapan1121
b9918b0eda fix: add alter dnode configuration validdation 2023-02-14 13:49:07 +08:00
Haojun Liao
c9ce01c878 Merge branch 'main' into feature/3_liaohj 2023-02-13 17:09:27 +08:00
Haojun Liao
c597a1e4ce refactor: do some internal refactor. 2023-02-13 15:46:47 +08:00
Yihao Deng
5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
yihaoDeng
75577937be fix compile error 2023-02-12 17:00:28 +08:00
yihaoDeng
a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
yihaoDeng
a8b0452080 fix mem leak 2023-02-12 10:30:36 +08:00
yihaoDeng
93c61f82c9 fix mem leak 2023-02-10 19:24:26 +08:00
yihaoDeng
9d8e3e0c8f fix mem leak 2023-02-10 18:29:03 +08:00
Xiaoyu Wang
3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Shuduo Sang
ea5d925c50
fix: alpine support (#19353)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

* fix: fix test script for alpine

* fix: fix taosLogTrace for Alpine

* fix: fix taosSort

* fix: vnode and mnode compare functions and test cases

* fix: sorting algorithms and unit tests

* fix: libtaosws.so build error on Alpine

* fix: libtaosws.so build error on Alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-10 13:00:55 +08:00
Xiaoyu Wang
b2e60da1cf merge main 2023-02-10 10:34:55 +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
Hongze Cheng
943e86c22e fix CI problem 2023-02-09 14:27:20 +08:00
Xiaoyu Wang
9bc225ffda merge 3.0 2023-02-09 09:44:29 +08:00
Xiaoyu Wang
874dd2146a fix: information_schema.ins_vgroups 2023-02-09 09:37:30 +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
Xiaoyu Wang
98e2fa2d7b feat: add ignore update option for create stream 2023-02-08 18:46:12 +08:00
Xiaoyu Wang
2c01c96ef2 fix: show vgroups 2023-02-08 18:44:17 +08:00
Liu Jicong
ae4ad7d851 Merge branch 'main' into enh/stream_buffer_param 2023-02-08 16:09:35 +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
Xiaoyu Wang
09925437e3 merge main 2023-02-08 09:51:52 +08:00
Shengliang Guan
7fdeaf19be Merge remote-tracking branch 'origin/3.0' into enh/TD-18702 2023-02-07 20:29:14 +08:00
Hongze Cheng
92919f0ee4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-07 14:09:17 +08:00
Haojun Liao
e93c96aff9
Merge pull request #19808 from taosdata/enh/stream_num_limit
enh: stream number limit
2023-02-07 09:25:36 +08:00
Shengliang Guan
2dcb281108 fix: should not execute trans if not leader 2023-02-07 02:08:31 +08:00
Shengliang Guan
151dfea99c fix: restore some changes 2023-02-07 00:07:05 +08:00
Shengliang Guan
917d1165a7 fix: set transId to 0 while timeout or in follower state 2023-02-06 22:49:13 +08:00
yihaoDeng
b3167ae6a3 avoid sma and tag index name conflict 2023-02-06 20:40:48 +08:00
kailixu
d3c260ad55 feat: grant support upgrade/downgrade 2023-02-06 18:45:33 +08:00
Liu Jicong
55f78b4109 fix case 2023-02-06 16:41:30 +08:00
yihaoDeng
55a93c9649 opt sma and ndex name conflict 2023-02-06 16:00:59 +08:00
Xiaoyu Wang
f2ff17dace merge 3.0 2023-02-06 14:18:13 +08:00
Liu Jicong
e615053f4a enh: stream number limit 2023-02-06 11:32:04 +08:00
wangmm0220
762f6466f3 fix:conflicts from 3.0 2023-02-06 09:23:29 +08:00
yihaoDeng
4d6e84a577 opt index 2023-02-05 10:49:49 +08:00
yihaoDeng
01b89be0aa opt idx 2023-02-04 22:45:20 +08:00
yihaoDeng
58a761648f opt index 2023-02-04 22:09:24 +08:00
yihaoDeng
f19d64e04b opt drop index 2023-02-04 13:50:21 +08:00
yihaoDeng
db61fbb6a2 opt index 2023-02-04 12:52:02 +08:00
yihaoDeng
17b7b81cd7 opt index 2023-02-04 10:25:50 +08:00
yihaoDeng
cc4558ff9a opt index 2023-02-03 23:09:21 +08:00
yihaoDeng
a05eb4b110 refactor tag index 2023-02-03 22:19:01 +08:00
Xiaoyu Wang
5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Shengliang Guan
5ef7a4b7d4
Merge pull request #19786 from taosdata/fix/TD-22192
fix: not apply to mnode if trans createTime not matched
2023-02-03 17:02:46 +08:00
Haojun Liao
3da4a8a429
Merge pull request #19760 from taosdata/fix/TD-22131
fix:add ttl drop response for mnode
2023-02-03 15:53:35 +08:00
Shengliang Guan
b21ed4b617 fix: not apply to mnode if trans createTime not matched 2023-02-03 15:49:51 +08:00
wangmm0220
51760c10ec fix:conflicts from 3.0 2023-02-03 15:40:20 +08:00
wangmm0220
c330588d55 fix:error in subscribe table for taosx 2023-02-03 15:35:13 +08:00
Shengliang Guan
3b475d4c0d fix: adjust some log while split 2023-02-03 14:40:19 +08:00
Liu Jicong
d83a94bb19 fix: check dup rebalance 2023-02-03 09:48:50 +08:00
wangmm0220
a32c852039 fix:add ttl drop response for mnode 2023-02-02 16:13:17 +08:00
yihaoDeng
151df3bf8f opt tag filter 2023-02-01 21:02:52 +08:00
yihaoDeng
c83b697eb3 fix invalid ver 2023-01-31 17:00:19 +08:00
Shengliang Guan
71a17e4c47 enh: update numOfVgroups while split 2023-01-31 14:24:58 +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
Shengliang Guan
8bc0d4ba74 enh: add alter vnode hashrange request 2023-01-30 16:33:17 +08:00
Shengliang Guan
03dc6e55b5 enh: add disable vnode write request 2023-01-30 13:54:15 +08:00
Shengliang Guan
f36713a587 enh: set vgroup dropping state before split 2023-01-30 10:08:26 +08:00
Shengliang Guan
316e563ff2 enh: adjust vgroup replica after split 2023-01-30 09:59:30 +08:00
Shengliang Guan
7bcd4cf0f3 enh: parse split vgroup request 2023-01-30 09:42:20 +08:00
yihaoDeng
38389ff1ef del invalid macro 2023-01-29 21:15:54 +08:00
Xiaoyu Wang
24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Liu Jicong
089bc74055 Merge branch 'main' into enh/stream_buffer_param 2023-01-28 11:24:25 +08:00
yihaoDeng
bfd711c08f Merge remote-tracking branch 'origin/3.0' into dynamicIdx 2023-01-18 22:01:49 +08:00
54liuyao
e03deeaed8 feat:add stream delete mark 2023-01-17 16:21:51 +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
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
slzhou
51cdd4af19 fix: add stt_trigger to show create database processing 2023-01-16 10:28:34 +08:00
Shengliang Guan
307f457103 Merge remote-tracking branch 'origin/3.0' into enh/TD-20047 2023-01-16 09:40:37 +08:00
Shengliang Guan
dbea8004a9
Merge pull request #19555 from taosdata/enh/TD-20047
fix: update epset on dnode info changed
2023-01-16 09:40: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
Shengliang Guan
ad8c73645b fix: update epset on dnode info changed 2023-01-13 15:26:24 +08:00
kailixu
8f0f060410 Merge branch '3.0' into fix/TD-21873-3.0 2023-01-13 15:14:11 +08:00
Xiaoyu Wang
9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
Shengliang Guan
bd531ccfb3
Merge pull request #19542 from taosdata/enh/TD-20047
refact: adjust return value of tmsgUpdateDnodeInfo
2023-01-13 10:54:10 +08:00
54liuyao
3ec1560faa create stream and use existing super table 2023-01-13 10:26:49 +08:00
kailixu
707ad8f397 fix: dismiss double free 2023-01-12 21:20:53 +08:00
kailixu
e571ddf37e fix: tsma transaction refactor 2023-01-12 21:13:15 +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
Shengliang Guan
e6b4031487 fix: coverity issues 2023-01-12 16:04:57 +08:00
Shengliang Guan
4e6fca5647 Merge remote-tracking branch 'origin/fix/TD-21663' into fix/TD-21663-2 2023-01-12 15:16:47 +08:00
Shengliang Guan
040c975eb2 fix: memory leak in mnode 2023-01-12 15:13:49 +08:00
Shengliang Guan
3973e0512d Merge remote-tracking branch 'origin/main' into fix/TD-21663-2 2023-01-12 13:29:35 +08:00
Shengliang Guan
d57b28ac68 Merge remote-tracking branch 'origin/main' into fix/TD-21663 2023-01-12 13:22:20 +08:00
wangmm0220
8af5230bc8 fix:add logic for ins_columns 2023-01-11 23:55:53 +08:00
wangmm0220
672378f000 fix:add logic for ins_columns 2023-01-11 18:54:43 +08:00
Shengliang Guan
cff741e4c4 fix: coverity issues 2023-01-11 16:56:14 +08:00
Shengliang Guan
e9c213ff0f fix: repeat malloc sdb raw 2023-01-11 16:37:45 +08:00
wangmm0220
19e72938f6 fix:add logic for ins_columns 2023-01-11 15:06:42 +08:00
yihaoDeng
3e738363aa add/delete tag index 2023-01-11 13:36:07 +08:00
Shengliang Guan
f02f3e7a07 fix: allow mnode start even dnode in dropping state 2023-01-11 10:12:54 +08:00
wangmm0220
3b4ff4d094 fix:add logic for scan ins_columns 2023-01-10 20:32:31 +08:00
Shengliang Guan
47885a126c
Merge pull request #19452 from taosdata/fix/TD-21829
fix: return dropping dnode in status resp
2023-01-10 13:14:44 +08:00
54liuyao
d5ade95b31 feat(stream):user define tag 2023-01-10 10:13:56 +08:00
Shengliang Guan
6ba5b6a287 fix: compile error 2023-01-09 17:28:27 +08:00
Shengliang Guan
284dd88b6f enh: add version for show cluster 2023-01-09 16:49:58 +08:00
Shengliang Guan
907cb73243 fix: return dropping dnode in status resp 2023-01-09 16:31:16 +08:00
Shengliang Guan
398161eb5f Merge branch 'main' into merge/mainto3.0_0108 2023-01-09 10:00:53 +08:00
Shengliang Guan
d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
Shengliang Guan
42d911bf8e Merge remote-tracking branch 'origin/main' into FIX/TD-21043-main 2023-01-08 09:44:07 +08:00
yihaoDeng
7e720269e2 update add/del tag index 2023-01-06 21:33:42 +08:00
dapan1121
feb396270d
Merge pull request #19278 from taosdata/enh/TD-21108
feat: support crash report to telemetry server
2023-01-06 19:13:37 +08:00
yihaoDeng
b1241e5e0d dynamic add/del idx 2023-01-06 14:08:17 +08:00
dapan1121
e55cc0af22 Merge remote-tracking branch 'origin' into enh/TD-21108 2023-01-06 13:40:32 +08:00
Shengliang Guan
5e9a90ef5c fix: remove privilege info on drop db / topic 2023-01-06 11:53:55 +08:00
yihaoDeng
e11f7c82d5 update json tag file 2023-01-05 20:56:22 +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
yihaoDeng
a64e9d53b4 updata index 2023-01-05 15:39:35 +08:00
wangmm0220
730fbe42cb fix:add logic for system table ins_columns 2023-01-05 14:34:07 +08:00
Shengliang Guan
84ec8a7f3d Merge branch 'main' into fix/TD-21353 2023-01-05 11:53:38 +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
yihaoDeng
973ebce246 update add/drop index msg 2023-01-04 20:36:01 +08:00
Minglei Jin
c28ba32c93 fix(vnode/mgmt): pre close vnode after queue's empty 2023-01-04 18:08:33 +08:00
Xiaoyu Wang
9df6f69371 merge 3.0 2023-01-04 15:02:31 +08:00
Xiaoyu Wang
44a867b751 fix: 'show user privilegs' command echo user name incomplete 2023-01-04 14:42:03 +08:00
Shengliang Guan
bf6dc99461 fix: adjust sync logs 2023-01-04 11:48:30 +08:00
Xiaoyu Wang
fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
dapan1121
ac7d250a7f Merge remote-tracking branch 'origin' into enh/TD-21108 2023-01-04 08:57:22 +08:00
Shengliang Guan
9df158e1d9 fix: update assert info 2023-01-03 20:12:25 +08:00
Liu Jicong
e4ab8f986b remove assert 2023-01-03 17:06:43 +08:00
Shengliang Guan
9a10242f7d enh: remove assert from mnode consumer 2023-01-03 16:16:58 +08:00
Shengliang Guan
fc21140e03 enh: remove assert from mnode 2023-01-03 15:33:50 +08:00
Shengliang Guan
d290daa197
Merge pull request #19297 from taosdata/fix/TS-2349
fix: allow the ip resolved by fqdn different between dnodes
2023-01-02 09:41:24 +08:00
Alex Duan
2439c345d9 enh: clear assert remove tbuffer.h 2022-12-30 18:04:54 +08:00
Shengliang Guan
469dfb9d4e fix: compile errors 2022-12-30 17:47:17 +08:00
Shengliang Guan
c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
dapan1121
8ff3b2fda3 Merge remote-tracking branch 'origin' into enh/TD-21108 2022-12-30 13:31:37 +08:00
dapan1121
dfefb68aa6 feat: support crash report 2022-12-30 13:30:54 +08:00
Hongze Cheng
52f1f272fc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-29 13:50:08 +08:00
dapan1121
8f9cf766a4
Merge pull request #19214 from taosdata/feat/TD-21454
feat(stream):stream insert data into an existing table
2022-12-29 11:28:25 +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
Shengliang Guan
2bbf2f3ab1 Merge branch '3.0' into merge/mainto3.0_1229 2022-12-29 09:36:52 +08:00
Shengliang Guan
6e9b5d1be6
Merge pull request #19219 from taosdata/fix/TD-21566
fix: support_vnodes and the max supported vgroups mis-match
2022-12-29 09:22:14 +08:00
Shengliang Guan
cc29662bf9 fix: adjust weight of mnode while balance 2022-12-28 20:09:02 +08:00
Shengliang Guan
9e989691c3 fix: set dnode online after status check success 2022-12-28 19:10:12 +08:00
54liuyao
4734795fe1 feat(stream):stream insert data into an existing table 2022-12-28 17:09:54 +08:00
Shengliang Guan
c64fbb59ea fix: support_vnodes and the max supported vgroups mis-match 2022-12-28 16:39:02 +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
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
Shengliang Guan
7a3079e79a enh: send compact msg from mnode to vnode 2022-12-27 16:12:50 +08:00
dapan1121
66cece62de
Merge pull request #19046 from taosdata/fix/TD-21180-3.0
feat(rpc):  return new error code TSDB_CODE_RPC_VGROUP_NOT_CONNECTED
2022-12-26 18:08:48 +08:00
Haojun Liao
723efba79b
Merge branch '3.0' into refact/submit_req 2022-12-26 13:25:25 +08:00
Shengliang Guan
664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Xiaoyu Wang
0c269c317b merge 3.0 2022-12-23 17:50:05 +08:00
Shengliang Guan
cd32f67968 enh: check conflict before create trans 2022-12-23 14:11:44 +08:00
Shengliang Guan
cb5ec76cce enh: check conflict before create trans 2022-12-23 13:58:39 +08:00
Shengliang Guan
e6c6de9662 enh: promp the dnode is already in dropping state while repeat drop it 2022-12-23 13:58:18 +08:00
Alex Duan
cd1b87031a fix(query): modify error describe 2022-12-22 10:22:51 +08:00
Shengliang Guan
eee059db61 enh: adjust error code if transaction exec failed 2022-12-22 10:11:54 +08:00
Shengliang Guan
8c7d7b02cd enh: adjust error code if transaction exec failed 2022-12-22 10:10:16 +08:00
Shengliang Guan
87924986bd Merge branch 'main' into fix/TD-21424_TD-21389_TD-21420 2022-12-21 15:44:07 +08:00
Liu Jicong
27c7e23397 refactor: remove assert 2022-12-21 14:26:27 +08:00
Shengliang Guan
b0d486eb85 enh: add dropping and creating status for dnode 2022-12-21 14:14:09 +08:00
Shengliang Guan
eca8d7ad74 fix: the mnode is also offline when dnode on it is offline 2022-12-21 09:48:27 +08:00
Alex Duan
df6102f66e fix(query): TSDB_CODE_RPC_VGROUP_NOT_CONNECTED same condition check with TSDB_CODE_RPC_NETWORK_UNAVAIL 2022-12-20 18:14:24 +08:00
Shengliang Guan
9c8b194c34 refact: set FpSnapshotStopRead return type to void 2022-12-20 15:07:27 +08:00
Shengliang Guan
12b6cf15a0 refact: set FpGetSnapshotInfo return type to void 2022-12-20 14:57:04 +08:00
Shengliang Guan
4837dc6661 fix: avoid double-free in usedb req while db in creating state 2022-12-19 21:01:24 +08:00
Shengliang Guan
6e64951c3f
Merge pull request #18995 from taosdata/fix/main_bugfix_wxy
fix: user auth error
2022-12-19 11:53:15 +08:00
Haojun Liao
fdade6d6a3
Merge branch '3.0' into refact/submit_req 2022-12-19 11:24:00 +08:00
Shengliang Guan
ead5d8edf2 fix: reduce drop dnode speed makes data more secure 2022-12-17 18:34:29 +08:00
Shengliang Guan
9b98f547d1 fix: reset errorcode after check leader 2022-12-16 17:08:16 +08:00
Liu Jicong
4ab9638f9a enh(stream): forbid source db replica > 1 2022-12-16 15:41:08 +08:00
Liu Jicong
be03f7aa8b Merge branch 'main' into feature/stream 2022-12-16 14:42:44 +08:00
Shengliang Guan
9adf7d89a7 fix: incorrect error code for repeated dnode creation 2022-12-16 12:28:22 +08:00
Liu Jicong
4402bcef94 enh(stream): forbid source db replica > 1 2022-12-16 08:53:33 +08:00
Xiaoyu Wang
c21911fdbf fix: user auth error 2022-12-15 16:18:48 +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
3b519172a3 refact: post sem in mnode while sync timeout 2022-12-14 10:30:47 +08:00
Shengliang Guan
f623837b60 refact: adjust mnode timer 2022-12-14 09:14:54 +08:00
Shengliang Guan
e764666005 fix: return errorcode if sync stop 2022-12-13 11:28:48 +08:00
Shengliang Guan
9da398913e refact: post sem in mnode while sync timeout 2022-12-13 11:11:22 +08:00
Shengliang Guan
f137e8395d refact: change SRWLatch to TdThreadMutex in mnode 2022-12-13 10:18:00 +08:00
Shengliang Guan
d19103597c fix: should not check dnode status in follower 2022-12-12 20:52:18 +08:00
Haojun Liao
48f7fc5c3d
Merge branch '3.0' into refact/submit_req 2022-12-12 18:11:17 +08:00
Shengliang Guan
71587df603 enh: topic privilege 2022-12-12 17:34:32 +08:00
Shengliang Guan
ac389db7c2
Merge pull request #18876 from taosdata/fix/showQueriesCrash
fix: show queries crash issue
2022-12-10 15:58:16 +08:00
dapan1121
1aff3cceeb fix: show queries crash issue 2022-12-10 15:03:24 +08:00
Shengliang Guan
a43ba00bd1
Merge pull request #18838 from taosdata/fix/TD-21100
fix: supportVnodes config is not in effect
2022-12-09 13:02:30 +08:00
Shengliang Guan
06b0fefc38 fix: check topic privilege only 2022-12-09 11:15:22 +08:00
Shengliang Guan
75f9728ab9 fix: supportVnodes config is not in effect 2022-12-09 10:43:12 +08:00
Haojun Liao
27ebafdbaa other: merge 3.0 2022-12-09 10:19:05 +08:00
Shengliang Guan
e80868d65b
Merge pull request #18817 from taosdata/feature/stream
enh: check topic privilege
2022-12-08 21:05:16 +08:00
Shengliang Guan
e0215d60ad fix: set restored 2022-12-08 17:53:39 +08:00
Liu Jicong
c0c98320f3 enh: check topic privilege 2022-12-08 17:16:44 +08:00
Shengliang Guan
46889e2dc1 fix: avoid sync restore repeat called 2022-12-08 17:14:06 +08:00
Shengliang Guan
66f4ee9a41 enh: alter db replica return quickly, operation executed asynchronously 2022-12-07 21:57:49 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan
64e39cf2d4 enh: alter db replica return quickly, operation executed asynchronously 2022-12-07 20:16:22 +08:00
Shengliang Guan
4172acf95d git lo 2022-12-07 19:39:53 +08:00
Shengliang Guan
d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Shengliang Guan
f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
Benguang Zhao
50883689e7 enh: check contiguousness of indexes applied to vnode tsdb 2022-12-07 17:30:22 +08:00
Shengliang Guan
9b793fd1e6 refact: adjust some assert cases 2022-12-07 17:21:24 +08:00
Shengliang Guan
6bb736aeeb refact: adjust some assert cases 2022-12-07 16:30:21 +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
Shengliang Guan
1c6ff62459 Merge remote-tracking branch 'origin/3.0' into fix/TD-20857 2022-12-06 19:37:45 +08:00
Shengliang Guan
130ef694c7 fix: one less alter vnode request was sent 2022-12-06 19:37:43 +08:00
Shengliang Guan
5f6254fd93
Merge pull request #18740 from taosdata/enh/3.0_planner_optimize
feat: add stream option 'delete_mark'
2022-12-06 17:24:34 +08:00
Shengliang Guan
5b43a1aa41 Merge remote-tracking branch 'origin/3.0' into fix/TD-20857 2022-12-06 17:12:06 +08:00
Xiaoyu Wang
bc413b8fff feat: add stream option 'delete_mark' 2022-12-06 16:07:11 +08:00
Shengliang Guan
68e014977a enh: speed up drop dnode and avoid snapshot transfer 2022-12-06 15:45:45 +08:00
Hongze Cheng
7239fd3dba Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-06 15:15:27 +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
Shengliang Guan
346f71f9d3 enh: allow any user to create a topic 2022-12-06 13:23:59 +08:00
Shengliang Guan
8985f5513c enh: allow any user to create a topic 2022-12-06 12:48:11 +08:00
Shengliang Guan
2e900918bb enh: allow any user to create a topic 2022-12-06 12:02:32 +08:00
Liu Jicong
619bbdfd82 refactor: support submitreq2 2022-12-06 05:58:28 +08:00
Shengliang Guan
ae0ad8a973 refact: remove redundant error codes 2022-12-04 19:33:59 +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
Shengliang Guan
c20e607825 fix: compile error 2022-12-02 23:32:31 +08:00
Shengliang Guan
9e803332fc refact: adjust error codes 2022-12-02 23:10:12 +08:00
Shengliang Guan
524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
Shengliang Guan
24ee4b4289 Merge branch '3.0' into enh/TD-20891 2022-12-02 16:44:46 +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
Shengliang Guan
a3f57b9d6c
Merge pull request #18636 from taosdata/fix/3.0_bugfix_wxy
feat: sql command 'show user privileges'
2022-12-02 15:38:20 +08:00
Xiaoyu Wang
71140f565e feat: sql command 'show user privileges' 2022-12-02 13:43:48 +08:00
Xiaoyu Wang
83d33ceae2 feat: sql command 'show user privileges' 2022-12-02 13:12:41 +08:00
Xiaoyu Wang
37299a53f8 feat: sql command 'show user privileges' 2022-12-02 12:14:56 +08:00
Shengliang Guan
db42ec46bf refact: adust error code while dnode startup 2022-12-02 10:05:52 +08:00
Shengliang Guan
99657ccf78 fix: compatibility after update stream 2022-12-02 08:00:10 +08:00
Shengliang Guan
b8cc174211 Merge remote-tracking branch 'origin/3.0' into feature/stream 2022-12-02 07:59:39 +08:00
Shengliang Guan
ffb1d52e55 fix: compatility after update stream 2022-12-02 07:57:22 +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
Liu Jicong
3424b184d3 refactor(stream): distributed checkpoint 2022-12-02 03:48:45 +08:00
Shengliang Guan
0f05117131
Merge pull request #18603 from taosdata/fix/TD-20848
enh: add topic privilege in mnode
2022-12-01 18:27:48 +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
Shengliang Guan
2d48563959 fix: crash if failed to decode sdb row 2022-12-01 16:04:39 +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
Shengliang Guan
fe759c85f3 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19334-3.0 2022-12-01 15:04:55 +08:00
Shengliang Guan
9f9e2081f1 enh: add topic privilege 2022-12-01 13:37:32 +08:00
Minghao Li
86d5cba6be refactor(sync): delete code wait snapshot end in pre-close 2022-12-01 13:34:33 +08:00
Shengliang Guan
51378aae40 enh: add topic privilege 2022-12-01 12:22:43 +08:00
Shengliang Guan
395dedaa3a Merge remote-tracking branch 'origin/3.0' into fix/TD-20798 2022-12-01 11:55:16 +08:00
Shengliang Guan
b01120f0d2
Merge pull request #18584 from taosdata/fix/3.0_bugfix_wxy
feat: sql command 'show user privileges'
2022-12-01 11:53:21 +08:00
Shengliang Guan
04b0280693 enh: add topic privilege in mnode 2022-12-01 11:45:31 +08:00
Shengliang Guan
5998f72bfd Merge remote-tracking branch 'origin/fix/3.0_bugfix_wxy' into fix/TD-20848 2022-12-01 09:55:38 +08:00
Benguang Zhao
55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00
Shengliang Guan
1e8a816155 enh: show leader ** if vnode can read and can't write 2022-11-30 21:42:42 +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
Xiaoyu Wang
4e8acca2eb feat: sql command 'show user privileges' 2022-11-30 19:24:15 +08:00
Haojun Liao
124fb5fc50 refactor: do some internal refactor. 2022-11-30 17:52:12 +08:00
Shengliang Guan
d58640dd53 enh: show more info while drop dnode 2022-11-30 17:15:23 +08:00
Shengliang Guan
7e9b7f4e15 enh: show more info while drop dnode 2022-11-30 14:06:22 +08:00
Shengliang Guan
5556fd0c45 enh: add sync offline state 2022-11-30 12:02:54 +08:00
Shengliang Guan
5ecbcb1054 fix: cannot close mnode while transferring snapshot 2022-11-30 11:07:14 +08:00
Shengliang Guan
82bc543ed7 fix: cannot close mnode while transferring snapshot 2022-11-30 11:05:25 +08:00
Benguang Zhao
470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
Shengliang Guan
fb140a285e enh: add dropping status for vgroups 2022-11-29 16:24:59 +08:00
Shengliang Guan
b56b9414a3
Merge pull request #18516 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-11-28 20:56:33 +08:00
Shengliang Guan
af06f93f4e fix: deadlock while alter db replica 2022-11-28 18:00:51 +08:00
Shengliang Guan
232287a8b4 refact: adjust mnode log 2022-11-28 17:43:22 +08:00
Haojun Liao
3878af10c9 refactor: do some internal refactor. 2022-11-28 16:13:18 +08:00
Benguang Zhao
dc2dcea3de Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-28 14:27:10 +08:00
Shengliang Guan
aa59831c9b
Merge pull request #18497 from taosdata/fix/TD-20781
fix: memory leak while subscribe
2022-11-28 08:57:41 +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
Shengliang Guan
74f83a362b fix: memory while use taosx 2022-11-27 22:23:40 +08:00
Shengliang Guan
c4045de4bb fix: memory leak while subscribe 2022-11-27 21:27:15 +08:00
Benguang Zhao
4edef438ea enh: transfer ownership of msgs while committing sync log entries 2022-11-26 21:57:23 +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
7fe4cf7bbe
Merge branch '3.0' into feature/3_liaohj 2022-11-25 22:24:59 +08:00
Liu Jicong
48894c8bdb enh(stream): new api for stream queue 2022-11-25 18:03:40 +08:00
Shengliang Guan
729b35b6e5 fix: memory leak while subscribe 2022-11-25 17:22:12 +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
9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Shengliang Guan
01e8b03bf0
Merge pull request #18429 from taosdata/feature/stream
fix(stream): heap uaf
2022-11-24 15:32:20 +08:00
Liu Jicong
fcf46059e9 fix(stream): heap uaf 2022-11-24 14:34:15 +08:00
Shengliang Guan
73d51870ab fix: memory leak while schedule stream 2022-11-24 11:10:14 +08:00
Haojun Liao
e0e55b2d65 refactor: do some internal refactor. 2022-11-23 22:08:35 +08:00
Shengliang Guan
9c426540e7 fix: memory leaks while check mnode state 2022-11-18 20:15:13 +08:00
dapan1121
a3f0283eba
Merge pull request #18226 from taosdata/enh/msgRefactor0
enh: refactor batch meta msg
2022-11-18 09:20:15 +08:00
Shengliang Guan
bb2e88c9d8 fix: minus redoActionPos if sync failed 2022-11-17 18:39:04 +08:00
Benguang Zhao
051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Shengliang Guan
4efb9d2ac8 fix: memory leak in mndVgroup.c 2022-11-17 17:15:14 +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
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
Shengliang Guan
d906c44c16 fix: memory leak in while balance vgroup 2022-11-17 09:24:29 +08:00
Shengliang Guan
bffe0eea2a
Merge pull request #18216 from taosdata/feature/stream
fix(stream): skip check update for scalar
2022-11-16 19:53:03 +08:00
Liu Jicong
e2005cfa86 fix(stream): skip check update for scalar 2022-11-16 18:48:08 +08:00
Shengliang Guan
853c22de28 fix: memory leak while create stream 2022-11-16 10:55:19 +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
c3cc259928
Merge pull request #18157 from taosdata/feature/stream
fix: reset cache when table is dropped
2022-11-15 15:30:26 +08:00
Liu Jicong
76cd3122d1 fix: memory leak 2022-11-15 14:28:20 +08:00
Shengliang Guan
a57efc49b4 fix: memory leak of sync timer 2022-11-15 13:43:30 +08:00
Liu Jicong
efde22f081 fix: memory leak 2022-11-15 11:59:29 +08:00
Shengliang Guan
9e18a86ad2
Merge pull request #18134 from taosdata/feature/stream
enh(stream): add stream task info into information schema
2022-11-14 20:55:00 +08:00
Liu Jicong
7c8b2867ce enh(stream): add stream task info into information schema 2022-11-14 19:23:42 +08:00
Shengliang Guan
c0ad5b838b test: add asan cases 2022-11-14 16:17:28 +08:00
Shengliang Guan
70b937cfac
Merge pull request #18063 from taosdata/refacotr/add_debug_log
refactor(tmq): add debug log
2022-11-14 12:35:04 +08:00
Liu Jicong
d6c389a6cc refactor(tmq): add debug log 2022-11-14 10:46:05 +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
Liu Jicong
603cc02671 refactor(tmq): add more strict drop condition check 2022-11-11 15:00:34 +08:00
Liu Jicong
2386e0b513 refactor(tmq): add more strict drop condition check 2022-11-11 14:37:31 +08:00
Cary Xu
13680e2ee6 chore: set stream fill history on for tsma 2022-11-11 10:25:16 +08:00
dapan1121
56c5eb29b9
Merge pull request #18005 from taosdata/enh/TD-20288
enh: support vgroup epset update
2022-11-10 09:41:25 +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
b595c07149 fix: wait until db created while process use db req 2022-11-09 19:47:22 +08:00
Shengliang Guan
808ee3775d fix: wait until db created while process use db req 2022-11-09 19:42:30 +08:00
Haojun Liao
015f1a1df8 other: merge 3.0 2022-11-09 19:17:45 +08:00
dapan1121
2f807a85d0 Merge remote-tracking branch 'origin/3.0' into enh/TD-20288 2022-11-09 18:52:00 +08:00
dapan1121
9f7e06721c enh: support vgroup epset update 2022-11-09 18:48:52 +08:00
Shengliang Guan
35bacc2f96
Merge pull request #17995 from taosdata/feature/3.0_mhli
refactor(sync): add FpApplyQueueItems in fsm
2022-11-09 17:40:28 +08:00
Minghao Li
d672e7a05c refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:18:28 +08:00
Shengliang Guan
7f03194299
Merge pull request #17991 from taosdata/feature/stream
enh(tmq): auto clear lost consumer
2022-11-09 15:57:08 +08:00
Liu Jicong
4000176dc7 enh(tmq): auto clear lost consumer 2022-11-09 14:44:09 +08:00
Haojun Liao
b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
Shengliang Guan
0183fe6e73 fix: crash if db not exist while process status msg 2022-11-08 18:36:24 +08:00
Shengliang Guan
1dbb086045 enh: check vgroup status changes at regular intervals 2022-11-08 17:17:24 +08:00
Shengliang Guan
fb7d45303b fix: add log for use db rsp 2022-11-08 13:46:18 +08:00
Shengliang Guan
abd95562a0 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 12:36:28 +08:00
Shengliang Guan
30058f7619 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 10:46:32 +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
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
Benguang Zhao
5878c9a31a fix: impl ring log buffer 2022-11-07 14:27:22 +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
adb335467c fix: coverity issues 2022-11-05 19:59:18 +08:00
dapan1121
65636154ea fix: fix msg head issue 2022-11-04 10:47:49 +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
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
108b9ffed6 refact: add sequence for status msg 2022-11-03 10:42:33 +08:00
Minghao Li
1a4b7622e4 enh(sync): add sync pre stop 2022-11-03 09:39:20 +08:00
Shengliang Guan
b98e3f343d fix: status access time error 2022-11-02 18:57:38 +08:00
Shengliang Guan
b5f0041af1 refact: adjust error code in vnode 2022-11-02 15:28:32 +08:00
Shengliang Guan
21748defea Merge remote-tracking branch 'origin/3.0' into fix/TD-20095 2022-11-02 11:49:34 +08:00
Shengliang Guan
17e3c59aeb fix: add dnode status log 2022-11-02 11:21:13 +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
Shengliang Guan
a2abb3a411
Merge pull request #17817 from taosdata/fix/msg_compat
fix: msg compatibility
2022-11-01 21:10:46 +08:00
Liu Jicong
411373a7c5 fix: msg compatibility 2022-11-01 20:02:17 +08:00
Shengliang Guan
64633e3dbb enh: refact syncMsg code 2022-11-01 18:34:09 +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
a71dbd83d2
Merge pull request #17803 from taosdata/fix/TD-20052
enh: refact syncMsg code
2022-11-01 16:45:56 +08:00
Shengliang Guan
d35028ae4a enh: refact sync callback func 2022-11-01 16:10:07 +08:00
Shengliang Guan
f4dc7d0766 enh: refact sync callback func 2022-11-01 15:35:10 +08:00
Shengliang Guan
e79e50ae36 enh: refact syncMsg code 2022-11-01 13:58:25 +08:00
Liu Jicong
8ca5f0bd9c Merge branch '3.0' into feature/stream 2022-11-01 13:20:20 +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
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
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
Shengliang Guan
7ddde569a0 enh: force drop dnode 2022-10-31 17:29:24 +08:00
Minghao Li
0b20b914bb refactor(sync): add sync local cmd 2022-10-31 14:17:26 +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
Liu Jicong
d058475fac
Merge pull request #17750 from taosdata/feature/stream
feat(stream): snode
2022-10-28 18:12:48 +08:00
Liu Jicong
b26cc9c318 feat(snode) 2022-10-28 17:03:17 +08:00
Shengliang Guan
2664cf2ea6
Merge pull request #17736 from taosdata/fix/TD-19624
fix: split vgroup
2022-10-28 16:16:01 +08:00
Shengliang Guan
52cef327b2 Merge remote-tracking branch 'origin/3.0' into fix/TD-19963 2022-10-28 13:56:59 +08:00
Shengliang Guan
507e135b1f fix: split vgroup 2022-10-28 13:52:00 +08:00
Shengliang Guan
ff26385185
Merge pull request #17717 from taosdata/fix/TD-19872
test: improve coverall
2022-10-28 12:40:37 +08:00
Shengliang Guan
ab90ce5a05 fix: avoid deadlock 2022-10-28 12:14:49 +08:00
Shengliang Guan
19ee34c7c2 fix: compile error 2022-10-28 11:35:43 +08:00
Shengliang Guan
5101d21551 fix: compile error 2022-10-28 10:17:48 +08:00
Shengliang Guan
5240814261 test: improve coverall 2022-10-27 17:45:50 +08:00
Shengliang Guan
4e190d9702
Merge pull request #17713 from taosdata/enh/TD-19459
test: restore some cases
2022-10-27 17:35:01 +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
Shengliang Guan
4844b9158e test: add replica case 2022-10-27 15:29:03 +08:00
Shengliang Guan
ff428696d5 enh: drop snode 2022-10-27 15:03:18 +08:00
Shengliang Guan
e7693b89ce enh: balance vgroup 2022-10-27 14:37:21 +08:00
Shengliang Guan
14519019f7 enh: balance vgroup 2022-10-27 11:10:54 +08:00
Liu Jicong
2a3448552e test(wal): rollback multiple file 2022-10-26 18:03:25 +08:00
Shengliang Guan
eae23f51ab fix: wait more times if database not ready 2022-10-25 16:23:30 +08:00
Shengliang Guan
b508c25118 enh: redistribute vgroup 2022-10-25 15:55:19 +08:00
Shengliang Guan
919f09c5ec Merge remote-tracking branch 'origin/3.0' into enh/TD-19460 2022-10-25 13:41:55 +08:00
Shengliang Guan
e281714543 enh: redistribute vgroup 2022-10-24 18:14:57 +08:00
Haojun Liao
992a130860 refactor: do some internal refactor. 2022-10-24 17:24:20 +08:00
Shengliang Guan
ec786b9d78 fix: alter replica one by one 2022-10-24 11:57:26 +08:00
Shengliang Guan
bbb0475d69 fix: alter replica one by one 2022-10-24 10:05:57 +08:00
Shengliang Guan
8a5066335a fix: invalid msg while alter db replica 2022-10-23 22:51:22 +08:00
Shengliang Guan
47cef3ba75 fix: invalid msg while alter db replica 2022-10-23 22:44:41 +08:00
Shengliang Guan
577f5655bf
Merge pull request #17564 from taosdata/feature/sync2-merge
refactor(sync): refactor sync
2022-10-23 19:04:40 +08:00
Shengliang Guan
9b4c84af1d fix: comment out unstable case 2022-10-23 14:58:24 +08:00
Shengliang Guan
8354d7a491 test: comment out unstable case 2022-10-22 22:22:20 +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
71d4d82cf4
Merge pull request #17450 from taosdata/fix/TD-19312
fix: add cachesize in show create database result
2022-10-22 08:14:17 +08:00
Shengliang Guan
f5d1b3f8f1 Merge remote-tracking branch 'origin/3.0' into feature/sync2-merge 2022-10-21 19:12:06 +08:00
Liu Jicong
25bb914ac1 merge 3.0 2022-10-21 16:30:43 +08:00
Liu Jicong
1c26f1b53e fix(wal): reference 2022-10-21 16:13:55 +08:00
chenhaoran
d2e4b0b5f6 Merge branch '3.0' into fix/TD-19312 2022-10-21 07:40:58 +00:00
Shengliang Guan
c6bbd18924 fix: not post sem if transId is 0 2022-10-21 15:33:06 +08:00
Liu Jicong
5571ebee0f
Merge pull request #17542 from taosdata/feature/stream
enh(stream): internal optimize
2022-10-21 14:31:42 +08:00
Liu Jicong
26d4af6968 fix: memory leak 2022-10-21 11:42:30 +08:00
Liu Jicong
e0b5b9263e refactor: remove unused code 2022-10-21 10:42:24 +08:00
Shengliang Guan
2953a8868b enh: alter db replica 2022-10-21 10:40:02 +08:00
chenhaoran
70b37608ee Merge branch '3.0' into fix/TD-19312 2022-10-21 02:31:30 +00:00
Liu Jicong
035e6b13c8 enh(stream): internal optimize 2022-10-21 10:29:05 +08:00
Minghao Li
cc7a393978 refactor(sync): refactor sync 2022-10-20 19:42:22 +08:00
Shengliang Guan
3163f75733 enh: alter db replica 2022-10-20 18:11:37 +08:00
Minghao Li
a35ad361d0 refacotr(sync): call syncBeginSnapshot instead of walBeginSnapshot 2022-10-20 18:01:43 +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
haoranchen
b3657f6e81
Merge branch '3.0' into fix/TD-19312 2022-10-20 15:05:41 +08:00
Cary Xu
951d110b3b fix: coverity scan for trow 2022-10-20 09:31:17 +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
39e303b79b enh: show the restore status of vnode when show vgroups 2022-10-19 20:07:15 +08:00
haoranchen
6041464e96
Merge branch '3.0' into fix/TD-19312 2022-10-19 19:28:31 +08:00
Benguang Zhao
2aa7afe7fa Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 16:31:13 +08:00
Shengliang Guan
67e23350b2
Merge pull request #17461 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-19 11:54:35 +08:00
Minghao Li
28a5a9d7e1 refactor(sync): add log, update quorum first when reconfig 2022-10-19 10:57:50 +08:00
Shengliang Guan
fc5af24975
Merge pull request #17444 from taosdata/enh/TD-19622
refact: remove bnode codes
2022-10-19 10:06:35 +08:00
Benguang Zhao
00a066443f Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 09:38:36 +08:00
Benguang Zhao
3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
dapan1121
53e73511b5 Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-19 09:16:13 +08:00
dapan1121
20085e5b72 fix:fix coverity issues 2022-10-19 09:15:04 +08:00
Shengliang Guan
a941b0b919
Merge pull request #17441 from taosdata/enh/TD-19463_2
enh: sync propose return at once if replica is 1
2022-10-19 09:07:57 +08:00
dapan1121
99fd3284df
Merge pull request #17439 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-18 22:15:20 +08:00
dapan1121
cbfc9872c6 fix: add cachesize in show create database result 2022-10-18 18:28:49 +08:00
Shengliang Guan
3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
Shengliang Guan
9e0feee081 enh: sync propose return at once if replica is 1 2022-10-18 17:06:03 +08:00
dapan1121
0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00
Minghao Li
e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Shengliang Guan
f76261dcb5 fix: become leader if replica num is 1 2022-10-18 12:31:15 +08:00
Shengliang Guan
a609f0efb5 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 09:37:33 +08:00
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
Minghao Li
8a6eaed6f6 refactor(sync): delete some code 2022-10-17 17:36:51 +08:00
Minghao Li
94d8c09e58 refactor(sync): use new interface in mnode 2022-10-17 17:01:42 +08:00
Shengliang Guan
8fe672feab fix: crash whle reconfig mnode will cause taosd reboot failure 2022-10-17 14:34:51 +08:00
Minghao Li
5745223bca refactor(sync): add double queues in mnode 2022-10-17 10:33:27 +08:00
Liu Jicong
9a3ac0ca57 Merge branch '3.0' into feature/stream 2022-10-17 10:17:45 +08:00
Liu Jicong
6f9153c6e3 fix: error handling 2022-10-17 10:13:10 +08:00
Benguang Zhao
616eb5f903 Merge branch '3.0' into FIX/TD-19239-3.0 2022-10-16 00:29:01 +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
Shengliang Guan
78fb1911d4 enh: refactor the code to create and delete mnodes 2022-10-14 17:59:09 +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
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
61160d3f4a fix: crash while create mnode 2022-10-13 10:49:56 +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
Liu Jicong
69352e6e89 fix tbanme length check 2022-10-12 10:50:54 +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
Shengliang Guan
c8fd6b74d0
Merge pull request #17282 from taosdata/fix/TD-19245
fix: coverity issues
2022-10-11 16:21:24 +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
Shengliang Guan
37c193b30b Merge remote-tracking branch 'origin/fix/TD-19245' into fix/TD-19441 2022-10-11 15:31:14 +08:00
Liu Jicong
26fae13c61 refactor(stream): state/session map id to tbname 2022-10-11 15:27:56 +08:00
Liu Jicong
596ea98c2f
Merge pull request #17281 from taosdata/feature/stream
refactor(stream)
2022-10-11 09:27:49 +08:00
Shengliang Guan
8862a31fb1 fix: coverity issues 2022-10-11 09:23:47 +08:00
Liu Jicong
fbfae317b3 refactor 2022-10-11 02:09:15 +08:00
Shengliang Guan
8cb0edf823
Merge pull request #17261 from taosdata/enh/TD-19407
fix: add logs
2022-10-10 15:57:46 +08:00
Shengliang Guan
452f224727
Merge pull request #17253 from taosdata/fix/TD-19245
fix: coverity issues
2022-10-10 14:46:04 +08:00
Shengliang Guan
fe4c7dee7c fix: add logs 2022-10-10 14:45:49 +08:00
Liu Jicong
b1594a6857 fix coverity scan 2022-10-10 11:44:17 +08:00
Shengliang Guan
66a4f332b3 fix: coverity issues 2022-10-10 10:51:16 +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
Shengliang Guan
9fc1e86f4d Merge remote-tracking branch 'origin/3.0' into fix/TD-19245 2022-10-09 18:35:06 +08:00
Shengliang Guan
633fd372cd fix: coverity issues 2022-10-09 17:48:06 +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
Hongze Cheng
bacfabfc88 make it pass unit test 2022-10-09 16:50:52 +08:00
Hongze Cheng
ee56c50069 more code 2022-10-09 13:52:44 +08:00
Shengliang Guan
4f3867e2ea
Merge pull request #17223 from taosdata/fix/TD-19394
fix: continue execute transactions after taosd restart
2022-10-08 20:04:23 +08:00
Shengliang Guan
4b92876f8c fix: continue execute transactions after taosd restart 2022-10-08 18:08:26 +08:00
Shengliang Guan
2210bc2205 fix: coverity issues 2022-10-08 17:06:29 +08:00
Shengliang Guan
4e65accad2 fix: coverity issues 2022-10-08 17:02:34 +08:00
Shengliang Guan
ffadc1c550 fix: coverity issues 2022-10-08 14:36:54 +08:00
Shengliang Guan
2e5eac4b4c fix: coverity issues 2022-10-08 13:53:10 +08:00
Shengliang Guan
e98335bdfa fix: coverity issues 2022-10-08 11:29:46 +08:00
Shengliang Guan
31e424d5ab fix: coverity issues 2022-09-30 14:59:31 +08:00
Shengliang Guan
dfb2b0678f fix: coverity issues 2022-09-30 14:03:46 +08:00
Shengliang Guan
c6317e67f0 fix: coverity issues 2022-09-30 11:26:26 +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
Liu Jicong
01c94a775b feat(tmq): push optimization 2022-09-28 14:55:19 +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
Shengliang Guan
8198516b7e fix: compile error in windows 2022-09-27 10:27:25 +08:00
Shengliang Guan
1e5dc921e0 fix: set wal apply version on vnode reopen 2022-09-26 20:32:02 +08:00
Shengliang Guan
f4cbf6dd75
Merge pull request #17040 from taosdata/fix/ZhiqiangWang/TD-13064-fix-mac-test-error
os: fix Mac test error
2022-09-26 18:53:48 +08:00
afwerar
a050c051a7 os: mac test error 2022-09-26 17:31:02 +08:00
Shengliang Guan
dafde51767 fix: do not send ttl msg on taosd startup 2022-09-26 16:40:15 +08:00
Shengliang Guan
f9678ebba1 Merge remote-tracking branch 'origin/3.0' into fix/TD-19220 2022-09-26 16:33:30 +08:00
Shengliang Guan
a11b9dea8b enh: dump sdb info from mnode 2022-09-26 16:29:28 +08:00
Shengliang Guan
555a99bf90 enh: dump sdb info from mnode 2022-09-26 16:18:48 +08:00
Shengliang Guan
983f4797f2
Merge pull request #16862 from taosdata/enh/clientPolicy
enh: support client merge policy
2022-09-23 17:26:30 +08:00
Shengliang Guan
fbf3641df7 fix: do not send ttl msg on taosd startup 2022-09-23 16:50:32 +08:00