Commit Graph

2186 Commits

Author SHA1 Message Date
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
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
dapan1121 c4d630aaa1 fix: merge tree free rc issue 2023-06-21 13:58:07 +08:00
Hongze Cheng 6d2ce5cd39 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-19 14:13:08 +08:00
Benguang Zhao 495ae49752 fix: refreshMeta on invalid schema of tb epSet in doAsyncQuery 2023-06-16 15:41:52 +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
Minglei Jin 968e3cf1ea lru/applyF: fix ret value 2023-06-16 10:00:17 +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
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
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
Benguang Zhao 3689b41f3a Merge branch '3.0' into FIX/TD-24182-3.0 2023-06-12 09:39:49 +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
wade zhang e12af9327e
Merge pull request #21612 from luckeverda/geo
fix: compress core by tDataTypes
2023-06-06 14:20:45 +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 33afb08e5c Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-02 14:40:01 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
Hongze Cheng b479a0a06b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-29 21:46:26 +08:00
dapan1121 94c3569a27
Merge pull request #21512 from wangjiaming0909/fix/3.0/TS-3457
fix: page buffer cache flush wrong bytes of data into disk
2023-05-29 16:55:23 +08:00
kailixu f984e67eaa fix(query): invalid buffer page 2023-05-29 16:04:35 +08:00
wangjiaming0909 5e2d3939fe fix: page buffer cache flush wrong bytes of data into disk 2023-05-29 15:19:34 +08:00
kailixu 3bbf5405c6 fix(query): invalid buf page 2023-05-29 14:36:29 +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
dmchen fcf2b58aad check offline when force 2023-05-26 12:48:37 +08:00
Ganlin Zhao a57da3bdf7 fix: fix log not compressed when logKeepDays set to positive value 2023-05-25 14:13:34 +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
Hongze Cheng 70c2d5ae49 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-19 17:57:02 +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
dapan efbc3fc7c6 fix: tmr in windows can't re-init issue 2023-05-19 14:19:29 +08:00
dapan1121 5183e5dd51
Merge pull request #21348 from wangjiaming0909/fix/3.0/TD-24227
fix: invalid memory access of buffer after vsnprintf
2023-05-19 11:18:38 +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
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
wade zhang f3bdc855cb
refine an error messsage 2023-05-18 19:09:54 +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
dapan1121 cde094f72f
Merge pull request #21337 from taosdata/fix/TD-24214
fix: union clause error message
2023-05-18 10:39:19 +08:00
Hongze Cheng c8ba83cb31 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-18 10:38:50 +08:00
wangjiaming0909 77cfab5093 fix: invalid memory access of buffer after vsnprintf 2023-05-18 07:35:36 +08:00
Hongze Cheng 4b5ea55d1a more code 2023-05-17 16:46:10 +08:00
Haojun Liao 041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
dapan1121 28b098c824 fix: union clause error message 2023-05-17 10:47:11 +08:00
dmchen 9ff56a4e2b unsafe command 2023-05-16 14:02:54 +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
dapan1121 198be9a7a6 fix: double decompress issue and memory leak issue 2023-05-15 10:13:20 +08:00
Haojun Liao 99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
dapan1121 3ca5559b37 fix: invalid read issue 2023-05-12 19:27:11 +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
kailixu 0c9aa5bf3f merge main 2023-05-12 13:55:22 +08:00
dapan1121 69795286fa Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4 2023-05-12 13:46:16 +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
dmchen 9b29cfe831 fix/restore check 2023-05-10 14:36:52 +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
yihaoDeng 55014aa003 Merge branch 'enh/rocksdbSstate' into enh/rocksdbSstateMerge 2023-05-09 08:58:51 +00:00
wangjiaming0909 e22c62ffba fix: data compare of signed and unsigned integers 2023-05-08 18:13:37 +08:00
yihaoDeng 8617af2a55 fix queue failure 2023-05-08 07:43:44 +00:00
Hongze Cheng c9dc9b3170 more code 2023-05-08 10:27:55 +08:00
Yihao Deng cb223acf82
Merge branch 'main' into enh/rocksdbSstate 2023-05-08 09:45:27 +08:00
Haojun Liao a7691aba9c fix(stream): set the correct queue item size. 2023-05-08 00:24:00 +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
Haojun Liao da6212bab0 other: merge main. 2023-05-06 12:51:38 +08:00
dm chen 87696d8ab3
Update terror.c 2023-05-05 17:50:06 +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
Haojun Liao 23c49594b7 other: merge main. 2023-05-04 16:41:53 +08:00
Haojun Liao 8b57184a9a
Merge pull request #21123 from taosdata/fix/liaohj_main
refactor: remove assert.
2023-04-29 00:44:24 +08:00
kailixu dcb193a85e enh: error code optimization 2023-04-28 18:18:15 +08:00
kailixu f012c70f04 enh: error code optimization 2023-04-28 18:16:35 +08:00
yihaoDeng dda1c8803c Merge branch 'enh/rocksdbSstate' into enh/rocksdbSstateMerge 2023-04-28 09:17:22 +00:00
Haojun Liao 03b1de017a refactor: remove assert. 2023-04-28 14:12:17 +08:00
liuyao 2984c5a758 merge main 2023-04-28 10:34:46 +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
Haojun Liao ad7c3218f7
Merge pull request #21111 from taosdata/fix/liaohj_main
enh(query): stop tsdb reader ASAP.  TD-23249
2023-04-27 17:45:38 +08:00
Haojun Liao 17a5691afb refactor: remove assert. 2023-04-27 15:37:33 +08:00
Haojun Liao d83f29dc23 refactor: remove assert. 2023-04-27 15:33:04 +08:00
Haojun Liao 12e0f3fda8 refactor: do some internal refactor. 2023-04-27 13:36:09 +08:00
dapan1121 a7f405d4d4
Merge pull request #21077 from taosdata/fix/TS-3271-MAIN
fix: log file size over 4G report error on windows
2023-04-26 15:02:20 +08:00
Benguang Zhao 23a915da3b enh: adjust error msgs in sync and wal 2023-04-25 19:11:51 +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
Alex Duan ee93500619 fix: log file size over 4G report error on windows 2023-04-25 17:03:58 +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
dapan1121 28bff83096 fix: log thread quit issue 2023-04-24 19:29:33 +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
Haojun Liao 7360a6b65c enh(query): opt hash. 2023-04-24 16:39:55 +08:00
kailixu b26842e398 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-24 14:19:49 +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
dapan1121 5fe99c5ad2 feat: support log long query 2023-04-23 15:54:15 +08:00
shenglian zhou 8ce07b0cc7 fix: change error description of udf pipe not exist 2023-04-23 15:04:08 +08:00
shenglian zhou bb3ce6a3d7 enhance: error code refactor 2023-04-23 14:54:12 +08:00
yihaoDeng 917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
dapan1121 13852f5699 fix: compile issue 2023-04-21 17:07:20 +08:00
chenhaoran 7d7a0769b3 Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1 2023-04-21 16:20:37 +08:00
kailixu 77a8e3b213 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-21 16:04:09 +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 a1ca9466cd enh: adjust size limit of appyQ and negotiationWin 2023-04-20 14:28:56 +08:00
yihaoDeng 5402a6061f Merge branch 'dev' into enh/rocksRevert 2023-04-19 17:37:07 +08:00
Haojun Liao a69e2a8045 fix(os): fix the link error in unit test cases. 2023-04-19 15:33:02 +08:00
Haojun Liao 9fb7589fb5 fix(os): fix a deadlock. 2023-04-19 14:08:41 +08:00
Shuduo Sang 4417c79cb1
fix: atoi on int64 config item (#20956) 2023-04-18 14:03:24 +08:00
dapan1121 ed34b401ee fix: optimize decompress double 2023-04-18 13:44:41 +08:00
kailixu 50053fdc01 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-18 11:13:30 +08:00
Shuduo Sang 76c628c8ee
fix: atoi on int64 config item (#20946) 2023-04-18 09:22:49 +08:00
kailixu fd3b552357 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-17 11:42:46 +08:00
Haojun Liao 1350af5267 fix(stream): set the correct initial checkpoint version to restore the operators state and add check for the initial destination tables. 2023-04-16 22:48:22 +08:00
Haojun Liao b57c813681 other: merge feature/3_liaohj 2023-04-14 10:36:54 +08:00
Haojun Liao f8b672f09f other: merge main. 2023-04-14 09:07:18 +08:00
Haojun Liao 70b45a4cf0 fix(stream): all data should be extracted from wal. 2023-04-13 23:22:09 +08:00
dapan1121 e1d7b76adf fix: array dup issue 2023-04-13 13:26:28 +08:00
dapan1121 7f518ca4ea feat: support cache db cfg 2023-04-13 10:54:57 +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
Xiaoyu Wang 9c0027cb2a
Merge pull request #20880 from taosdata/FIX/TD-23509-main
enh: refactor some sync func names
2023-04-12 14:01:55 +08:00
dapan1121 23920e10c1 enh: optimize log perf 2023-04-12 13:58:29 +08:00
kailixu 04fa4d2e87 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:05:47 +08:00
Benguang Zhao edc9fe9705 enh: change the error msg of INVALID_VGROUP_ID to Vnode is closed or removed 2023-04-12 10:12:41 +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
Haojun Liao a4ba5401f9 enh(stream): set the start version of all operators. 2023-04-11 10:01: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
Xiaoyu Wang c134432c45 merge main 2023-04-06 09:31:45 +08:00
yihaoDeng 5aff5aa93b add backpressure 2023-04-04 12:38:56 +00: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
Ganlin Zhao 23ec9287c9 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-04 10:33:41 +08:00
kailixu 37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
cademfly dbc75feac3 normal table 2023-03-30 15:56:08 +08:00
kailixu 9552ac2800 enh: coverity scan for sma 2023-03-30 15:11:35 +08:00
wangmm0220 2243184a4d fix:conflicts 2023-03-29 17:53:05 +08:00
Xiaoyu Wang b9d905c2d3
Merge pull request #20686 from taosdata/fix/liaohj
fix(tsdb/read): use correct scheme for mem & imem merging
2023-03-29 15:38:21 +08:00
Xiaoyu Wang 4a085db970 fix: hotfix version compatibility 2023-03-29 11:10:15 +08:00
Haojun Liao 7a050d64bd fix(query): set ptr to be NULL. 2023-03-29 10:27:05 +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
Ganlin Zhao 3c70008b4b fix: fix cfg load enviroment variables crash when environ is NULL 2023-03-27 15:41:50 +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
wangmm0220 dd4cf0597b fix:error in optimize consume logic 2023-03-22 17:04:02 +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
wangmm0220 d5328b7a2b fix:add log for schmaless 2023-03-17 19:11:40 +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
Benguang Zhao b91b7a7211 enh: refactor error msgs, i.e. Sync not leader and Sync is restoring 2023-03-13 18:15:52 +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
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
Shengliang Guan 00854f677c
Merge pull request #20335 from taosdata/fix/TD-22753
fix: unit  sma and tag index error msg
2023-03-09 15:20:47 +08:00
yihaoDeng fe4b9a65da unit sma and tag index error msg 2023-03-08 15:58:13 +08:00
yihaoDeng d1c24cd44b unit sma/tag index error msg 2023-03-08 15:50:24 +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 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 dfeed5a495 refactor: disable 0 topics; 2023-03-04 22:14:30 +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
slzhou 32ccc796a1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-02-28 10:15:30 +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 f97a140a3c merge 3.0 2023-02-27 14:16:33 +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
dapan1121 2d9b5ed4f6 fix: tag like filter issue 2023-02-25 16:04:21 +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
dapan1121 2f816dc01f
Merge pull request #20119 from taosdata/fix/TS-2725
fix: alter column length too big issue
2023-02-24 17:33:37 +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
Haojun Liao 97024f1468 fix(query): fix coverity issue. 2023-02-24 09:48:34 +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
slzhou 7ec5a5df3a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-02-23 14:44:14 +08:00
dapan1121 78d72a7db2 fix: alter column length too big issue 2023-02-23 14:21: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
Haojun Liao 82067f3bd2 fix(query): fix coverity issues. 2023-02-22 13:38:13 +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
cyang f31dd17631 fix:compare func for topic & doublue free in taosArrayRemoveDuplicateP for topic 2023-02-21 11:04:18 +08:00
Haojun Liao 466d5fe716 fix(query): fix error in simd. 2023-02-21 10:31:30 +08:00
Haojun Liao ec7549608c fix(query): fix error in simd. 2023-02-21 10:23:02 +08:00
cyang ad56390a08 fix:compare func for topic & doublue free in taosArrayRemoveDuplicateP for topic 2023-02-21 00:54:34 +08:00
Haojun Liao da2787ee56 fix(query): set correct shift bits. 2023-02-21 00:50:36 +08:00
Haojun Liao ab3fb17a74 fix(query): set correct shift bits. 2023-02-20 23:43:30 +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
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 e44704b20e opt: opt tag index 2023-02-15 17:26:11 +08:00
Haojun Liao a1eafe88ac fix(query): fix some errors. 2023-02-14 14:48:33 +08:00
Haojun Liao 61a7751b57 fix(query): fix bug in tIntToHex and add test case. 2023-02-14 10:12:13 +08:00
Haojun Liao c597a1e4ce refactor: do some internal refactor. 2023-02-13 15:46:47 +08:00
Yihao Deng 5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
zlv 45d42d8b1d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-02-13 13:29:00 +08:00
Haojun Liao f4a17d16f2 fix(query): fix error in windows. 2023-02-13 00:25:26 +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
Haojun Liao ad04f7afff fix(query): fix memory leak. 2023-02-09 00:43:55 +08:00
Haojun Liao 24c83dc83a fix(query): fix memory leak. 2023-02-09 00:14:00 +08:00
Haojun Liao a70f8cea91 refactor: do some internal refactor. 2023-02-08 22:34:32 +08:00
Haojun Liao cc2fb66712 fix(query): disable AVX2 when cpu instructions do not support it. 2023-02-08 22:30:00 +08:00
Hongze Cheng 8d6e6d2fe0 more code 2023-02-08 17:46:11 +08:00
dapan1121 442c7657ff
Merge pull request #19849 from taosdata/fix/TS-2582
fix: setting logKeepDays to -1 result in empty compressed logs.
2023-02-08 11:12:39 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Haojun Liao d7bad3bb51 other: merge main. 2023-02-07 22:26:56 +08:00
Haojun Liao 445c3bd250 fix(query): remove sleep. 2023-02-07 18:27:32 +08:00
Ganlin Zhao 3b03341de4 fix: setting logKeepDays to -1 result in old log files not compressed and
empty.
2023-02-07 18:15:55 +08:00
yihaoDeng 309aa8d4ec fix: return invalid err code 2023-02-07 17:11:34 +08:00
yihaoDeng c14ca67b17 fix return invalid err 2023-02-07 15:08:46 +08:00
Haojun Liao 25f7ac7991
Merge pull request #19836 from taosdata/fix/nodisk
fix(query):add check for no disk error.
2023-02-07 13:36:30 +08:00
Haojun Liao 5f89fe7652 fix(query):add check for no disk error. 2023-02-07 11:01: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
Xiaoyu Wang 5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Haojun Liao 299afd98d9 refactor(query): opt perf by remove some functions. 2023-02-03 14:58:55 +08:00
Haojun Liao d4e3a9cf2b refactor(query): opt perf by remove some functions. 2023-02-03 14:42:47 +08:00
Haojun Liao 0030c4b5ee refactor(query): opt perf by remove some functions. 2023-02-03 14:24:00 +08:00
Haojun Liao fd6ea6ba2f other: merge main. 2023-02-02 14:12:24 +08:00
Haojun Liao ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
Haojun Liao 8e4c6ccbb3 fix(query): move the reset to other place. 2023-02-01 18:15:35 +08:00
Hongze Cheng 0f00862d8b Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 10:17:59 +08:00
yihaoDeng 474e2e3a32 enh: add/del dynamicIdx 2023-01-29 21:16:47 +08:00
Haojun Liao 555ee2b556 fix(query): add qsort for alpine. 2023-01-29 09:43:03 +08:00
Xiaoyu Wang 24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Haojun Liao 9615504024
Merge pull request #19666 from taosdata/fix/nodisk
refactor:do some internal refactor.
2023-01-25 22:26:14 +08:00
Shuduo Sang e2d7d7494f
typo correction (#19667) (#19668)
Co-authored-by: freemine <freemine@yeah.net>
2023-01-25 16:27:14 +08:00
freemine ab1f87d19f
typo correction (#19667) 2023-01-25 15:32:09 +08:00
Haojun Liao fc80c3d373 refactor:do some internal refactor. 2023-01-24 23:56:29 +08:00
Haojun Liao 670eec4db5 refactor: remove assert 2023-01-24 22:54:09 +08:00
Haojun Liao c1ffbb5c1c refactor:do some internal refactor. 2023-01-23 01:11:04 +08:00
Haojun Liao 21d57a3624 fix(query): check for failure during add new buf pages. 2023-01-22 01:45:29 +08:00
Haojun Liao 49dedc3c3f fix(query): opt perf. 2023-01-17 10:24:19 +08:00
Haojun Liao 07cf336fa0 refactor: add an array list api. 2023-01-17 09:43:33 +08:00
dapan1121 63a23a3562 fix: insert into select can't be stopped issue 2023-01-17 09:12:51 +08:00
Haojun Liao 7425820c21 refactor: do some internal refactor. 2023-01-16 23:58:45 +08:00
Haojun Liao cea5e9b1c0 refactor: do some internal refactor. 2023-01-16 19:20:55 +08:00
Haojun Liao 010452e569 refactor: do some internal refactor. 2023-01-16 19:19:49 +08:00
Haojun Liao 138d1d26f0 refactor: opt hash perf. 2023-01-16 17:55:25 +08:00
Xiaoyu Wang 9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
Shengliang Guan e6b4031487 fix: coverity issues 2023-01-12 16:04:57 +08:00
Shengliang Guan 4c4b79f766 enh: remove assert 2023-01-11 17:47:34 +08:00
Shengliang Guan cff741e4c4 fix: coverity issues 2023-01-11 16:56:14 +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 642651c1bd refactor: do some internal refactor. 2023-01-09 14:50:24 +08:00
Haojun Liao c7560202f1 refactor: do some internal refactor. 2023-01-09 14:06:31 +08:00
Shengliang Guan 9a9e93b6fe fix: compile error in mac 2023-01-09 12:06:20 +08:00
Shengliang Guan 054c313369 fix: compile error in mac 2023-01-09 10:00:51 +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
Haojun Liao f408c795da refactor: do some internal refactor. 2023-01-06 18:41:22 +08:00
Haojun Liao db48c2350d refactor: do some internal refactor. 2023-01-06 17:44:36 +08:00
Haojun Liao e73129fda5 refactor: do some internal refactor. 2023-01-06 17:38:18 +08:00
Haojun Liao 7f29a4a62d refactor: do some internal refactor. 2023-01-06 17:10:52 +08:00
Haojun Liao 18738ecdd6 refactor: do some internal refactor. 2023-01-06 15:45:15 +08:00
wangmm0220 ce3fbae952 fix:ASSERT in client mode & converity error 2023-01-06 14:37:38 +08:00
dapan1121 e55cc0af22 Merge remote-tracking branch 'origin' into enh/TD-21108 2023-01-06 13:40:32 +08:00
Haojun Liao d8dd3d44af refactor: do some internal refactor. 2023-01-06 13:21:06 +08:00
Haojun Liao d208282a2b refactor: do some internal refactor. 2023-01-06 13:17:22 +08:00
Haojun Liao 9dd07cc1e1 other:merge main. 2023-01-06 12:54:26 +08:00
Haojun Liao cf4d60a76c enh(query): do some internal refactor. 2023-01-06 11:18:44 +08:00
Haojun Liao cbc4218253 enh(query): do some internal refactor. 2023-01-05 19:15:18 +08:00
Haojun Liao 5f17d81b18 enh(query): do some internal refactor. 2023-01-05 19:14:42 +08:00
Shengliang Guan 3016f35e9f Merge branch '3.0' into merge/mainto3.0_0105 2023-01-05 16:08:23 +08:00
Haojun Liao 4fd8954c9c enh(query): opt decompress perf. 2023-01-05 10:13:05 +08:00
Haojun Liao 44e103a6a9 enh(query): remove unnecessary malloc. 2023-01-05 09:38:01 +08:00
Haojun Liao 5e4141a76f enh(query): opt decomp performance. 2023-01-04 23:08:30 +08:00
Haojun Liao 3373324668 enh(query): opt decomp performance. 2023-01-04 19:46:02 +08:00
dapan1121 a551641b6c fix: add mac crash report processing 2023-01-04 19:12:16 +08:00
dapan1121 86382731df fix: mac crash stack ignore number 2023-01-04 18:58:18 +08:00
Haojun Liao 9cc248ec57 fix(query): update the hash function for varchar data. 2023-01-04 18:10:38 +08:00
Haojun Liao 4237da3c84 enh(query):add xxhash and do some internal refactor. 2023-01-04 16:43:06 +08:00
dapan 47125b5d9d fix: windows crash report issues 2023-01-04 15:11:01 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
dapan1121 e1b25c192e
Merge pull request #19337 from taosdata/fix/TD-21688-MAIN
fix:  varchar type order by rule different with nchar type
2023-01-04 10:49:46 +08:00
dapan1121 ac7d250a7f Merge remote-tracking branch 'origin' into enh/TD-21108 2023-01-04 08:57:22 +08:00
Alex Duan 55067ad15c fix: build error covert pointer type 2023-01-03 17:50:33 +08:00
Alex Duan bb6c875765 fix: conform NCHAR sort order with VARCHAR 2023-01-03 17:39:00 +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
Alex Duan 2439c345d9 enh: clear assert remove tbuffer.h 2022-12-30 18:04:54 +08:00
Alex Duan 70bc3fbb08 enh: clear assert fix build error 2022-12-30 17:56:42 +08:00
Alex Duan df104b0801 enh: clear assert fix build error 2022-12-30 17:55:22 +08:00
Alex Duan 35015452e5 enh: clear assert remove tbuffer.h and .c file 2022-12-30 17:49:48 +08:00
Haojun Liao dbc3dd97bb rerfactor: remove unused code. 2022-12-30 17:42:20 +08:00
dapan1121 b8cbc93584 Merge remote-tracking branch 'origin' into enh/TD-21108 2022-12-30 17:38:38 +08:00
Alex Duan 56c14f79a7 enh: remove assert tpagebuff.c 2022-12-30 15:58:38 +08:00
dapan1121 586b73bef1 fix: windows compile issue 2022-12-30 15:56:37 +08:00
Alex Duan 02dec5a10a enh: assert remove task 2022-12-30 15:51:10 +08:00
Haojun Liao 79227057e4 enh(tsdb): opt decompress int perf 2022-12-30 14:43:26 +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 7eeea8a29c fix(query): fix the invalid access, and do some internal refactor. 2022-12-29 17:56:20 +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
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
Shengliang Guan 7680fd0ac3
Merge pull request #19210 from taosdata/enh/TD-21585
enh: adjusting the operation mode of the stream thread pool
2022-12-28 19:18:48 +08:00
Haojun Liao 011c83956b refactor: do some internal refactor. 2022-12-28 19:12:36 +08:00
Shengliang Guan 367b6512e9 fix: heap-buffer-overflow in auto qworker 2022-12-28 17:02:50 +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
yihaoDeng 09681e37ca change systerm code and avoid mem leak 2022-12-28 10:20:18 +08:00
Haojun Liao c801f3a7f6 Merge branch 'main' into feature/3_liaohj 2022-12-27 17:15:22 +08:00
Haojun Liao 1e69538c37 fix(query): opt filter perf. 2022-12-27 16:55:38 +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
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 99770a1e27 enh: assert remove in tpagebuf.c tlosertree.c texception.c 2022-12-24 13:07:32 +08:00
Alex Duan 61571975e7 fix(util): assert add tlog.h build 2022-12-24 10:59:45 +08:00
Alex Duan 59462d35fd new ASSERT add tdiest.c and tcompression.c 2022-12-23 21:17:10 +08:00
Alex Duan 232c4f4a48 fix(util): tcompare.c modify over 2022-12-23 18:24:24 +08:00
Alex Duan d566ac92c6 fix(util): replace with new ASSERTS 2022-12-23 18:09:59 +08:00
Shengliang Guan 3e4125ae07 Merge remote-tracking branch 'origin/main' into fix/TD-21446 2022-12-23 11:04:03 +08:00
dapan1121 08e6d9a264 enh: write coredump bt to log file 2022-12-23 09:22:14 +08:00
Shengliang Guan 2668def457
Merge pull request #19076 from taosdata/feature/3_liaohj
fix(query): add lock for cache.
2022-12-22 20:12:50 +08:00
Shengliang Guan 48b6bd438d fix: restart snapshot sender on receiver is restart 2022-12-22 17:30:02 +08:00
Haojun Liao 9872217462 fix(query): comment some codes. 2022-12-22 10:52:51 +08:00
Haojun Liao d30c59b9e5 fix(query): comment some codes. 2022-12-22 10:46:00 +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 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
Shengliang Guan 03ad2087ce
Merge pull request #18978 from taosdata/fix/TD-21288
fix: should not fsync in log level is error
2022-12-16 17:01:48 +08:00
Shengliang Guan 12088812dd fix: should not fsync in log level is error 2022-12-16 15:54:19 +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
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
Shengliang Guan ab77b02813 fix: donot print log while assert 2022-12-10 10:55:47 +08:00
Haojun Liao 27ebafdbaa other: merge 3.0 2022-12-09 10:19:05 +08:00
Shengliang Guan 1c04c97362 refact: rename taosAssert 2022-12-08 09:11:14 +08:00
Shengliang Guan 28c18914a8
Merge pull request #18774 from taosdata/fix/3.0_bugfix_wxy
fix: query message compatibility
2022-12-07 23:53:00 +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 6ef608f7af fix: complie error 2022-12-07 19:02:43 +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
Xiaoyu Wang d2375cd8e4 fix: Query message compatibility 2022-12-07 17:00:01 +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
dapan1121 a6d540f289
Merge pull request #18725 from taosdata/enh/failFast
enh: add fail-fast
2022-12-06 19:03:44 +08:00
Hongze Cheng 7239fd3dba Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-06 15:15:27 +08:00
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
kailixu 51ee2f80ac fix: dataDir process for multi-tier storage 2022-12-06 13:16:06 +08:00
yihaoDeng 9ce9d21507 support fail fast 2022-12-06 10:30:14 +08:00
Shengliang Guan c726d1870b refact: remove redundant error codes 2022-12-04 20:11:24 +08:00
Shengliang Guan fcebc8ce89 refact: remove redundant error codes 2022-12-04 19:41:17 +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
kailixu 4dbc6075a3 fix: dataDir process of multi-tier storage conform to 2.6 2022-12-04 12:32:08 +08:00
kailixu 69850a1a2b fix: dataDir process of multi-tier storage conform to 2.6 2022-12-04 12:28:36 +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
Shengliang Guan 241638de33
Merge pull request #18661 from taosdata/fix/liao_cov
enh(query): improve the performance and add some todo
2022-12-03 21:41:38 +08:00
Benguang Zhao a7807d3ee4 fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg 2022-12-03 20:53:56 +08:00
dapan1121 e455269220 fix: memory leak and other issues 2022-12-03 18:46:59 +08:00
Haojun Liao a3200b555c fix(query): fix null ptr access. 2022-12-03 17:03:31 +08:00
Haojun Liao 658cb393a7 enh(query): improve the performance and add some todo 2022-12-03 12:11:20 +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 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
dapan1121 94ab465b15
Merge pull request #18621 from taosdata/fix/removeInvalidTab
fix: remove invalid table
2022-12-02 21:07:43 +08:00
Shengliang Guan 6d70f48802
Merge pull request #18592 from taosdata/feature/3_liaohj
enh(query): optimize query perf.
2022-12-02 21:00:35 +08:00
Shengliang Guan 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
yihaoDeng 1750b5cc92 remove invalid table 2022-12-01 20:34:06 +08:00
Haojun Liao f8a2ab8338 refactor: do some internal refactor. 2022-12-01 17:24:26 +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
Shengliang Guan 0860ac1c9b fix: show Permission denied error in mac 2022-12-01 15:14:34 +08:00
dapan1121 b430f653b9 Merge remote-tracking branch 'origin/3.0' into fix/TD-20802 2022-12-01 09:22:31 +08:00
Haojun Liao c996837fab refactor: do some internal refactor. 2022-12-01 01:10:37 +08:00
Haojun Liao cefe4be1ab refactor: do some internal refactor. 2022-12-01 00:34:06 +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
Haojun Liao d66b7f3de0 refactor: do some internal refactor. 2022-11-30 15:25:19 +08:00
Haojun Liao 8dcbafb780 enh(query): avoiding unnecessary remove operation. 2022-11-30 15:24:03 +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
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
Hongze Cheng 8ca5e0269c adjust more code 2022-11-29 15:13:19 +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
dapan1121 cc36796f64
Merge pull request #18524 from taosdata/fix/TD-18639
enh: support multiple query groups in exchange operator
2022-11-29 08:45:47 +08:00
Shengliang Guan b56b9414a3
Merge pull request #18516 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-11-28 20:56:33 +08:00
dapan1121 65adb259ff enh: support multiple groups in exchange operator 2022-11-28 18:44:59 +08:00
Haojun Liao 183fed1af6 fix(query): fix syntax error on windows. 2022-11-28 18:44:21 +08:00
Hongze Cheng f812957d3a Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-28 16:35:28 +08:00
Haojun Liao 3878af10c9 refactor: do some internal refactor. 2022-11-28 16:13:18 +08:00
Minglei Jin 7bb27e29b7 fix(tdb/flush): make drop two-child rbtree node works 2022-11-28 14:38:12 +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
Hongze Cheng f7325a99bb more code 2022-11-27 15:27:37 +08:00
Haojun Liao 965ee9a6c8 fix(query): keep block order in exchange operator. 2022-11-26 15:32:36 +08:00
Haojun Liao f9d1726c89 fix(query): fix error in ut. 2022-11-25 23:27:36 +08:00
Haojun Liao 86fda9f3da fix(query): fix error in windows and darwin system. 2022-11-25 23:06:32 +08:00
Haojun Liao d77f5fa70c fix(query): fix error in windows and darwin system. 2022-11-25 22:54:54 +08:00
Haojun Liao 9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Hongze Cheng 49c78ed5ed Merge branch 'feat/mapdata_to_array' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-23 21:15:35 +08:00
dapan1121 e42f895fea fix: fix select null crash issue and asan issues 2022-11-22 16:07:04 +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
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
dapan1121 a3f0283eba
Merge pull request #18226 from taosdata/enh/msgRefactor0
enh: refactor batch meta msg
2022-11-18 09:20:15 +08:00
dapan1121 49917d5156 enh: refactor batch meta msg 2022-11-17 10:35:25 +08:00
Shengliang Guan 2b5257f905 fix: memory lead found in asan 2022-11-16 20:45:15 +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
Shengliang Guan fa2e39a5fa
Merge pull request #18110 from taosdata/fix/TD-19935-3.0
fix(timezone): taos_options apply new timezone
2022-11-14 18:20:11 +08:00
Alex Duan fae4fe5a75 fix(timezone): call right apply function 2022-11-14 17:13:44 +08:00
Alex Duan 2dd1e05cf0 fix(timezone): taos_options apply new timezone 2022-11-14 11:41:11 +08:00
dapan1121 14a1f4e373
Merge pull request #18074 from taosdata/fix/TD-20300
fix: fix query thread quit issue
2022-11-14 11:28:30 +08:00
yihaoDeng 3572fa7f67 Merge branch '3.0' of https://github.com/taosdata/TDengine into tdd 2022-11-11 19:21:16 +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
yihaoDeng 8fa39accdf conn timeout refactor 2022-11-11 16:11:37 +08:00
Shengliang Guan 170b78ec74
Merge pull request #18054 from taosdata/fix/3.0_bugfix_wxy
enh: optimize the error message when illegally modifying the column length
2022-11-11 16:06:50 +08:00
Haojun Liao b83f895726 refactor: do some internal refactor. 2022-11-11 14:16:13 +08:00
Xiaoyu Wang dd4333b140 enh: optimize the error message when illegally modifying the column length 2022-11-11 14:11:42 +08:00
Shengliang Guan 6a9f5603af Merge branch '3.0' into fix/m23 2022-11-11 09:13:46 +08:00
xiaolei li 4d09254e93
test(driver):C# CI failed for longarch64 pr-17982 (#18030)
* Add loongarch64 architecture port.

Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>

* test(driver):C# CI failed for longarch64 pr-17982

Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
Co-authored-by: Jingyun Hua <huajingyun@loongson.cn>
2022-11-10 21:06:20 +08:00
yihaoDeng 5c5d70e0fc enh log 2022-11-10 17:05:53 +08:00
Haojun Liao 015f1a1df8 other: merge 3.0 2022-11-09 19:17:45 +08:00
Haojun Liao 464f108e48 fix(query): fix syntax errors. 2022-11-09 17:14:01 +08:00
Haojun Liao f942e319b9 fix(query): fix some syntax errors. 2022-11-09 15:15:35 +08:00
Haojun Liao 65c813f735 fix(query): fix some syntax errors. 2022-11-09 14:59:09 +08:00
Haojun Liao a9167beb91 fix(query): expand buffer size. 2022-11-09 14:52:37 +08:00
dapan1121 398ccbcc9d
Merge pull request #17957 from taosdata/fix/compareIssue
fix: fix compare invalid read issues
2022-11-08 15:07:22 +08:00
Shengliang Guan 7a5be43d14
Merge pull request #17954 from taosdata/feature/stream
fix(stream): delete tb should be checked in write thread
2022-11-08 13:50:15 +08:00
dapan1121 fc73d39add fix: fix compare invalid read issues 2022-11-08 13:27:17 +08:00
Liu Jicong bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Shengliang Guan 30058f7619 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 10:46:32 +08:00
Haojun Liao 9932fa6bf0 refactor: refactor to avoid spin operator in exchange operator. 2022-11-07 17:48:27 +08:00
Shengliang Guan adb335467c fix: coverity issues 2022-11-05 19:59:18 +08:00
Shengliang Guan 8a7d34eae7 fix: adjust log 2022-11-04 19:41:11 +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 9bc48e2658 Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-10-31 23:42:03 +08:00
Shengliang Guan 392564cc7d enh: refact syncEnv code 2022-10-31 23:40:43 +08:00
Shengliang Guan 7ddde569a0 enh: force drop dnode 2022-10-31 17:29:24 +08:00