Commit Graph

3700 Commits

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