Commit Graph

2903 Commits

Author SHA1 Message Date
Haojun Liao f61f37c936 fix(tmq): set the correct offset rsp when no poll occuring. 2023-05-26 14:20:01 +08:00
Haojun Liao 1e845acabe fix(tmq): allow seek before get assignment 2023-05-26 11:34:12 +08:00
wangmm0220 208ba2ef4d fix:memory leak 2023-05-26 10:45:37 +08:00
wangmm0220 b77544b30d Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/sml 2023-05-26 09:03:36 +08:00
wangmm0220 40fa0e0620 fix:memory leak 2023-05-25 18:07:36 +08:00
Haojun Liao b932fdb5c4
Merge pull request #21470 from taosdata/feature/TD-24070
feat:add privilege for schemaless
2023-05-25 17:52:28 +08:00
wangmm0220 d9042f5ed3 fix:memory leak 2023-05-25 17:24:11 +08:00
wangmm0220 fcba7e326c feat:add privilege for schemaless 2023-05-25 14:24:25 +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
wangmm0220 fb9b0a3e86 feat:add privilege for schemaless 2023-05-24 14:34:52 +08:00
t_max 2aad823709 fix: free assignment crash on Windows 2023-05-22 10:53:10 +08:00
wangmm0220 8183be4aff fix:move sleep logic from rpc thread to tmq thread & fix some error 2023-05-20 16:13:52 +08:00
wangmm0220 bca1af3f5d fix:change tmq subscribe try time to 60mins 2023-05-18 21:18:44 +08:00
wangmm0220 50bdfef7b6 fix:tmq ref err & vg error 2023-05-18 18:34:42 +08:00
wangmm0220 7db9f1e58e fix:tmq ref err & vg error 2023-05-18 18:21:45 +08:00
wangmm0220 c7e6883ac8 fix:tmq ref err & vg error 2023-05-18 18:10:33 +08:00
dapan1121 f5ebc17fae
Merge branch '3.0' into feat/TD-22746 2023-05-18 09:10:49 +08:00
Haojun Liao ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +08:00
Haojun Liao a4d9210b07 fix(tmq): add filter for taosX poll rsp. 2023-05-17 16:40:44 +08:00
Haojun Liao 041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
Haojun Liao f55f8d245c fix(tmq): avoid the offset is revised by pool rsp which is issued before invoking tmq_offset_seek function. 2023-05-17 15:19:51 +08:00
kailixu ae3aa6535f fix: client HB logic 2023-05-17 10:17:30 +08:00
dapan1121 3e2c8a9192 Merge branch 'enh/tsbsPerf.4' of github.com:taosdata/TDengine into enh/tsbsPerf.4 2023-05-16 18:37:22 +08:00
dapan1121 df973ce28e fix: remove debug info 2023-05-16 18:37:00 +08:00
dapan1121 a1e776bcf8
Update clientImpl.c 2023-05-16 18:04:54 +08:00
dapan1121 61bc3ab72e
Update clientEnv.c 2023-05-16 18:04:00 +08:00
dapan1121 9033d34852
Merge pull request #21319 from taosdata/fix/TD-24178
fix: file fd not clear issue
2023-05-16 14:34:05 +08:00
dapan1121 ad7509b1e2
Merge pull request #21315 from taosdata/enh/TD-23421-M
fix: client hb logic fix and optimization
2023-05-16 13:33:38 +08:00
dapan1121 ee2521a6ab Merge remote-tracking branch 'origin/3.0' into feat/TD-22746 2023-05-16 10:53:21 +08:00
dapan1121 9fcf56a4ee feat: support meta cleanup 2023-05-16 10:51:58 +08:00
dapan1121 dc67223deb fix: file fd not clear issue 2023-05-16 10:47:49 +08:00
kailixu b125d214f2 chore: code optimization 2023-05-16 09:58:53 +08:00
Haojun Liao 573a86ed99 feature(tmq): add new API to extract offset from result set. 2023-05-16 09:51:00 +08:00
kailixu 33c48fe981 fix: client hb logic fix and optimization 2023-05-16 08:57:57 +08:00
dapan1121 198be9a7a6 fix: double decompress issue and memory leak issue 2023-05-15 10:13:20 +08:00
Haojun Liao 170c603995 other: merge 3.0 2023-05-13 20:16:55 +08:00
Haojun Liao 99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
Haojun Liao 236926b9ee other: merge enh/rocksdbstate 2023-05-13 19:49:28 +08:00
Haojun Liao 1975e94501 Merge branch 'main' into enh/rocksdbSstate 2023-05-13 19:41:03 +08:00
dapan1121 69795286fa Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4 2023-05-12 13:46:16 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
Haojun Liao 26f94ecd60
Merge pull request #21260 from taosdata/feature/3_liaohj
fix(tmq): update the local offset when retrieving offset from vnode.
2023-05-11 23:12:33 +08:00
Haojun Liao c6e62d7fb8 fix(tmq): update the local offset when retrieving offset from vnode. 2023-05-11 17:40:17 +08:00
Haojun Liao fd94ca097a
Merge pull request #21255 from taosdata/feature/3_liaohj
fix(tmq): add some logs.
2023-05-11 12:50:16 +08:00
Haojun Liao b16f26a12f fix(tmq): add some logs. 2023-05-11 11:56:17 +08:00
wangmm0220 29bab82a0c fix:compile error in release mode 2023-05-10 22:51:32 +08:00
dapan1121 daedb3618b Merge remote-tracking branch 'origin/3.0' into feat/TD-22746 2023-05-10 17:47:11 +08:00
dapan1121 79d4403377 feat: add client meta limitation 2023-05-10 17:44:53 +08:00
yihaoDeng 5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
Yihao Deng c6e5879f44
Merge branch 'main' into enh/rocksdbSstate 2023-05-10 10:04:28 +08:00
yihaoDeng 8356533eb1 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-09 12:13:16 +00:00
dapan1121 52fd6a84ac enh: support db cfg cache update 2023-05-09 17:04:20 +08:00
wangmm0220 f9142c0ddb fix:[TD24010] lost data if apply ver is small than commit ver 2023-05-08 16:49:56 +08:00
kailixu 29adb77d94 chore: more code 2023-05-08 15:47:48 +08:00
kailixu a049ae6f9d chore: revert 2023-05-08 14:59:56 +08:00
kailixu b156fada25 fix: memory leak 2023-05-08 14:39:03 +08:00
Yihao Deng cb223acf82
Merge branch 'main' into enh/rocksdbSstate 2023-05-08 09:45:27 +08:00
yihaoDeng 08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
Minglei Jin 596bee8028 Merge branch '3.0' into fix/TD-23623 2023-05-06 16:07:26 +08:00
Haojun Liao db0ad95649
Merge pull request #21152 from taosdata/fix/TS-3303
fix:[TS-3303]use stable name + child table name as key to save uid to…
2023-05-06 14:31:12 +08:00
Haojun Liao 2ea81179ae
Merge pull request #21153 from taosdata/fix/TD-23881
fix:change field bytes if length is bigger than 1024
2023-05-06 14:30:41 +08: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
Haojun Liao 5d4a3116d5
Merge pull request #21139 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-05-06 09:49:26 +08:00
kailixu 75795253a9 more code 2023-05-06 06:06:12 +08:00
kailixu 4ae9eab90e chore: fix 2023-05-05 20:42:49 +08:00
kailixu 0c3dc0867f chore: sync fix from main 2023-05-05 20:33:41 +08:00
wangmm0220 fdee112ae4 fix:[TS-3277]table not exist if drop stable in another client when insert data using schemaless interface 2023-05-05 17:31:08 +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
wangmm0220 1d8c517844 fix:[TS-3303]use stable name + child table name as key to save uid to avoid multi items for one table in submit block 2023-05-05 10:46:54 +08:00
wangmm0220 bb33f054b4 fix:change field bytes if length is bigger than 1024 2023-05-04 17:21:18 +08:00
Haojun Liao dbf28b434e
Merge pull request #21137 from taosdata/fix/TD-23881
fix:change field bytes if length is bigger than 1024
2023-05-04 17:05:29 +08:00
Haojun Liao 23c49594b7 other: merge main. 2023-05-04 16:41:53 +08:00
Haojun Liao 09a04052ec refactor: do some internal refactor. 2023-05-04 16:15:14 +08:00
wangmm0220 b1f3a010df fix:change field bytes if length is bigger than 1024 2023-05-04 13:58:45 +08:00
Haojun Liao 851193a033
Merge pull request #21060 from taosdata/fix/TS-3222
opti:change push mgr to consume msg for subscribe
2023-05-04 10:16:41 +08:00
wangmm0220 8d84e8f8a5 fix:[TD-23788] client wait if task status error in taosx transform data 2023-04-28 19:29:17 +08:00
kailixu d492904188 chore: error process and test cases 2023-04-28 16:40:26 +08:00
wangmm0220 a7a73ace4a fix:memory leak in schemaless if key dump 2023-04-28 15:26:24 +08:00
liuyao 2984c5a758 merge main 2023-04-28 10:34:46 +08:00
wangmm0220 cce868d140 fix:offset encode assert error 2023-04-28 09:45:16 +08:00
kailixu fa822ff286 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-27 19:11:16 +08:00
wangmm0220 db5b5c828e fix:add log for msg push 2023-04-27 18:35:10 +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
wangmm0220 8677b56a4f fix:assert error in tqProcessSubmitReqForSubscribe if put pHandle to array twice 2023-04-27 15:44:44 +08:00
Haojun Liao d83f29dc23 refactor: remove assert. 2023-04-27 15:33:04 +08:00
Haojun Liao 985d000377
Merge pull request #21090 from taosdata/fix/TD-23881
fix:[TD-23881] check the max row's length in schemaless
2023-04-27 14:00:21 +08:00
wangmm0220 6a889ae80e Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-27 09:48:04 +08:00
Haojun Liao 3d20bbe78b
Merge pull request #21097 from taosdata/fix/liaohj_main
log: disable some logs.td-23861
2023-04-27 09:05:56 +08:00
Haojun Liao a751f75022 fix: fix syntax error on windows. 2023-04-26 21:23:39 +08:00
Haojun Liao 213e8b8920 log: disable some logs. 2023-04-26 17:58:23 +08:00
wangmm0220 224d87b131 fix:cosume null if rebalance 2023-04-26 17:58:14 +08:00
wangmm0220 8be78ddee2 fix:[TD-23881] check the max row's length in schemaless 2023-04-26 14:23:25 +08:00
Haojun Liao 8d0a4772a5
Merge pull request #21070 from taosdata/fix/liaohj_main
enh(query): opt last row read performance. TD-23313
2023-04-26 11:54:48 +08:00
Xiaoyu Wang 05dc0fd6b1
Merge pull request #21056 from taosdata/feat/TD-23693
feat: subtable level privilege
2023-04-26 09:17:23 +08:00
Haojun Liao 2a45ef88b0 fix(query): fix memory leak. 2023-04-26 00:40:33 +08:00
kailixu a6e37622ff chore: more code 2023-04-25 22:15:06 +08:00
Xiaoyu Wang e584bb3ea1 feat: subtable level privilege 2023-04-25 17:39:28 +08:00
wangmm0220 d1e5d6e0f9 fix:pHandle->msg is not null if rebalance 2023-04-25 16:23: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 b059cc4ee1 chore: code optimization 2023-04-25 10:59:02 +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
wangmm0220 1c63408b3e opti:change push mgr to consume msg for subscribe 2023-04-24 20:18:20 +08:00
wangmm0220 8572f4a32f opti:change push mgr to consume msg for subscribe 2023-04-24 19:41:30 +08:00
dapan1121 b743b889fc
Merge pull request #20828 from taosdata/enh/TD-23421-M
enh: support user passwd version
2023-04-24 17:16:37 +08:00
Haojun Liao 4063cfbc4d
Merge pull request #21053 from taosdata/feature/3_liaohj
refactor: do some internal refactor and add the sample code.
2023-04-24 17:09:52 +08:00
dapan1121 9551a269b3 feat: support log slow query by default 2023-04-24 16:45:34 +08:00
Haojun Liao e21fa9fde2 fix(tmq): fix error in unit test. 2023-04-24 15:48:24 +08:00
Haojun Liao 62dad38d5c refactor: do some internal refactor and add the sample code. 2023-04-24 15:25:49 +08:00
kailixu 0a405c10b7 chore: code optimization 2023-04-24 14:59:52 +08:00
kailixu b26842e398 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-24 14:19:49 +08:00
kailixu d5d113aed7 chore: fix the SHbParam definition 2023-04-24 14:17:13 +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 4b166e567e fix: fix client retry issue 2023-04-24 10:14:02 +08:00
kailixu 63bad2e4fb chore: code optimization 2023-04-24 09:57:48 +08:00
kailixu 4701fdfe06 chore: more code 2023-04-23 23:11:15 +08:00
kailixu 16f039a780 chore: code optimization 2023-04-23 22:52:20 +08:00
kailixu dff62bdccd chore: code optimization 2023-04-23 22:43:29 +08:00
kailixu 8513a30bfc chore: more code 2023-04-23 20:01:46 +08:00
kailixu 5d4bc82e17 chore: more code 2023-04-23 19:53:58 +08:00
kailixu 0256b44be8 chore: code optimization 2023-04-23 17:45:03 +08:00
dapan1121 5fe99c5ad2 feat: support log long query 2023-04-23 15:54:15 +08:00
Haojun Liao 9cf89c6b6f enh(tmq): add check for consumer Id; 2023-04-23 11:51:43 +08:00
yihaoDeng 917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
Haojun Liao 232d8f1fda
Merge pull request #21012 from taosdata/fix/TD-23714
fix: topic name supports capital
2023-04-23 09:30:19 +08:00
Haojun Liao 3dbe208712 enh(tmq): fix memory error and add retrieve wal info as required. 2023-04-22 15:34:46 +08:00
Haojun Liao 3f432cca2e
Merge pull request #20970 from taosdata/fix/TS-3116
opti:escape logic in schemaless
2023-04-21 18:44:06 +08:00
wangmm0220 d288e44f92 fix:ci error 2023-04-21 17:18:40 +08:00
wangmm0220 7ea860ad11 fix:[TD-23714] topic support capital 2023-04-21 17:14:41 +08:00
chenhaoran 7d7a0769b3 Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1 2023-04-21 16:20:37 +08:00
kailixu 9e71b6d071 Merge branch '3.0' into enh/TD-23421-M 2023-04-21 16:04:13 +08:00
kailixu 77a8e3b213 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-21 16:04:09 +08:00
wangmm0220 3d8faa690d fix:[TS-3250] change strtegy in schemaless if modifyDBSchema error 2023-04-21 11:39:02 +08:00
wangmm0220 5bd6b16e73 fix:memory leak in schemaless if key dump 2023-04-20 18:39:03 +08:00
wangmm0220 e61b51b083 fix:add test cases for escape in schemaless 2023-04-20 17:49:40 +08:00
wangmm0220 2714da26e7 fix:[TS-3221] reset max stmt if execute error 2023-04-20 17:26:54 +08:00
wangmm0220 8e8a3b268b fix:add test cases for escape in schemaless 2023-04-20 15:54:19 +08:00
wangmm0220 b1561c95c3 fix:add test cases for escape in schemaless 2023-04-20 15:31:18 +08:00
Haojun Liao c654f1145d enh(stream): add new msg for seek, and do some internal refactor. 2023-04-20 10:59:16 +08:00
Haojun Liao 95346cd4d8 test:update the test cases. 2023-04-19 15:17:46 +08:00
kailixu 9549c1d929 chore: fix 2023-04-19 14:47:06 +08:00
Haojun Liao d5c57ca244 enh(tmq): support the seek. 2023-04-19 14:46:48 +08:00
kailixu dd85357b39 chore: more code 2023-04-19 14:19:36 +08:00
Haojun Liao 3f12156c53 enh(tmq): support seek in tmq. 2023-04-19 13:56:42 +08:00
wade zhang cc27a8f86b
Merge pull request #20958 from taosdata/fix/TD-18844-MAIN
fix: duplicate calling shellWriteHistory
2023-04-19 09:23:38 +08:00
wangmm0220 5b3087e48b opti:escape logic in schemaless 2023-04-19 00:55:26 +08:00
kailixu 696d294f02 chore: code optimization 2023-04-18 19:58:02 +08:00
huolibo 298781dc55
fix: illegal accesses (#20960) (#20962) 2023-04-18 17:45:08 +08:00
Alex Duan 0822e82d64 feat: support exit by kill heart-beat thread mode 2023-04-18 17:12:04 +08:00
huolibo fdbb9cce48
fix: illegal accesses (#20960) 2023-04-18 16:08:22 +08:00
Haojun Liao 9627e8105b enh(tmq): support seek offset. 2023-04-18 13:52:47 +08:00
kailixu 50053fdc01 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-18 11:13:30 +08:00
kailixu 5889ea1261 chore: support specify param by app 2023-04-17 14:19:44 +08:00
Haojun Liao 1cd2268a99 Merge branch 'main' into feature/3_liaohj 2023-04-14 18:30:55 +08:00
dapan1121 dab59ec8ae fix: add debug info 2023-04-14 16:18:02 +08:00
Haojun Liao f8b672f09f other: merge main. 2023-04-14 09:07:18 +08:00
dapan1121 5ae95f3660 fix: clone db cfg issue 2023-04-13 13:14:01 +08:00
dapan1121 7f518ca4ea feat: support cache db cfg 2023-04-13 10:54:57 +08:00
kailixu c1a1948be0 Merge branch '3.0' into enh/TD-23421-M 2023-04-12 18:30:44 +08:00
kailixu d3f7717d62 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 18:30:40 +08:00
dapan1121 ba1219303b fix: add debug info 2023-04-12 15:48:18 +08:00
huolibo 2690fd4e9a
fix(driver): return error code to java (#20869) 2023-04-12 15:14:07 +08:00
kailixu 9d60e73f5a Merge branch '3.0' into enh/TD-23421-M 2023-04-12 13:10:14 +08:00
kailixu 2daab8e65e Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:10:12 +08:00
kailixu ac841b02bf merge 3.0 2023-04-12 13:09:52 +08:00
kailixu 04fa4d2e87 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:05:47 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Haojun Liao f6315af0c9 other: merge main. 2023-04-11 19:41:17 +08:00
Haojun Liao 24c9495772
Merge pull request #20857 from taosdata/fix/TS-3081
fix:optimize log & change the length of tag if tag is null in schemaless
2023-04-11 19:01:07 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
wangmm0220 c40c695ea7 fix:optimize log & change the length of tag if tag is null in schemaless 2023-04-11 13:49:18 +08:00
dapan1121 d99a849956 fix: ignore stmt get fields error 2023-04-11 10:47:15 +08:00
dapan1121 e2b5d27c2a enh: stmt ignore get fields errors 2023-04-11 10:22:47 +08:00
Haojun Liao 497c9ea9c8 Merge branch 'main' into feature/3_liaohj 2023-04-10 17:57:26 +08:00
kailixu 539337ca0b chore: code optimization 2023-04-10 16:12:54 +08:00
kailixu f6078dc27e chore: more code 2023-04-10 15:11:54 +08:00
kailixu 76386b9fad enh: assign passVer during taos_connect 2023-04-10 13:07:18 +08:00
kailixu b30d90355a chore: more code 2023-04-09 18:55:05 +08:00
kailixu ec8cd0c6b8 enh: support passwd version 2023-04-09 18:44:46 +08:00
Haojun Liao f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
wangmm0220 4f23578a79 fix:add err log 2023-04-07 19:53:11 +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
Haojun Liao 8a21888f98
Merge pull request #20795 from taosdata/fix/TD-23495
fix:time_wait in doAskEp
2023-04-07 09:34:10 +08:00
wangmm0220 7a58f448a5 fix:time_wait in doAskEp 2023-04-06 19:16:31 +08:00
wangmm0220 fa154172b4 fix:time_wait in doAskEp 2023-04-06 18:15:03 +08:00
wangmm0220 f8bcdcecea fix:remove smlChildTableName from tag 2023-04-06 16:24:04 +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
Xiaoyu Wang 650dc5cafb merge main 2023-04-04 19:35:54 +08:00
Haojun Liao c91d8a5901 Merge branch 'main' into feature/3_liaohj 2023-04-04 15:18:24 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
dapan1121 f79eeb3032 fix: add stmt error handling 2023-04-04 08:54:28 +08:00
Haojun Liao a3ac8b647c refactor: do some internal refactor. 2023-04-03 18:20:35 +08:00
Haojun Liao 3ef7d43dae refactor: do some internal refactor. 2023-04-03 17:47:48 +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
wangmm0220 2d6436c57d fix:modify log & sleep 500ms if data is inserting while consume 2023-04-03 11:24:22 +08:00
Haojun Liao 23e8edd148 fix(tmq): set the default commit callback fn. 2023-04-01 00:14:01 +08:00
Haojun Liao 066a173d28 fix(tmq): fix the invalid write. 2023-03-31 18:39:45 +08:00
Haojun Liao ed21ef0420 fix(tmq): fix sync commit error. 2023-03-31 17:06:33 +08:00
Haojun Liao 32109e7322 fix(tmq): fix the syntax error. 2023-03-31 16:21:46 +08:00
Haojun Liao 504a2ac512 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2023-03-31 16:13:08 +08:00
Haojun Liao 05b97544b0 fix(tmq): fix the syntax error. 2023-03-31 16:12:30 +08:00
Haojun Liao 82d98f9c97
Merge branch 'main' into feature/3_liaohj 2023-03-31 16:07:40 +08:00
Haojun Liao a88de7e18b fix(tmq): build sync api based on async api. 2023-03-31 15:55:16 +08:00
Haojun Liao d2d3fc14e8
Merge pull request #20700 from taosdata/fix/TS-2940
opti:disable set enable.heartbeat.background
2023-03-31 11:33:01 +08:00
wangmm0220 a9cc66ba8f fix:int64 parse error in schemaless 2023-03-30 19:48:21 +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
wangmm0220 a5c8713517 opti:disable set enable.heartbeat.background 2023-03-30 09:40:16 +08:00
Haojun Liao 5f4cb41e28 fix(tmq): set correct start offset value. 2023-03-29 23:45:41 +08:00
Xiaoyu Wang 518a1e6ece
Merge pull request #20683 from taosdata/fix/main_bugfix_wxy
fix: hotfix version compatibility
2023-03-29 13:38:04 +08:00
Xiaoyu Wang 4a085db970 fix: hotfix version compatibility 2023-03-29 11:10:15 +08:00
Haojun Liao b444e8db1a others: merge main. 2023-03-28 19:42:07 +08:00
wangmm0220 9f5e435140 fix:conflict from main 2023-03-25 11:49:37 +08:00
Haojun Liao b22cc82270 others: merge main. 2023-03-24 15:43:13 +08:00
Haojun Liao 8f6ac6d771 fix(tmq): wait for 2mins when subscribe topics. 2023-03-24 15:36:42 +08:00
wangmm0220 20e2010f70 fix:memory leak 2023-03-23 13:35:17 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Haojun Liao c3acab2070 fix(tmq): do some internal refactor. 2023-03-21 19:38:34 +08:00
wangmm0220 ba6226c079 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-21 19:28:58 +08:00
wangmm0220 74c201bc09 fix:create same table use writemetadata interface 2023-03-21 18:58:41 +08:00
wangmm0220 220d4bf86a fix:add log 2023-03-21 14:38:13 +08:00
Haojun Liao ca29dd344f other: merge main. 2023-03-21 14:04:52 +08:00
Haojun Liao 18b121c69c fix(tmq): fix the invalid write and do some internal refactor. 2023-03-21 13:45:43 +08:00
huolibo 93e50588ce
feat(driver): add schemaless raw insert for jdbc (#20552)
* feat(driver): add schemaless raw insert for jdbc

* feat: add jni reqId

* fix: change API

* fix: change method name

* fix: error code to hex format
2023-03-21 13:33:13 +08:00
Haojun Liao ea0cc2c584
Merge pull request #20554 from taosdata/fix/TS-2828
fix: add retry if insert error with meta change
2023-03-21 09:01:22 +08:00
Haojun Liao 147e66a50d Merge branch 'main' into fix/liaohj 2023-03-20 23:41:11 +08:00
Haojun Liao e31796893d fix(tmq): diable commit when close conumer if auto commit is disabled. 2023-03-20 18:34:01 +08:00
wangmm0220 7849459bef fix:add log 2023-03-20 18:20:01 +08:00
wangmm0220 b0fbb0601f fix:add retry times if schemaless insert with meta error 2023-03-20 17:04:30 +08:00
Haojun Liao ca1dffff45
Merge pull request #20508 from taosdata/fix/liaohj
fix(client): fix potential memory leak.
2023-03-20 16:11:22 +08:00
Haojun Liao 625b2dc901
Merge pull request #20513 from taosdata/fix/TD-23136
fix:converity scan defects
2023-03-20 15:37:59 +08:00
Haojun Liao 2517f9bb83 fix(tmq): add some logs. 2023-03-20 15:27:16 +08:00
Haojun Liao 7e712a14b6 fix(tmq): adjust log. 2023-03-19 19:06:28 +08:00
Haojun Liao fad23f8cb0 fix(tmq): adjust log. 2023-03-19 14:03:01 +08:00
Haojun Liao 49df168a76 fix(tmq): adjust logs. 2023-03-19 11:51:16 +08:00
Haojun Liao a9e54166be fix(tmq): adjust log. 2023-03-19 11:45:53 +08:00
Haojun Liao e5e4f507c2 fix(tmq): adjust the total rows counting. 2023-03-19 11:39:31 +08:00
Haojun Liao 8a8f1daabd refactor: update the logs. 2023-03-18 18:43:13 +08:00
wangmm0220 8fe084cc5c fix:add log for schmaless 2023-03-17 19:44:52 +08:00
wangmm0220 d5328b7a2b fix:add log for schmaless 2023-03-17 19:11:40 +08:00
dapan1121 f5aabde528
Merge branch 'main' into fix/TD-23161 2023-03-17 19:00:04 +08:00
dapan1121 4685fb4870 fix: no error passed issue 2023-03-17 17:52:15 +08:00
wangmm0220 0a54d00cd2 fix:converity scan defects 2023-03-17 14:54:27 +08:00
dapan1121 2bb7d6c799 fix: invalid write issue 2023-03-17 14:38:03 +08:00
Haojun Liao 4f15a32839 fix(client): fix potential memory leak. 2023-03-17 14:29:12 +08:00
Haojun Liao d5a8a4aefe
Merge pull request #20502 from taosdata/fix/liaohj
fix(client): set the initial value for num_of_rows.
2023-03-17 12:50:04 +08:00
wangmm0220 4fdef7421c fix:add log for taosCreateLog error 2023-03-17 10:50:54 +08:00
Haojun Liao 1b219f7a66 fix(client): set the initial value for num_of_rows. 2023-03-16 22:36:02 +08:00
Haojun Liao a5e6bac876
Merge pull request #20496 from taosdata/fix/liaohj
fix(tmq): release the tmq properly, and add some logs for subscription.
2023-03-16 21:43:36 +08:00
wangmm0220 14970478dc fix:conflicts 2023-03-16 19:15:08 +08:00
wangmm0220 fa2e7b234c fix:add log for schemaless & sleep longer if modify schema error 2023-03-16 19:13:15 +08:00
Haojun Liao 5142ccf6c9 fix(tmq): release the tmq properly, and add some logs for subscription. 2023-03-16 18:18:59 +08:00
Haojun Liao 86e3d838b7
Merge pull request #20495 from taosdata/fix/liaohj
fix(tmq): adjust the time out value check.
2023-03-16 16:43:38 +08:00
Haojun Liao 08ac102114 refactor: do some internal refactor. 2023-03-16 15:45:48 +08:00
Haojun Liao 989ae86a05 fix(tmq): adjust the time out value check. 2023-03-16 14:32:40 +08:00
Haojun Liao 345b46769c
Merge pull request #20490 from taosdata/fix/liaohj
fix(tmq): disable non-leader vnode responsing the poll request.
2023-03-16 14:00:42 +08:00
Haojun Liao a1682664f2 fix(tmq): disable non-leader vnode responsing the poll request. 2023-03-16 10:12:34 +08:00
Shengliang Guan c08d25bb24
Merge pull request #20460 from taosdata/fix/TS-2828
fix:use table suid in taosx to avoid suid is not same for using suid
2023-03-15 14:09:48 +08:00
wangmm0220 72c2631c0d fix:use table suid in taosx to avoid suid is not same for using suid 2023-03-14 17:52:16 +08:00
wangmm0220 c7a10ae5a8 fix:use table suid in taosx to avoid suid is not same for using suid 2023-03-14 15:52:39 +08:00
Haojun Liao 32ddecc347 other: merge main. 2023-03-14 12:13:09 +08:00
Haojun Liao 9cdd52de84 fix(tmq): fix dead lock. 2023-03-14 11:50:02 +08:00
Shengliang Guan 6989f1be61
Merge pull request #20418 from taosdata/fix/TD-22671
fix:deal with ASSERT in tmq
2023-03-14 09:34:52 +08:00
Haojun Liao 8f1f423c90 fix(tmq): fix the error in tmq. 2023-03-14 00:37:09 +08:00
Haojun Liao 8a9746d2bf fix(tmq): fix the invalid read. 2023-03-13 18:29:04 +08:00
Haojun Liao 731a2138df fix(tmq): fix error in tmq. 2023-03-13 17:08:17 +08:00
wangmm0220 8102beff13 fix:add log for taosx 2023-03-13 14:10:49 +08:00
wangmm0220 06079c90a3 fix:add log for taosx 2023-03-13 14:01:18 +08:00
Haojun Liao 7f2aae69d4 fix(tmq): fix error in taosx 2023-03-13 01:54:29 +08:00
Haojun Liao 564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
wangmm0220 5b75ee4396 opti:modify tmq logic 2023-03-11 19:13:50 +08:00
Haojun Liao 26925a1c13 refactor: add some logs for tmq. 2023-03-11 18:01:56 +08:00
Haojun Liao 85ee1318d2 refactor: add some logs. 2023-03-11 17:44:35 +08:00
Haojun Liao af423685ca fix(tmq): handle the commit failure. 2023-03-11 17:42:01 +08:00
Xiaoyu Wang a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
Haojun Liao 9e860f02ac refactor: do some internal refactor. 2023-03-11 11:25:37 +08:00
Haojun Liao 1e01f90283 refactor(tmq): do some internal refactor. 2023-03-11 09:13:26 +08:00
Haojun Liao 9d680a0995 fix(tmq): fix race condition. 2023-03-11 09:09:03 +08:00
Haojun Liao 1f71cf3a8b fix(tmq): fix invalid read. 2023-03-10 14:18:55 +08:00
Haojun Liao 3513de5ab4 fix(tmq): fix race condition. 2023-03-10 14:11:58 +08:00
Haojun Liao 9ca77572d9 fix(tmq): fix race condition. 2023-03-10 14:09:42 +08:00
wangmm0220 80e0aad1f0 fix:heap overflow 2023-03-10 12:11:46 +08:00
wangmm0220 f7ed0b184f fix:add log 2023-03-10 10:49:51 +08:00
Haojun Liao b31b7c3f64 fix(tmq): fix the invalid read. 2023-03-10 10:27:21 +08:00
wangmm0220 ba6e99751a Merge branch 'fix/TS-2828' of https://github.com/taosdata/TDengine into fix/TS-2828 2023-03-10 10:04:03 +08:00
wangmm0220 d020753cdb fix:[TS-2828] retry if ver is old 2023-03-10 10:03:43 +08:00
Haojun Liao a4e378e138 refactor: update some log. 2023-03-10 09:30:59 +08:00
WANG MINGMING 0dec8dd844
Merge pull request #20375 from taosdata/fix/TD-22671
fix:add error log
2023-03-09 19:49:57 +08:00
wangmm0220 88c3d0d4b3 fix:[TS-2828] retry if ver is old 2023-03-09 19:48:21 +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
wangmm0220 49e2924f1d fix:add error log 2023-03-08 17:02:19 +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
Haojun Liao 60cdbe37d3 refactor: do some internal refactor. 2023-03-06 22:25:34 +08:00
Haojun Liao 35de37926e Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2023-03-06 11:53:15 +08:00
Haojun Liao da550029d8 fix(tmq): fix memory error and adjust some logs. 2023-03-06 11:52:52 +08:00
Shengliang Guan 7edcbfd58b Merge branch 'fix/stopFunc' into feature/3_liaohj 2023-03-06 09:43:00 +08:00
Haojun Liao 6fafa8443e fix(query): sleep a little bit when errors occur. 2023-03-05 15:32:00 +08:00
Haojun Liao 6c14139805 Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2023-03-05 13:26:41 +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
yihaoDeng fbad444981 change parameter 2023-03-05 10:52:16 +08:00
Haojun Liao dfeed5a495 refactor: disable 0 topics; 2023-03-04 22:14:30 +08:00
wangmm0220 4827c25a61 fix:give error if col is same in schemless & fix json parse error in TD-22903 2023-03-04 18:16:41 +08:00
wangmm0220 3bfd156616 fix:[TD-22898]:modify schema if schema change 2023-03-04 17:37:38 +08:00
Haojun Liao 33f2d07605 refactor: sleep for a while. 2023-03-04 16:38:50 +08:00
Haojun Liao c159fd0747 refactor: disable sleep temporarily. 2023-03-04 16:37:44 +08:00
Haojun Liao 53a0ff0be3 refactor: add some logs. 2023-03-04 16:19:45 +08:00
wangmm0220 e54e12eff0 fix:give error if col is same in schemless & fix json parse error in TD-22903 2023-03-04 11:57:27 +08:00
Haojun Liao 3645c52b25 refactor: update some logs. 2023-03-04 00:34:53 +08:00
wangmm0220 6c68b36d7f fix:change ask ep to 20s 2023-03-03 18:22:26 +08:00
Haojun Liao e8c11c58f0 fix(tq): add some logs. 2023-03-03 10:20:52 +08:00
Haojun Liao 10a119e3fb
Merge pull request #20106 from taosdata/fix/TD-22667-3.0
fix:error by coverity scan
2023-03-01 13:31:59 +08:00
dapan1121 4312440112 fix: invalid read memory issue 2023-02-28 19:53:17 +08:00
WANG MINGMING 5dfc9ed4d0
Merge branch '3.0' into fix/TD-22667-3.0 2023-02-28 09:52:34 +08:00
Xiaoyu Wang d4e32cc8f1
Merge pull request #20180 from taosdata/fix/3.0_merge_main
merge 3.0
2023-02-27 17:08:44 +08:00
Xiaoyu Wang f97a140a3c merge 3.0 2023-02-27 14:16:33 +08:00
yihaoDeng d992714b4a fix: change conn pool 2023-02-27 11:00:13 +08:00
Yihao Deng db47cb5805
Merge branch 'main' into fix/toManySeesion 2023-02-25 17:04:56 +08:00
huolibo 3e9cc93b9f
enh(driver): tmq async commit callback (#20114) 2023-02-25 12:54:24 +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
yihaoDeng 0712198e21 fix: limit session num 2023-02-24 22:44:39 +08:00
yihaoDeng 84706fe586 fix: limit session num 2023-02-24 21:20:15 +08:00
yihaoDeng dd2e9697b5 fix: limit session num 2023-02-24 20:39:25 +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
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
dapan1121 f6acf035c9 fix: sys db vgroup update issue 2023-02-24 11:37:16 +08:00
Haojun Liao dbb1e9bd59 refactor: do some internal refactor. 2023-02-23 21:59:55 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
dapan1121 25c555a502 fix: refresh sys db vgroups after creating database 2023-02-23 14:38:57 +08:00
Haojun Liao b203107922
Merge branch 'main' into feature/3_liaohj 2023-02-23 10:22:17 +08:00
Haojun Liao 6015729560 refactor: add some logs. 2023-02-23 09:21:32 +08:00
Haojun Liao 4432ae51e6
Merge branch 'main' into fix/liaohj 2023-02-23 09:04:32 +08:00
wangmm0220 91d5df423f fix:error by coverity scan 2023-02-22 15:48:39 +08:00
Haojun Liao 8532de31cf refactor: remove assert. 2023-02-22 14:32:39 +08:00
dapan1121 42525b846a fix: fix issues reported by coverity scan 2023-02-22 09:58:18 +08:00
Haojun Liao 0c9145645b Merge branch 'main' into feature/3_liaohj 2023-02-22 08:53:23 +08:00
Haojun Liao 4b7c88bcb1 refactor: do some internal refactor. 2023-02-22 08:52:20 +08:00
Haojun Liao 37fea8cf3d fix(tmq): update the epset when the leader of vnode changed. 2023-02-21 23:04:58 +08:00
dapan1121 0b0af5240d
Merge pull request #20002 from taosdata/fix/forceStopTask
fix: add force stop task and rename conflict structer name
2023-02-21 16:30:18 +08:00
Xiaoyu Wang 7337f5ff7d
Merge pull request #20052 from taosdata/fix/3.0_merge_main
merge main
2023-02-21 16:27:19 +08:00
Xiaoyu Wang 319dfd8f06 merge 3.0 2023-02-20 17:21:37 +08:00
dapan1121 e8dc7c8f37
Merge pull request #20034 from taosdata/feat/TD-22341
feat: add memory debug option
2023-02-20 16:50:11 +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
Haojun Liao e10ec84154 refactor: do some internal refactor. 2023-02-20 14:52:16 +08:00
Haojun Liao ae95c97b78
Merge pull request #19977 from taosdata/fix/TS-2638
fix:[TS638]diable tsdbReader open in streamScanOperator
2023-02-20 14:25:31 +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 8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
dapan1121 98cee3792f
Merge pull request #20033 from taosdata/fix/TD-22556
fix: refact client statistics collection
2023-02-18 20:23:03 +08:00
Haojun Liao dfd2278d2d
Merge pull request #20042 from taosdata/fix/liaohj
refactor: do some internal refactor and add some logs.
2023-02-18 18:42:48 +08:00
Haojun Liao 06a3c1c9c0 refactor: do some internal refactor and add some logs. 2023-02-18 17:32:43 +08:00
Haojun Liao 50ae5e7427 refactor: do some internal refactor and add some logs. 2023-02-18 15:51:02 +08:00
Haojun Liao 8405999fc6
Merge pull request #20040 from taosdata/fix/liaohj
refactor: do some internal refactor and fix race condition.
2023-02-18 15:28:11 +08:00
Haojun Liao a2a7dffb5d refactor: do some internal refactor and add some logs. 2023-02-18 13:52:07 +08:00
Haojun Liao abe37a16e3 refactor: do some internal refactor and add some logs. 2023-02-18 12:40:09 +08:00
Haojun Liao 6836dc1c80 refactor: do some internal refactor and add some logs. 2023-02-18 12:03:11 +08:00
Haojun Liao 7d915626c4 refactor: do some internal refactor and fix race condition. 2023-02-17 23:06:19 +08:00
dapan1121 386f184ed7 feat: disable async log 2023-02-17 17:45:44 +08:00
dapan1121 1128b1222b feat: add memory debug option 2023-02-17 17:40:14 +08:00
dapan1121 e2bc0383f2 fix: refact client statistics collection 2023-02-17 16:30:14 +08:00
dapan1121 ed4e8313e0 fix: add force stop task and rename conflict structer name 2023-02-16 08:55:13 +08:00
wangmm0220 a74f7895e4 fix:[TS638]diable tsdbReader open in streamScanOperator 2023-02-14 14:12:45 +08:00
dapan1121 b9918b0eda fix: add alter dnode configuration validdation 2023-02-14 13:49:07 +08:00
wangmm0220 997f41c854 fix:conflict from 3.0 2023-02-13 14:05:53 +08:00
wangmm0220 b054ef9a9f fix:conflict from 3.0 2023-02-13 14:04:36 +08:00
Yihao Deng 5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Haojun Liao f214ae9801
Merge pull request #19888 from taosdata/fix/TD-22152
fix:change uid in taosx to avoiding uid same in different db
2023-02-10 11:30:47 +08:00
Haojun Liao 6cf363600b
Merge pull request #19785 from taosdata/fix/TD-21899
fix:auto create table & NULL NONE problem for taosx
2023-02-09 15:31:13 +08:00
Haojun Liao 7beb8cd6e2
Merge pull request #19875 from taosdata/fix/TS-2524
fix:change async to sync in schemaless
2023-02-09 15:30:26 +08:00
wangmm0220 f9e409e991 fix:change uid in taosx to avoiding uid same in different db 2023-02-09 14:28:26 +08:00
wangmm0220 0a01fbc16c fix:change uid in taosx to avoiding uid same in different db 2023-02-09 14:00:03 +08:00
jiacy-jcy 156da52bf0 test/modify cmakelist for complication 2023-02-09 11:13:24 +08:00
Xiaoyu Wang 79440f7a26
Merge pull request #19860 from taosdata/fix/3.0_merge_main
merge main
2023-02-09 09:22:19 +08:00
wangmm0220 28db09a127 fix:change async to sync in schemaless 2023-02-08 17:10:09 +08:00
Haojun Liao e5656a600f
Update CMakeLists.txt 2023-02-08 14:22:32 +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
WANG MINGMING 3396309f3e
Merge branch '3.0' into refact/submit_req_marks 2023-02-07 16:33:54 +08:00
wangmm0220 97120dcd0a fix:reset measuretag pointer if it is the same child table 2023-02-07 16:26:26 +08:00
wangmm0220 a7aa9ac4a6 fix:reset measuretag pointer if it is the same child table 2023-02-07 16:08:20 +08:00
wangmm0220 fba3421029 fix:rm compare function for json and telnet in schemaless 2023-02-07 15:19:13 +08:00
wangmm0220 bec6cdf784 fix:clear hashmap if rerun schemaless 2023-02-07 00:17:25 +08:00
wangmm0220 40d6e9d688 fix:fields error in schemaless 2023-02-06 23:20:43 +08:00
wangmm0220 1401aab1e8 fix:parse json error in schemaless 2023-02-06 17:50:58 +08:00
dapan1121 1f3f92c2cf
Merge pull request #19777 from taosdata/fix/TD-22145
fix: fix fd limit crash
2023-02-06 16:22:02 +08:00
dapan1121 18e3450c11 fix: client update epset crash issue 2023-02-06 14:01:43 +08:00
wangmm0220 762f6466f3 fix:conflicts from 3.0 2023-02-06 09:23:29 +08:00
wangmm0220 4f949213da fix:change list to hash for speed interval data in sml 2023-02-03 23:41:33 +08:00
Xiaoyu Wang 5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
wangmm0220 51760c10ec fix:conflicts from 3.0 2023-02-03 15:40:20 +08:00
wangmm0220 c330588d55 fix:error in subscribe table for taosx 2023-02-03 15:35:13 +08:00
yihaoDeng e14994c23f fix: fail fast 2023-02-03 12:45:20 +08:00
yihaoDeng cdf362b588 fix: fix fd limit crash 2023-02-03 12:08:16 +08:00
Haojun Liao b1192d5084
Merge pull request #19746 from taosdata/fix/mem_leak
fix: mem leak
2023-02-03 10:54:54 +08:00
wangmm0220 c8d49b603d fix:roll back htol length for block raw data 2023-02-02 17:23:01 +08:00
Liu Jicong 1e17f1d482 fix: mem leak 2023-02-02 09:42:06 +08:00
yihaoDeng 151df3bf8f opt tag filter 2023-02-01 21:02:52 +08:00
wangmm0220 8a21d7f307 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-21899 2023-02-01 16:13:06 +08:00
wangmm0220 2bf0916bcf fix:split block data if there are none value in block for taosx 2023-02-01 16:12:59 +08:00
wangmm0220 936b15629f fix:remove htonl length in block encode 2023-01-31 15:26:58 +08:00
Xiaoyu Wang aae2de07af enh: add event_winodw test case 2023-01-31 09:21:44 +08:00
wangmm0220 94a3fa4ff3 fix:htol(length) & set vgId,uid correct for auto create table in taosx 2023-01-30 09:55:22 +08:00
Xiaoyu Wang 24157e78d6 merge main 2023-01-28 17:52:58 +08:00
wangmm0220 3153e9847f fix:test case for json parse string 2023-01-28 11:31:09 +08:00
wangmm0220 b493b8d2e1 fix:cols error because delete json cols value 2023-01-28 10:33:00 +08:00
Xiaoyu Wang 83a711c37f merge main 2023-01-28 09:24:30 +08:00
wangmm0220 0f1f239425 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req_marks 2023-01-26 11:03:34 +08:00
wangmm0220 8098a2995d opti:parse non-standard json format 2023-01-23 22:20:44 +05:00
wangmm0220 51bb0ed602 opti:json non standard 2023-01-17 23:43:05 +05:00
xinsheng Ren f966197cea
Fix/xsren/td 21762/sem mem leak basemain (#19587)
* TD-21762 sem_init cause mem leak on windows

* fix/memleak

Co-authored-by: facetosea <25808407@qq.com>
2023-01-17 16:30:06 +08:00
dapan1121 1d5ac1ba90
Merge pull request #19596 from taosdata/fix/TS-2444
fix: move crash report to shell
2023-01-17 13:36:01 +08:00
dapan1121 7dbe44b2b7
Merge pull request #19589 from taosdata/fix/TD-21925
fix: insert into select can't be stopped issue
2023-01-17 13:27:02 +08:00
dapan1121 6b259777ad fix: move crash report to shell 2023-01-17 11:18:49 +08:00
xinsheng Ren fce58a1273
Fix/xsren/td 21762/sem mem leak (#19580)
* TD-21762 sem_init cause mem leak on windows

* fix/memleak

Co-authored-by: facetosea <25808407@qq.com>
2023-01-17 11:12:57 +08:00
dapan1121 63a23a3562 fix: insert into select can't be stopped issue 2023-01-17 09:12:51 +08:00
dapan1121 62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
Xiaoyu Wang 9ba8d4f935 fix: rollback 2023-01-16 09:53:43 +08:00
Xiaoyu Wang 9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
wangmm0220 b5e4861c50 fix:add test cases for odbc interface 2023-01-12 23:57:06 +08:00
wangmm0220 06f863fbad fix:memory leak 2023-01-12 17:38:07 +08:00
Xiaoyu Wang 4c8a2caa12 fix: stmt memory leak 2023-01-12 17:24:04 +08:00
Xiaoyu Wang 4359562e9c fix: stmt memory leak 2023-01-12 15:01:19 +08:00
Shengliang Guan b9b8a7ed35
Merge pull request #19429 from taosdata/merge/mainto3.0_0108
merge from main to 3.0
2023-01-10 09:31:55 +08:00
dapan1121 a0d2da630e fix: no core file on linux 2023-01-10 09:28:04 +08:00
dapan1121 54558b438c
Merge pull request #19448 from taosdata/refact/submit_req_marks
fix:table name error in schemaless
2023-01-09 18:36:57 +08:00
wangmm0220 a462f518e3 fix:table name error in schemaless 2023-01-09 15:14:20 +08:00
wangmm0220 71a10b914f Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-2385 2023-01-08 20:10:22 +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
wangmm0220 e1020b7967 fix:add interface for taos_get_current_db 2023-01-06 19:20:31 +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
wangmm0220 d1b4dc94d8 fix:table name error in schemaless 2023-01-05 19:26:45 +08:00
wangmm0220 730fbe42cb fix:add logic for system table ins_columns 2023-01-05 14:34:07 +08:00
dapan1121 ad6681b424
Merge pull request #19366 from taosdata/refact/submit_req_marks
fix:memory leak in schemaless
2023-01-05 09:55:05 +08:00
Shengliang Guan c64b5d5bee
Merge pull request #19364 from taosdata/enh/3.0_planner_optimize
enh: clear assert and fix coverity scan
2023-01-04 19:18:10 +08:00
dapan1121 a551641b6c fix: add mac crash report processing 2023-01-04 19:12:16 +08:00
wangmm0220 9c4cebb1b7 fix:memory leak 2023-01-04 17:15:30 +08:00
dapan1121 3bccd891bb fix: add debug code 2023-01-04 16:51:46 +08:00
Xiaoyu Wang 68ac5e5289 enh: clear assert and fix coverity scan 2023-01-04 16:46:02 +08:00
wangmm0220 d3fe415bef fix:memory leak 2023-01-04 15:45:38 +08:00
dapan 47125b5d9d fix: windows crash report issues 2023-01-04 15:11:01 +08:00
dapan1121 0fff3b3447 feat: add batch get table Vgid API 2023-01-04 14:13:08 +08:00
dapan1121 36c582c678 feat: add batch get table vgId API 2023-01-04 14:01:43 +08:00
wangmm0220 983b754198 fix:error in parse json 2023-01-04 11:45:09 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
wangmm0220 25643c4409 fix:memory leak 2023-01-04 10:27:33 +08:00
wangmm0220 af64ab26c8 fix:memory leak 2023-01-04 10:07:14 +08:00
dapan1121 ac7d250a7f Merge remote-tracking branch 'origin' into enh/TD-21108 2023-01-04 08:57:22 +08:00
wangmm0220 d7dce180e4 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req_marks 2023-01-03 19:27:17 +08:00
wangmm0220 21c62ea437 fix:check table name length for json parser 2023-01-03 18:36:08 +08:00
dapan1121 100001cac9
Merge pull request #19296 from taosdata/refact/submit_req
opti:json parse logic in schemaless
2023-01-03 18:26:18 +08:00
wangmm0220 087f88a617 fix:malloc too large 2023-01-03 18:18:46 +08:00
WANG MINGMING 0260512d95
Merge pull request #19335 from taosdata/refact/submit_req_marks
fix:Refact/submit req marks
2023-01-03 17:02:34 +08:00
wangmm0220 5cd433f756 fix:add log for json parse 2023-01-03 15:05:25 +08:00
wangmm0220 f23ab58592 fix:add log for json parse 2023-01-03 11:28:07 +08:00
Liu Jicong 617d8d4013 fix mem leak 2023-01-03 11:18:48 +08:00
WANG MINGMING dbd41bff41
Merge pull request #19307 from taosdata/refact/submit_req_marks
opti:submit req marks
2023-01-02 17:55:16 +08:00
wangmm0220 1cb2e865d6 fix:error in schemaless 2023-01-02 17:53:03 +08:00
wangmm0220 11dbf0a05e fix:error in parse json 2023-01-02 15:05:03 +08:00
WANG MINGMING 28b0cf949c
Merge pull request #19295 from taosdata/refact/submit_req_marks
opti:json parse logic for schemaless
2022-12-30 18:45:08 +08:00
wangmm0220 071ee9772f fix:json parse error 2022-12-30 18:14:18 +08:00
wangmm0220 bed01128bb fix:json parse error 2022-12-30 18:03:01 +08:00
wangmm0220 c549bc7183 fix:json parse error 2022-12-30 17:31:40 +08:00
wangmm0220 5290c32fd1 fix:json parse error 2022-12-30 17:11:22 +08:00
dapan1121 586b73bef1 fix: windows compile issue 2022-12-30 15:56:37 +08:00
wangmm0220 a0d46fe9f4 fix:json parse error 2022-12-30 14:24:32 +08:00
wangmm0220 fa4df74eb1 fix:json parse error 2022-12-30 13:57:05 +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
wangmm0220 e6627f6955 fix:json parse error in the end 2022-12-30 10:02:15 +08:00
Alex Duan 0c422345b3 feat: support show cluster alive; and show db.alive; 2022-12-29 18:07:57 +08:00
wangmm0220 55f4d9524b fix:support multi json format 2022-12-29 10:52:17 +08:00
freemine b537bf318b new API taos_stmt_reclaim_fields to reclaim TAOS_FIELD_E in a uniform way 2022-12-29 10:36:34 +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
dapan1121 66cece62de
Merge pull request #19046 from taosdata/fix/TD-21180-3.0
feat(rpc):  return new error code TSDB_CODE_RPC_VGROUP_NOT_CONNECTED
2022-12-26 18:08:48 +08:00
Haojun Liao 723efba79b
Merge branch '3.0' into refact/submit_req 2022-12-26 13:25:25 +08:00
Shengliang Guan 664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Shengliang Guan 9a2d56905d enh: print ipstr on taos_connect 2022-12-23 18:04:25 +08:00
Xiaoyu Wang 0c269c317b merge 3.0 2022-12-23 17:50:05 +08:00
Alex Duan d0f789744b query(fix): return new error code except connect msg 2022-12-23 16:04:48 +08:00
Alex Duan 99ef55c7d4 query(fix): return new error code except connect msg 2022-12-23 16:02:08 +08:00
wangmm0220 9a5c327b7b fix:modify delete msg type to tmq meta 2022-12-22 17:34:48 +08:00
wangmm0220 fd76fdb9e0 opti:taosx for write_raw_block 2022-12-22 16:50:21 +08:00
Alex Duan cd1b87031a fix(query): modify error describe 2022-12-22 10:22:51 +08:00
WANG MINGMING 4dbc324564
Merge branch 'refact/submit_req_taosx' into refact/submit_req 2022-12-22 09:26:45 +08:00
wangmm0220 dffe02e383 fix:modify delete msg type to tmq meta 2022-12-22 09:08:23 +08:00
wangmm0220 51a6aa51cd fix:modify delete msg type to tmq meta 2022-12-21 20:23:00 +08:00
Liu Jicong 50729f0cc4 refactor: remove assert 2022-12-21 14:16:28 +08:00
Alex Duan ced76efde0 feat(rpc): move the check msgType to cliet 2022-12-21 12:44:29 +08:00
Alex Duan 5ca52595ae feat(rpc): move the check msgType to client build error 2022-12-21 12:20:26 +08:00
Alex Duan 15160544c5 feat(rpc): move the check msgType to client 2022-12-21 11:48:24 +08:00
Shengliang Guan 86ff8f381f
Merge pull request #19042 from taosdata/enh/3.0_planner_optimize
enh: improve unit tests
2022-12-20 21:53:25 +08:00
Xiaoyu Wang ad7f9b274b enh: improve unit tests 2022-12-20 16:53:08 +08:00
wangmm0220 bac64d196f Merge branch 'refact/submit_req_marks' of https://github.com/taosdata/TDengine into refact/submit_req_marks 2022-12-20 13:50:41 +08:00