Commit Graph

2026 Commits

Author SHA1 Message Date
Haojun Liao 6abf8ff88d enh(tsdb): opt perf. 2023-07-06 10:15:50 +08:00
kailixu 59e83fca5d chore: build fix 2023-07-05 18:33:09 +08:00
Hongze Cheng 214c92264c Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-03 11:27:26 +08:00
Hongze Cheng 96fc18e630 win compile 2023-06-30 14:04:36 +08:00
dapan1121 3519e9170e Merge remote-tracking branch 'origin/main' into 3.0 2023-06-29 11:13:45 +08:00
wade zhang 80130b2691
Merge pull request #21851 from luckeverda/fix/TD-24473
fix/TD-24542/TD-24484/TD-24473
2023-06-29 10:42:53 +08:00
Shungang Li 308ba7a02e fix: type geometry predicates support
support "=, <>, is null, is not null, in, not in"
2023-06-29 09:44:51 +08:00
wangjiaming0909 57ddb3437d feature: optimize order by limit using priority queue 2023-06-27 17:50:50 +08:00
wangmm0220 7e38ef7091 fix:add limit for topic and group num 2023-06-27 17:44:51 +08:00
Hongze Cheng d23902877e make it compile on win 2023-06-27 14:33:55 +08:00
Haojun Liao 1ad05a06d6
Merge branch '3.0' into enh/tsdb_optimize 2023-06-27 11:46:37 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Hongze Cheng 5ad9bd938f change default stt trigger as 2 2023-06-26 15:47:36 +08:00
dapan1121 c4d630aaa1 fix: merge tree free rc issue 2023-06-21 13:58:07 +08:00
wade zhang d5f37359f4
Merge pull request #21722 from taosdata/fix/TD-24761
fix(tsdb/cache): rewrite cache update to fix cpu usage
2023-06-16 11:52:02 +08:00
dapan1121 575c48212a
Merge pull request #21721 from taosdata/fix/TD-24707
fix: forbid system table functions
2023-06-15 18:52:33 +08:00
Minglei Jin 158ae209bf cache/lru: new applyF API for tlrucache 2023-06-15 16:34:51 +08:00
wangmm0220 22776e60d5 fix:control memory size if consumer group is too much 2023-06-15 14:51:04 +08:00
Ganlin Zhao e79d63d766 add error code 2023-06-14 13:34:25 +08:00
Hongze Cheng 48ea3963e7 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-14 13:12:31 +08:00
Hongze Cheng c85c032158 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-14 09:14:16 +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
Hongze Cheng 7baeabc6b9 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-13 13:21:12 +08:00
wangmm0220 fb123d8761 fix:conflict from 3.0 2023-06-13 09:47:08 +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
Hongze Cheng 9cdaf24113 more code 2023-06-09 17:52:57 +08:00
wangmm0220 3f46a9bbc9 feat:add parameters for consumer & add offset rows for subscription 2023-06-08 18:14:02 +08:00
Hongze Cheng ef524f6965 more code 2023-06-08 15:35:43 +08:00
Hongze Cheng 2f5f0b75df refact code 2023-06-08 10:31:19 +08:00
Hongze Cheng 91c8391bff Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-08 09:53:57 +08:00
Shungang Li 472665e4b1 fix: compress core by tDataTypes 2023-06-06 13:06:53 +08:00
Benguang Zhao ae26f701ae fix: ignore TSDB_CODE_MND_TRANS_SYNC_TIMEOUT on updating trans 2023-06-02 18:49:15 +08:00
Hongze Cheng 616a675682 more code 2023-05-31 10:59:47 +08:00
Hongze Cheng e4b7318ced more code 2023-05-27 19:54:07 +08:00
Hongze Cheng 880359ddb3 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-27 11:50:25 +08:00
Hongze Cheng b4b0db9a3d more code 2023-05-26 23:51:18 +08:00
Hongze Cheng 0090d02226 more code 2023-05-26 23:42:47 +08:00
Hongze Cheng 4cb4c6388c more code 2023-05-26 19:32:02 +08:00
dmchen fcf2b58aad check offline when force 2023-05-26 12:48:37 +08:00
Hongze Cheng 3c2a54ab4b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-24 18:28:56 +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
Hongze Cheng 85c4c61027 more code 2023-05-23 14:18:23 +08:00
Hongze Cheng 91a5e17b9b more code 2023-05-23 11:45:33 +08:00
Hongze Cheng 57bde4f311 more code 2023-05-23 11:35:44 +08:00
Hongze Cheng ca28c99f80 more code 2023-05-23 11:19:24 +08:00
Hongze Cheng c16126fa96 more code 2023-05-22 18:39:10 +08:00
Hongze Cheng 8b83c85b0c more code 2023-05-22 16:28:31 +08:00
Hongze Cheng e731a08f2d Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-22 14:07:49 +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
Hongze Cheng de1bdf97f9 more code 2023-05-19 17:20:53 +08:00
Hongze Cheng 1c4abc62c3 more code 2023-05-19 15:16:01 +08:00
Hongze Cheng e247870548 more code 2023-05-19 13:35:32 +08:00
Hongze Cheng 66ea10755e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-19 10:58:12 +08:00
Hongze Cheng 944d6a9c74 more code 2023-05-19 10:24:07 +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
Hongze Cheng 5847774ba2 more code 2023-05-18 18:58:50 +08:00
Hongze Cheng ce3ede94ee more code 2023-05-18 18:38:14 +08:00
kailixu 1de90208f7 test: test case for alter dnode active code 2023-05-18 18:02:48 +08:00
Hongze Cheng c7d1c88fbc more code 2023-05-18 15:06:21 +08:00
dmchen 178a303832 change restore prompt message 2023-05-18 14:43:10 +08:00
Hongze Cheng 4b5ea55d1a more code 2023-05-17 16:46:10 +08:00
dmchen 9ff56a4e2b unsafe command 2023-05-16 14:02:54 +08:00
Hongze Cheng 96bfbbe784 refact more code 2023-05-16 10:07:46 +08:00
Hongze Cheng e783609ebd more code 2023-05-16 09:36:32 +08:00
Hongze Cheng c31b1034cd Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-15 14:26:40 +08:00
Haojun Liao 99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
wangmm0220 e17a105eff feat:[TD-23117] add schema for ins_topics 2023-05-12 18:14:43 +08:00
Hongze Cheng e7ebb5c2db more code 2023-05-12 16:23:07 +08:00
kailixu 7643114216 Merge branch '3.0' into enh/TD-23582-3.0 2023-05-12 14:26:33 +08:00
Hongze Cheng a15a1ab806 Merge branches 'enh/tsdb_optimize' and '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-12 14:14:45 +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 efd6b578ff chore: more code 2023-05-11 14:57:50 +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
kailixu 665681947f chore: more code 2023-05-09 19:02:09 +08:00
cadem 843d606058 feat/restore dnode 2023-05-09 17:15:37 +08:00
kailixu e4882765ae Merge branch '3.0' into feat/TD-23643-3.0 2023-05-08 16:28:20 +08:00
kailixu 2be6ff4630 chore: more code 2023-05-06 20:38:50 +08:00
yihaoDeng 08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
Haojun Liao 71a2886fa5
Merge pull request #21163 from taosdata/fix/TS-3277
fix:[TS-3277]table not exist if drop stable in another client when in…
2023-05-06 14:30:23 +08:00
Hongze Cheng 8f058c8571 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-06 13:22:49 +08:00
dm chen ee0e0b4ad4
Update taoserror.h 2023-05-05 17:46:24 +08:00
wangmm0220 0a469484fa fix:[TS-3277]table not exist if drop stable in another client when insert data using schemaless interface 2023-05-05 15:01:27 +08:00
dmchen af0ca38a89 int16 overflow 2023-05-04 17:12:02 +08:00
kailixu f012c70f04 enh: error code optimization 2023-04-28 18:16:35 +08:00
yihaoDeng 36a4413bf1 merge rocksdb inst 2023-04-27 14:38:33 +00:00
kailixu fa822ff286 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-27 19:11:16 +08:00
Hongze Cheng e2df5f772e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-26 15:36:30 +08:00
kailixu a6e37622ff chore: more code 2023-04-25 22:15:06 +08:00
Benguang Zhao fee4050d79 enh: rename error code TSDB_CODE_SYN_NEGO_WIN_EXCEEDED 2023-04-25 18:05:36 +08:00
Benguang Zhao 693bc09f19 enh: comment off unused error codes in sync and wal 2023-04-25 17:36:13 +08:00
dapan1121 f22d279f5f
Merge pull request #21057 from taosdata/feat/TD-19567
feat: support log slow query by default
2023-04-25 13:43:34 +08:00
kailixu 781834065a Merge branch '3.0' into enh/TD-21161-3.0 2023-04-25 08:22:08 +08:00
kailixu 2d4dd64584 chore: more code 2023-04-24 20:21:28 +08:00
dapan1121 6386c32392
Merge pull request #21034 from taosdata/szhou/td-23586
enhance: error code refactor
2023-04-24 16:53:53 +08:00
dapan1121 9551a269b3 feat: support log slow query by default 2023-04-24 16:45:34 +08:00
cadem 470fef6452 fix/block check to async check for mnode 2023-04-24 13:38:55 +08:00
Haojun Liao fa46165227 Merge branch 'main' into enh/rocksdbSstate 2023-04-24 12:59:24 +08:00
cadem a781d43577 fix/block-check-to-async-check 2023-04-24 10:23:43 +08:00
Xiaoyu Wang 35f02cdbad
Merge pull request #21013 from taosdata/FIX/TD-23768-main
fix: change tdbTbInsert to tdbTbUpsert for meta update in tdb
2023-04-23 15:15:17 +08:00
shenglian zhou 8ce07b0cc7 fix: change error description of udf pipe not exist 2023-04-23 15:04:08 +08:00
Hongze Cheng 7cf2911c23 more code 2023-04-23 14:57:49 +08:00
shenglian zhou bb3ce6a3d7 enhance: error code refactor 2023-04-23 14:54:12 +08:00
Hongze Cheng 85a36d625e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-23 14:03:59 +08:00
yihaoDeng 917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00: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
Hongze Cheng 2f91256a09 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-21 10:45:41 +08:00
dm chen d594e4963f
Merge branch '3.0' into feat/learner 2023-04-20 19:11:06 +08:00
wangmm0220 5df7906a62 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/rocksRevert 2023-04-20 18:33:37 +08:00
Benguang Zhao 1b2fe38f75 enh: improve logging msg in metaSnapWrite 2023-04-20 16:22:16 +08:00
Benguang Zhao a1ca9466cd enh: adjust size limit of appyQ and negotiationWin 2023-04-20 14:28:56 +08:00
Haojun Liao a69e2a8045 fix(os): fix the link error in unit test cases. 2023-04-19 15:33:02 +08:00
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
Haojun Liao b57c813681 other: merge feature/3_liaohj 2023-04-14 10:36:54 +08:00
kailixu 04fa4d2e87 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:05:47 +08:00
Hongze Cheng 3f8f7bb451 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-12 11:28:30 +08:00
yihaoDeng b24b91886a Merge branch 'dev3' into enh/rocksRevert 2023-04-11 10:59:00 +00:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Hongze Cheng a72633d715 more code 2023-04-11 14:22:36 +08:00
Xiaoyu Wang e2f82f4423 merge main 2023-04-10 09:56:03 +08:00
kailixu e976fcb91d Merge branch '3.0' into enh/TD-21161-3.0 2023-04-07 17:51:35 +08:00
Shuduo Sang 4fb5390c6f
chore: release script community main (#20808)
* chore: cus name support in script

* chore: merge with 3.0
2023-04-07 17:10:39 +08:00
Hongze Cheng e8e0e4976e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-06 15:51:20 +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
54liuyao 429b5cd646 feat:add stream file state 2023-04-04 17:09:35 +08:00
yihaoDeng 628bb62c8a add backpressure 2023-04-04 07:20:05 +00:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Haojun Liao a3ac8b647c refactor: do some internal refactor. 2023-04-03 18:20:35 +08:00
kailixu 55b053150c Merge branch '3.0' into enh/TD-21161-3.0 2023-04-03 17:29:29 +08:00
kailixu 303bc7dc23 enh: column/row max length support up to 64K 2023-04-03 17:12:14 +08:00
kailixu 37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
Hongze Cheng 7e48fc3ca5 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-03 15:25:04 +08:00
Hongze Cheng 171d360cac
Revert "current from binary to json" 2023-03-31 15:25:00 +08:00
Shuduo Sang 5e2b26f146
chore: refactor cus prompt (#20688)
* chore: refactor cus prompt

* fix: client name in install.sh

* fix: -Wno-reserved-user-defined-literal

* fix: update taos-tools commit

* fix: include/os/osDir.h

* fix: check cus name

* fix: makepkg.sh

* chore: update taos-tools d194dc9

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-03-30 19:30:54 +08:00
cademfly db725c6f6d show priviledge format 2023-03-30 18:53:50 +08:00
cademfly dbc75feac3 normal table 2023-03-30 15:56:08 +08:00
wangmm0220 2243184a4d fix:conflicts 2023-03-29 17:53:05 +08:00
Hongze Cheng d2185b7e68 more code 2023-03-29 13:27:36 +08:00
Haojun Liao f1ff5dcec4 fix(query): use hashmap to keep the multiple schema. 2023-03-28 22:53:57 +08:00
wangmm0220 d0c55ef572 fix:conflicts 2023-03-28 18:12:13 +08:00
Haojun Liao 6c1515624a refactor: do some internal refactor. 2023-03-28 11:24:12 +08:00
Haojun Liao fca79dbc53 Merge branch 'fix/liaohj' into main 2023-03-28 11:20:01 +08:00
Haojun Liao 5c128e2292 refactor: do some internal refactor. 2023-03-28 09:27:48 +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
Xiaoyu Wang 5f9f5be6f4 fix: enterprise version displays the associated community version gitinfo 2023-03-27 11:06:10 +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
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
wangmm0220 ccba1d07c6 fix:error in TD-23218 & remove useless logic 2023-03-18 18:42:49 +08:00
wangmm0220 7616a283e3 fix:error in TD-23218 & remove useless logic 2023-03-18 18:23:38 +08:00
cadem 7c970d1847 fix/clusterid isolation 2023-03-18 11:16:52 +08:00
kailixu 9d1b0540b2 fix: truncate of server version 2023-03-17 19:05:26 +08:00
dapan1121 c2f346407d fix: order by error info 2023-03-17 15:17:09 +08:00
dapan1121 59b532a890 fix: modify minrows/maxrows range and add cases 2023-03-16 09:46:14 +08:00
Hongze Cheng e43b606917 current from binary to json 2023-03-15 10:48:51 +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 62377619ba enh: optimizing stt file reading in last query 2023-03-13 15:05:24 +08:00
Shengliang Guan 041f03e918
Merge pull request #20414 from taosdata/feat/TD-23058
feat: correct slimit&limit clause
2023-03-12 20:48:16 +08:00
slzhou 9df6609448 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-03-12 09:41:09 +08:00
slzhou c8e05226ce fix: unknown error prompt 2023-03-12 09:40:49 +08:00
Xiaoyu Wang a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
dapan1121 5df32cbc78 feat: correct slimit&limit clause 2023-03-11 13:08:20 +08:00
yihaoDeng 3a586a525d add user err code 2023-03-10 10:34:26 +08:00
slzhou dab5e33b9b Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-03-09 21:28:38 +08:00
Benguang Zhao 552d0bc8a0 enh: not allow to insert if Tsdb applied lagging behind too far 2023-03-09 18:56:12 +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
Xiaoyu Wang 9be3e20276 fix: check the compatibility of client version and server version 2023-03-08 15:13:11 +08:00
Xiaoyu Wang 4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
slzhou 88d2d57534 enhance: increase udf function intermediate buffer size 2023-03-08 10:11:50 +08:00
slzhou 44e3b11580 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-03-04 15:24:37 +08:00
Xiaoyu Wang 599967d39f feat: add language clause for create function 2023-03-04 11:08:50 +08:00
Xiaoyu Wang b1217632a1
Merge pull request #20193 from taosdata/FIX/TD-22809-main
enh: not allow to insert when insufficient diskspace left
2023-03-01 17:44:37 +08:00
Benguang Zhao c3ef678da5 enh: not allow to insert when insufficient diskspace left 2023-03-01 15:55:06 +08:00
slzhou c499d7f173 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-03-01 15:51:43 +08:00
slzhou 2b566dabc7 fix: add function not implemented error 2023-03-01 15:37:08 +08:00
dapan1121 cc1bc9304a fix: trace id two character missing issue 2023-02-28 13:23:59 +08:00
slzhou 1eea4c74a0 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-02-27 13:21:23 +08:00
Xiaoyu Wang 320ad8d1f2
Merge pull request #20150 from taosdata/fix/TD-22710
fix: compact wrong data count
2023-02-25 10:02:56 +08:00
Hongze Cheng 765ff98f6a fix: compact wrong data count 2023-02-24 14:41:23 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
slzhou 7ec5a5df3a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-02-23 14:44:14 +08:00
Haojun Liao 4432ae51e6
Merge branch 'main' into fix/liaohj 2023-02-23 09:04:32 +08:00
Hongze Cheng 81ee050a0f fix: coverity scan problem 2023-02-22 14:29:14 +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
shenglian zhou f801f7303a Merge branch '2.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-02-21 14:46:15 +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
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao fd8cad2844 refactor: remove xxhash. 2023-02-20 10:22:41 +08:00
Haojun Liao 751c1cb5d2 refactor:do some internal refactor. 2023-02-20 10:12:27 +08:00
yihaoDeng 51755e9783 fix: fix drop error 2023-02-18 16:44:29 +08:00
yihaoDeng f975d8e0d9 change default value 2023-02-16 21:58:32 +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
yihaoDeng 009b6a61fa enh: limit tcp session between cluster 2023-02-15 17:25:37 +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
Haojun Liao c597a1e4ce refactor: do some internal refactor. 2023-02-13 15:46:47 +08:00
Benguang Zhao 767080922a fix: set SYNC_VNODE_LOG_RETENTION as TSDB_SYNC_LOG_BUFFER_RETENTION + 1 2023-02-13 14:16:19 +08:00
Yihao Deng 5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
zlv 45d42d8b1d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-02-13 13:29:00 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Haojun Liao a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
wangmm0220 0a01fbc16c fix:change uid in taosx to avoiding uid same in different db 2023-02-09 14:00:03 +08:00
Xiaoyu Wang 9bc225ffda merge 3.0 2023-02-09 09:44:29 +08:00
Hongze Cheng 8d6e6d2fe0 more code 2023-02-08 17:46:11 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
slzhou 5226473405 feature: udf dispatch first by script type then by udf name 2023-02-06 18:33:54 +08:00
Liu Jicong e615053f4a enh: stream number limit 2023-02-06 11:32:04 +08:00
yihaoDeng a05eb4b110 refactor tag index 2023-02-03 22:19:01 +08:00
Haojun Liao 299afd98d9 refactor(query): opt perf by remove some functions. 2023-02-03 14:58:55 +08:00
Haojun Liao 0030c4b5ee refactor(query): opt perf by remove some functions. 2023-02-03 14:24:00 +08:00
Haojun Liao ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
yihaoDeng 474e2e3a32 enh: add/del dynamicIdx 2023-01-29 21:16:47 +08:00
yihaoDeng bfd711c08f Merge remote-tracking branch 'origin/3.0' into dynamicIdx 2023-01-18 22:01:49 +08:00
Haojun Liao 07cf336fa0 refactor: add an array list api. 2023-01-17 09:43:33 +08:00
Haojun Liao e5ee9689aa refactor: disable some logs. 2023-01-17 09:00:44 +08:00
Haojun Liao 7425820c21 refactor: do some internal refactor. 2023-01-16 23:58:45 +08:00
Xiaoyu Wang 9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
yihaoDeng 72b43d240d add/delete tag idx 2023-01-12 16:31:55 +08:00
Shengliang Guan c8b04f27f0 fix: reset timeout def 2023-01-12 15:19:52 +08:00
Haojun Liao 1354eac985 Merge branch 'main' into feature/3_liaohj 2023-01-10 13:21:49 +08:00
Hongze Cheng f848324d54 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 09:42:45 +08:00
Hongze Cheng ad9e8a9aa3 more code 2023-01-09 19:03:09 +08:00
Haojun Liao f90fa07ea9 refactor: add avx support zigzag decode. 2023-01-08 12:34:18 +08:00
Shengliang Guan d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
Shengliang Guan 295eee4703
Merge pull request #19416 from taosdata/refact/submit_req_marks
fix:ASSERT in client mode & converity error
2023-01-07 11:01:01 +08:00
Haojun Liao 972f9b6948 refactor: do some internal refactor. 2023-01-07 00:59:05 +08:00
wangmm0220 ce3fbae952 fix:ASSERT in client mode & converity error 2023-01-06 14:37:38 +08:00
Haojun Liao d8dd3d44af refactor: do some internal refactor. 2023-01-06 13:21:06 +08:00
Haojun Liao 9dd07cc1e1 other:merge main. 2023-01-06 12:54:26 +08:00
Haojun Liao 4237da3c84 enh(query):add xxhash and do some internal refactor. 2023-01-04 16:43:06 +08:00
yihaoDeng 5bb20a9a2c Merge branch 'ddv' into dynamicIdx 2023-01-04 14:20:39 +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 9a10242f7d enh: remove assert from mnode consumer 2023-01-03 16:16:58 +08:00
Shengliang Guan 43bc021eb0
Merge pull request #19312 from taosdata/feature/3_liaohj
refactor: disable all asserts.
2023-01-03 11:15:37 +08:00
Haojun Liao 28bccd21a9 refactor: disable all asserts. 2023-01-03 09:47:01 +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
Shengliang Guan 01209614e6 fix: compatiable for pre version 2022-12-30 19:04:18 +08:00
Alex Duan 35015452e5 enh: clear assert remove tbuffer.h and .c file 2022-12-30 17:49:48 +08:00
dapan1121 b8cbc93584 Merge remote-tracking branch 'origin' into enh/TD-21108 2022-12-30 17:38:38 +08:00
Shengliang Guan c67df2c0d6
Merge pull request #19188 from taosdata/feature/3_liaohj
fix(query): opt filter perf.
2022-12-30 14:42:17 +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
Shengliang Guan 2cbbc88937 enh: speed assert in release mode 2022-12-30 11:14:31 +08:00
Haojun Liao f970dd24fc fix(query): fix the invalid access. 2022-12-29 16:34:14 +08:00
Haojun Liao 0e471afc03 fix(query): fix the invalid access. 2022-12-29 14:48:57 +08:00
Xiaoyu Wang e0ca1affdf fix: escape error in create topic/stream 2022-12-29 14:39:02 +08:00
Haojun Liao 8ca981b3f0 Merge branch 'main' into feature/3_liaohj 2022-12-29 10:26:07 +08:00
Shengliang Guan 2bbf2f3ab1 Merge branch '3.0' into merge/mainto3.0_1229 2022-12-29 09:36:52 +08:00
Haojun Liao 011c83956b refactor: do some internal refactor. 2022-12-28 19:12:36 +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
Shengliang Guan ed98fddf74 enh: adjusting the operation mode of the stream thread pool 2022-12-28 14:37:56 +08:00
Shengliang Guan 794fb5d1b5 fix: handle error if sync buffer is full 2022-12-26 20:40:33 +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 43561bfb8c
Merge pull request #19103 from taosdata/fix/TD-21446
fix: restart snapshot sender on receiver is restart
2022-12-26 10:58:55 +08:00
Haojun Liao fbc9e77004
Merge branch '3.0' into refact/submit_req 2022-12-26 10:26:17 +08:00
Shengliang Guan 664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
dapan1121 32f570c76f Merge remote-tracking branch 'origin' into enh/TD-21108 2022-12-26 09:15:00 +08:00
kailixu 73710da55f chore: rsma sync and assert 2022-12-25 21:54:09 +08:00
kailixu 6d01e18f31 chore: rsma fs and vnode commit optimization 2022-12-24 23:37:58 +08:00
Alex Duan 4a97f25725 fix(query): show sql len on systable length modify from 1024 to 2048 2022-12-24 11:16:45 +08:00
dapan1121 08e6d9a264 enh: write coredump bt to log file 2022-12-23 09:22:14 +08:00
yihaoDeng 30b1378bde add create_tag_index msg 2022-12-22 22:23:03 +08:00
Shengliang Guan 48b6bd438d fix: restart snapshot sender on receiver is restart 2022-12-22 17:30:02 +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 b0d486eb85 enh: add dropping and creating status for dnode 2022-12-21 14:14:09 +08:00
Alex Duan 15160544c5 feat(rpc): move the check msgType to client 2022-12-21 11:48:24 +08:00
Alex Duan 02dbf35354 fix(query): return TSDB_CODE_RPC_VGROUP_NOT_CONNECTED if all nodes in vgroups is offline 2022-12-20 16:57:16 +08:00
Haojun Liao fdade6d6a3
Merge branch '3.0' into refact/submit_req 2022-12-19 11:24:00 +08:00
Liu Jicong be03f7aa8b Merge branch 'main' into feature/stream 2022-12-16 14:42:44 +08:00
Liu Jicong 4402bcef94 enh(stream): forbid source db replica > 1 2022-12-16 08:53:33 +08:00
Shengliang Guan 6a7c1d6bea
Merge pull request #18940 from taosdata/enh/TD-21127
refact: post sem in vnode while sync timeout
2022-12-14 18:55:52 +08:00
Shengliang Guan 2b256542a5 refact: add vnode timer 2022-12-14 09:14:40 +08:00
Xiaoyu Wang b69725adaa enh: shielding database option 'strict' 2022-12-13 10:00:24 +08:00
Haojun Liao 48f7fc5c3d
Merge branch '3.0' into refact/submit_req 2022-12-12 18:11:17 +08:00
Shengliang Guan 652f51fec5 fix: control rpc qitem memory 2022-12-10 15:09:55 +08:00
Shengliang Guan 50b66df39f fix: control rpc qitem memory 2022-12-10 14:02:57 +08:00
Haojun Liao 27ebafdbaa other: merge 3.0 2022-12-09 10:19:05 +08:00
Shengliang Guan b798fbefa0
Merge pull request #18790 from taosdata/fix/TD-20305-3.0
fix: keep option of database with ns precision
2022-12-08 13:59:38 +08:00
kailixu 45528081d5 chore: keep option of ns database 2022-12-08 12:30:40 +08:00
kailixu 4a6f41f7f1 fix: keep option of database with precision ns 2022-12-08 11:56:29 +08:00
Shengliang Guan 1c04c97362 refact: rename taosAssert 2022-12-08 09:11:14 +08:00
Shengliang Guan 1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +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
Shengliang Guan 9b793fd1e6 refact: adjust some assert cases 2022-12-07 17:21:24 +08:00
Shengliang Guan e7ee48fd38 enh: add tassert funcs 2022-12-07 16:06:07 +08:00
Shengliang Guan bed6874174 enh: add tassert 2022-12-07 13:46:53 +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 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
Xiaoyu Wang bc413b8fff feat: add stream option 'delete_mark' 2022-12-06 16:07:11 +08:00
dapan1121 cf4d5e8333 fix: change stmt error code 2022-12-06 14:56:46 +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
Liu Jicong 619bbdfd82 refactor: support submitreq2 2022-12-06 05:58:28 +08:00
Shengliang Guan c726d1870b refact: remove redundant error codes 2022-12-04 20:11:24 +08:00
Shengliang Guan ae0ad8a973 refact: remove redundant error codes 2022-12-04 19:33:59 +08:00
Shengliang Guan e025ffcdc3 refact: remove redundant error codes 2022-12-04 19:13:40 +08:00
Shengliang Guan cc8e1071ab
Merge pull request #18668 from taosdata/FIX/TD-19334-3.0
fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg
2022-12-03 22:06:40 +08:00
Benguang Zhao a7807d3ee4 fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg 2022-12-03 20:53:56 +08:00
Shengliang Guan d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Shengliang Guan 9e803332fc refact: adjust error codes 2022-12-02 23:10:12 +08:00
Shengliang Guan f3e980de14 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:45:11 +08:00
Shengliang Guan 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
Shengliang Guan 16cd6ede5f enh: adjust error codes 2022-12-02 16:49:10 +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
Hongze Cheng b2fd1ff880 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-02 14:38:39 +08:00
dapan1121 55e544793c
Merge pull request #18599 from taosdata/fix/TD-20802
enh: support query retry cause of dnode stopped
2022-12-02 14:01:16 +08:00
Hongze Cheng 21347ad65b Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-02 11:44:02 +08:00
dapan1121 dff4c36092
Merge branch '3.0' into fix/TD-20802 2022-12-02 10:11:39 +08:00
Shengliang Guan db42ec46bf refact: adust error code while dnode startup 2022-12-02 10:05:52 +08:00
Hongze Cheng bd56fd2e09 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-01 16:52:12 +08:00
Hongze Cheng 0525b4fa0d more code 2022-12-01 15:36:10 +08:00
dapan1121 b430f653b9 Merge remote-tracking branch 'origin/3.0' into fix/TD-20802 2022-12-01 09:22:31 +08:00
Benguang Zhao 55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00
Hongze Cheng 86b0dc98c3 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-30 21:17:51 +08:00
Haojun Liao 124fb5fc50 refactor: do some internal refactor. 2022-11-30 17:52:12 +08:00
Hongze Cheng f848460f21 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-30 13:28:17 +08:00
Shengliang Guan 189cdc4f63
Merge pull request #18533 from taosdata/enh/clientRetry
enh: refactor retry
2022-11-30 10:47:13 +08:00
Benguang Zhao 470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
Hongze Cheng fad06f6144 optimize code 2022-11-29 16:28:12 +08:00
dapan1121 8ee170bef1 enh: add retry for vnode closed case 2022-11-29 16:17:05 +08:00
yihaoDeng d463f05b3f change paramter 2022-11-29 10:28:32 +08:00
Hongze Cheng 7c10f0bb00 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-29 09:35:54 +08:00
Shengliang Guan 99c00acf9f
Merge pull request #18502 from taosdata/enh/changeParamter2
enh: adjust para
2022-11-29 09:22:13 +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
Hongze Cheng 99a559ad59 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-28 09:44:09 +08:00
yihaoDeng aff649deb7 adjust parameer 2022-11-27 23:00:32 +08:00
Hongze Cheng f7325a99bb more code 2022-11-27 15:27:37 +08:00
Haojun Liao f9d1726c89 fix(query): fix error in ut. 2022-11-25 23:27:36 +08:00
Haojun Liao d77f5fa70c fix(query): fix error in windows and darwin system. 2022-11-25 22:54:54 +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
Hongze Cheng 21c8d98132 more code 2022-11-23 21:42:06 +08:00
Hongze Cheng 390709e3c8 add interface 2022-11-22 12:37:47 +08:00
yihaoDeng 963d56cfc1 retry code 2022-11-22 11:10:28 +08:00
Hongze Cheng 7976d88402 add interface 2022-11-22 10:10:23 +08:00
Benguang Zhao b90ee79623 fix: use syncLogBufferCommit in syncNodeOnLocalCmd 2022-11-21 13:51:01 +08:00
Minglei Jin cdaafb7b89 fix(meta): new error for creating sub tb already exist in other stables 2022-11-19 08:19:03 +08:00
dapan1121 2fbf082f7d enh: support client redirect processing 2022-11-18 19:55:15 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Alex Duan 8b82fdf0e8 fix(query): correct calc sort page size 2022-11-16 16:00:37 +08:00
Benguang Zhao 3e13cd8280 fix: check if timer triggered ahead of time in syncNodeElect 2022-11-16 14:26:18 +08:00
Haojun Liao 7d00b7a6c4 refactor: add tag filter cache. 2022-11-16 14:23:12 +08:00
Haojun Liao 8b0b351d39 refactor: do some internal refactor. 2022-11-15 09:59:20 +08:00
dapan1121 3fae636070
Merge pull request #18109 from taosdata/fix/TS-2063
fix: extend show create table result width
2022-11-14 17:34:51 +08:00
dapan1121 c0463e46c9 fix: truncate show create table result 2022-11-14 15:48:01 +08:00
dapan1121 a5b1cfc9a2 fix: extend show create table result width 2022-11-14 11:27:38 +08:00
Benguang Zhao def4058eb1 feat: impl pipelining negotiation 2022-11-11 22:55:21 +08:00
dapan1121 56b33e9200 Merge remote-tracking branch 'origin/3.0' into fix/TD-20300 2022-11-11 18:57:12 +08:00
dapan1121 f60441e2dd fix: fix query thread quitting issue 2022-11-11 18:44:59 +08:00
Cary Xu 69c1465142 Merge branch '3.0' into feat/TS-2007 2022-11-10 15:49:15 +08:00
Cary Xu 25148268e6 enh: support wider range for future timestamp 2022-11-09 18:10:30 +08:00
Hongze Cheng 92dc920f4c perf: change default buffer sizea 2022-11-09 14:22:58 +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 46e55ba9fb refact: remove config change codes 2022-11-07 20:19:55 +08:00
Benguang Zhao 5878c9a31a fix: impl ring log buffer 2022-11-07 14:27:22 +08:00
Shengliang Guan 4fc0e3bd55 enh: adjust the number of vnode threads so that one vnode has one write thread 2022-11-04 17:21:00 +08:00
Shengliang Guan fc41f43c9d fix: deadlock while drop db 2022-11-04 16:15:37 +08:00
Shengliang Guan a0983cf8c1 enh: adjust tqueue and tworker log 2022-11-04 10:58:23 +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
dapan1121 2bf5b0405d
Merge pull request #17851 from taosdata/enh/TD-19956
enh: optimize submit response message
2022-11-03 10:19:39 +08:00
Shengliang Guan b5f0041af1 refact: adjust error code in vnode 2022-11-02 15:28:32 +08:00
dapan1121 ecfcf7054c enh: optimize submit response msg 2022-11-02 15:18:32 +08:00
Shengliang Guan a031010a9e
Merge pull request #17721 from taosdata/FIX/TD-19673-3.0
enh: check completeness of WAL log entries after repairing
2022-11-01 13:59:34 +08:00
Shengliang Guan 392564cc7d enh: refact syncEnv code 2022-10-31 23:40:43 +08:00
Shengliang Guan acb6634216 enh: set sst trigger default value from 8 to 1 2022-10-30 20:07:41 +08:00
Benguang Zhao 31a0421878 enh: check completeness of WAL log entries after repairing 2022-10-27 15:55:22 +08:00
Shengliang Guan 4f86c27bd5
Merge pull request #17688 from taosdata/feature/sync2-merge
refactor(sync): check pSyncTimer NULL
2022-10-27 10:13:52 +08:00
Alex Duan 41cdb1e917 fix(coverage): remove the function about skiplist callback 2022-10-26 17:29:49 +08:00
Minghao Li 95d51891b9 refactor(sync): adjust multi replica wal retension size 2022-10-26 13:55:30 +08:00
Haojun Liao d06bcb2219 refactor: fix typo and do some internal refactor. 2022-10-26 09:47:11 +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 035e6b13c8 enh(stream): internal optimize 2022-10-21 10:29:05 +08:00
Haojun Liao c41713cf21
Merge pull request #17495 from taosdata/fix/liao_cov
refactor: remove redundant codes and do some internal refactor.
2022-10-20 13:16:02 +08:00
Haojun Liao 00e56d678b refactor: remove redundant codes. 2022-10-19 22:38:12 +08:00
Hongze Cheng 1d6c5e63ed Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 10:13:59 +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
Hongze Cheng 74d025c783 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-18 22:47:12 +08:00
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
Hongze Cheng 0706f2dea2 more code 2022-10-18 16:54:53 +08:00
dapan1121 0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00
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
Benguang Zhao 616eb5f903 Merge branch '3.0' into FIX/TD-19239-3.0 2022-10-16 00:29:01 +08:00
Benguang Zhao 7fb827debd fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx.
* search for the last entry in the contiguous range of valid WAL from the last pos fsynced as firstTrial
    * find the last entry before the last pos fsynced backwards as second trial
    * reserve sufficient space for computing CRC32 checksum, esp. of WAL record body
    * rebuild meta info to resolve potential misalignment between lists of meta and actual log files
    * retract commitIndex and appliedIndex to lastLogIndex if needed
    * put an upper size limit on possibly corrupted WAL range to be recovered
2022-10-15 23:56:31 +08:00