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
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
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
Haojun Liao
1b9eca5ce0
other: merge main.
2023-06-15 13:03:17 +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
wangmm0220
78db3520a6
fix:conflict
2023-05-29 14:57:03 +08:00
wangmm0220
a71878d07f
feat: support create topic as stable with conditions
2023-05-29 11:46:59 +08:00
Benguang Zhao
30104f300c
enh: refactor func names of mndTransPerformFinishedStage and mndTrancCheckConflict
2023-05-25 15:44:26 +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
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
dmchen
32c6ef4b6e
fix ci
2023-05-17 23:09:16 +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
dmchen
4eed65432c
colid overflow
2023-05-08 13:26:11 +08:00
wade zhang
ca790277b9
Merge pull request #21140 from taosdata/fix/int16-overflow
...
int16 overflow
2023-05-06 13:27:55 +08:00
dm chen
4242f2c4cc
Update mndStb.c
2023-05-05 17:49:27 +08:00
dm chen
59f103a477
Update mndStb.c
2023-05-05 17:47:32 +08:00
dapan1121
5006ecc484
fix: stable name not responsed while stable removed issue
2023-05-05 11:45:14 +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
Xiaoyu Wang
4c04b155d5
merge main
2023-04-11 15:56:28 +08:00
cademfly
db725c6f6d
show priviledge format
2023-03-30 18:53:50 +08:00
dapan1121
5b02af6a91
fix: merge main to 3.0
2023-03-22 16:08:16 +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
d90c8e834a
chore: var def optimization
2023-03-18 13:07:15 +08:00
kailixu
f297f67698
fix: show obj
2023-03-17 16:40:29 +08:00
kailixu
7ed966e3f1
fix: select ins_columns from stb/tb
2023-03-17 12:33:34 +08:00
yihaoDeng
07ca8eb8e0
enh: add trace to transaction
2023-03-16 10:25:46 +00:00
kailixu
ba5c3fb2ab
fix: select ins_columns for stb with 4096 columns
2023-03-16 00:01:54 +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
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
a94fd9ec47
fix: alter stable error
2023-02-24 14:54:35 +08:00
Haojun Liao
22aa03307c
fix(query): fix syntax errors on centos.
2023-02-24 11:38:54 +08:00
Xiaoyu Wang
1ab144609e
merge main
2023-02-23 14:58:22 +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
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
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
yihaoDeng
a929aa22d8
merge 3.0
2023-02-12 10:48:18 +08:00
wangmm0220
762f6466f3
fix:conflicts from 3.0
2023-02-06 09:23:29 +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
wangmm0220
c330588d55
fix:error in subscribe table for taosx
2023-02-03 15:35:13 +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
yihaoDeng
38389ff1ef
del invalid macro
2023-01-29 21:15:54 +08:00
yihaoDeng
bfd711c08f
Merge remote-tracking branch 'origin/3.0' into dynamicIdx
2023-01-18 22:01:49 +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
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
wangmm0220
3b4ff4d094
fix:add logic for scan ins_columns
2023-01-10 20:32:31 +08:00
yihaoDeng
7e720269e2
update add/del tag index
2023-01-06 21:33:42 +08:00
yihaoDeng
b1241e5e0d
dynamic add/del idx
2023-01-06 14:08:17 +08:00
yihaoDeng
e11f7c82d5
update json tag file
2023-01-05 20:56:22 +08:00
yihaoDeng
a64e9d53b4
updata index
2023-01-05 15:39:35 +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
Shengliang Guan
fc21140e03
enh: remove assert from mnode
2023-01-03 15:33:50 +08:00
Shengliang Guan
cb5ec76cce
enh: check conflict before create trans
2022-12-23 13:58:39 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases"
2022-12-07 21:51:17 +08:00
Shengliang Guan
f69a188f7e
refact: replcase ASSERT with tAssert
2022-12-07 18:37:40 +08:00
Xiaoyu Wang
bc413b8fff
feat: add stream option 'delete_mark'
2022-12-06 16:07:11 +08:00
Shengliang Guan
2d48563959
fix: crash if failed to decode sdb row
2022-12-01 16:04:39 +08:00
Haojun Liao
3878af10c9
refactor: do some internal refactor.
2022-11-28 16:13:18 +08:00
Liu Jicong
fcf46059e9
fix(stream): heap uaf
2022-11-24 14:34:15 +08:00
dapan1121
5ab6166efe
enh: support grant check in vnode query
2022-11-07 16:23:40 +08:00
dapan1121
65636154ea
fix: fix msg head issue
2022-11-04 10:47:49 +08:00
Shengliang Guan
1ad604a5f9
enh: force drop dnode
2022-10-31 19:57:27 +08:00
dapan1121
20085e5b72
fix:fix coverity issues
2022-10-19 09:15:04 +08:00
dapan1121
0fe14f0b16
fix: fix coverity issues
2022-10-18 16:33:27 +08:00
Hongze Cheng
6ed0634fb7
format more code
2022-10-13 11:56:16 +08:00
Shengliang Guan
dfb2b0678f
fix: coverity issues
2022-09-30 14:03:46 +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
555a99bf90
enh: dump sdb info from mnode
2022-09-26 16:18:48 +08:00
Shengliang Guan
fbf3641df7
fix: do not send ttl msg on taosd startup
2022-09-23 16:50:32 +08:00
Shengliang Guan
3810b5d4fa
fix: add more info log for mnode
2022-09-23 15:42:36 +08:00
Shengliang Guan
43ef21f67b
enh: add oper name to show transaction
2022-09-22 16:19:33 +08:00
Liu Jicong
273adb9895
fix memory leak
2022-09-16 16:17:02 +08:00
wangmm0220
6b61d3c23b
fix:conflicts from 3.0
2022-08-25 16:57:19 +08:00
dapan1121
4ab25b856f
Merge remote-tracking branch 'origin/3.0' into enh/updateTbMeta
2022-08-25 13:23:16 +08:00
Xiaoyu Wang
99490c063e
feat: system table visible permission
2022-08-24 17:36:10 +08:00
dapan1121
0ebd3281c5
enh: update table meta after creating table
2022-08-23 18:26:27 +08:00
wangmm0220
947f39523e
fix:num of cols add num of tags should not be bigger than 4096
2022-08-22 18:31:31 +08:00
Cary Xu
441ce21677
enh: rsma batch process
2022-08-19 17:19:50 +08:00
Liu Jicong
a2757eb4f3
fix(mnode): memory leak
2022-08-18 14:26:11 +08:00
Liu Jicong
963287798d
refactor(mnode): drop stream task
2022-08-17 23:18:39 +08:00
Liu Jicong
853e6e2988
refactor(mnode): drop stream task
2022-08-17 19:19:58 +08:00
Liu Jicong
e7377e410c
refactor(mnode): check drop and alter stb for stream and topic
2022-08-17 15:10:15 +08:00
54liuyao
c1522632dc
fix(stream): amend error message
2022-08-04 13:39:16 +08:00
afwerar
108c3a1137
feat: add stable create limit
2022-08-03 09:18:36 +08:00
Cary Xu
45c68a1622
fix: check modifiable when drop tsma columns
2022-08-01 16:51:32 +08:00
Shengliang Guan
9650f0b3b0
enh: check stb conflict in trans
2022-07-25 22:14:10 +08:00
Shengliang Guan
7296bf1658
fix: failed to create stb in 3 replica db
2022-07-25 20:26:25 +08:00
Shengliang Guan
c8bdd98467
fix: modifying stb in subscription is not allowed
2022-07-22 22:03:58 +08:00
Shengliang Guan
312f3a3cd5
fix: definite lost while alter stable comment
2022-07-16 20:47:18 +08:00
wangmm0220
0237ccbbb6
fix:error in tmq meta
2022-07-13 15:33:31 +08:00
wangmm0220
037ea1519c
fix:core dump if consumer multi vgroup message with sequence:create/alter/delete/create or create/delete/create
2022-07-13 13:42:55 +08:00
wangmm0220
0857ab3531
fix:core dump if consumer multi vgroup message with sequence:create/alter/delete/create or create/delete/create
2022-07-13 11:39:32 +08:00
wangmm0220
824d3db96b
fix:conflict from 3.0
2022-07-12 16:01:55 +08:00
dapan1121
8957a91ab3
fix: add more columns in show stable res
2022-07-12 13:56:15 +08:00
wangmm0220
c54bc76925
feat:get meta ok
2022-07-11 17:36:07 +08:00
wangmm0220
0a193cf811
feat:get meta ok
2022-07-11 16:12:07 +08:00
Shengliang Guan
080f30d014
feat: trim db
2022-07-11 15:16:10 +08:00
wangmm0220
2411a1416a
fix:conflicts
2022-07-10 19:01:56 +08:00
wangmm0220
b1c290f6dc
fix:conflicts
2022-07-10 18:57:34 +08:00
wangmm0220
607f8163d3
feat:add logic for get_tmq_meta_json
2022-07-10 18:54:58 +08:00
Shengliang Guan
77cb2c0b84
feat:write meta from tmq to taosd
2022-07-10 14:07:53 +08:00
Shengliang Guan
998de54728
feat:write meta from tmq to taosd
2022-07-10 11:17:51 +08:00
Shengliang Guan
c6591c3cd3
Merge remote-tracking branch 'origin/3.0' into feature/TD-13041
2022-07-10 10:59:47 +08:00
Shengliang Guan
f2f45a1ec7
feat:write meta from tmq to taosd
2022-07-10 10:59:34 +08:00
WANG MINGMING
30b1af3feb
Merge pull request #14700 from taosdata/feature/TD-13041
...
feat:write meta from tmq to taosd
2022-07-10 10:22:51 +08:00
wangmm0220
6b46423a97
feat:write meta from tmq to taosd
2022-07-08 18:37:47 +08:00
Shengliang Guan
6c2a8a51e6
fix: invalid free while create stb
2022-07-06 21:17:52 +08:00
Shengliang Guan
344ef7e1bc
fix: drop tsma
2022-07-01 17:09:44 +08:00
Shengliang Guan
9ca02dd5fe
refactor: stable mgmt
2022-07-01 14:36:50 +08:00
Shengliang Guan
1b3fde4a60
refactor: stable mgmt
2022-07-01 11:12:08 +08:00
Cary Xu
e6dd04f573
refactor: rsma restore
2022-06-27 14:47:14 +08:00
Shengliang Guan
89d6ca7823
feat: privilege for sysinfo user
2022-06-25 18:03:12 +08:00
Shengliang Guan
09ce47ae9f
refactor: rename auth to privilege
2022-06-25 10:27:27 +08:00
Shengliang Guan
adce85f977
Merge remote-tracking branch 'origin/3.0' into feature/TD-16524
2022-06-22 11:20:08 +08:00
Shengliang Guan
ab37b6e546
refactor: adjust code styles
2022-06-22 11:18:10 +08:00
dapan1121
a98601b11d
feat: show create table
2022-06-21 18:41:12 +08:00
wangmm0220
f2ad546666
fix: add configure for ttl unit
2022-06-21 18:37:47 +08:00
wangmm0220
12d8714f29
feat:merge from 3.0
2022-06-21 18:01:40 +08:00
dapan1121
88b48ec46c
Merge branch '3.0' into feature/showcreate
2022-06-21 17:40:52 +08:00
dapan1121
be2935cba6
feat: show create table
2022-06-20 20:58:36 +08:00
Cary Xu
ba94a44bec
refactor: rsma support max_delay/watermark params
2022-06-20 19:27:26 +08:00
Cary Xu
24af96f833
other: solve conflict
2022-06-20 15:39:20 +08:00
dapan1121
88aff7bae1
Merge branch '3.0' into feature/showcreate
2022-06-20 13:35:18 +08:00
dapan1121
40879a80fe
feat: show create table
2022-06-20 13:32:21 +08:00
wangmm0220
746f4759b0
fix:merge from 3.0
2022-06-18 19:40:36 +08:00
Xiaoyu Wang
3599b26526
Merge pull request #13943 from taosdata/feature/3.0_debug_wxy
...
feat: rollup options adjust
2022-06-18 16:26:48 +08:00
WANG MINGMING
a64013461f
Merge branch '3.0' into feature/TD-16524
2022-06-18 11:11:54 +08:00
Xiaoyu Wang
aea4f9c69b
feat: rollup options adjust
2022-06-17 17:27:42 +08:00
WANG MINGMING
b3d2daeb72
Merge branch '3.0' into feature/TD-16524
2022-06-17 14:51:33 +08:00
wangmm0220
8ace8dfd8b
feat:add ttl/comment function & fix global version shadows a variable
2022-06-17 14:47:37 +08:00
Shengliang Guan
5ae355077c
enh(mnode): transaction conflict supports two db
2022-06-17 11:11:29 +08:00
Shengliang Guan
80e0b830fe
refactor: remove duplicate conninfo in SRpcMsg
2022-06-17 10:40:42 +08:00
wangmm0220
2bd2996e74
feat:add comment function
2022-06-16 20:45:00 +08:00
wangmm0220
e28e92ea35
feat:add ttl
2022-06-16 20:44:25 +08:00
Liu Jicong
928f45709d
feat(stream): drop stream
2022-06-16 16:01:22 +08:00
dapan1121
69eb9daddb
Merge pull request #13851 from taosdata/feature/showqueries
...
feat: support some show and kill commands
2022-06-16 09:15:02 +08:00