Commit Graph

2903 Commits

Author SHA1 Message Date
wangmm0220 78fd70202c fix:offset error in tmq & add test cases 2023-08-10 16:18:53 +08:00
Haojun Liao f633c7fe2b other: merge 3.0. 2023-08-10 11:56:30 +08:00
Haojun Liao b658608541
Merge pull request #22388 from taosdata/fix/3_liaohj
other: merge main.
2023-08-10 11:43:02 +08:00
yihaoDeng cfb5247e30 change var name 2023-08-09 00:46:18 +00:00
wangmm0220 d322cfce50 fix:add hashIteratorCancel for hash iterator 2023-08-08 16:28:51 +08:00
wangmm0220 607132c18a feat:[TD-24559]support geomety type in schemaless 2023-08-08 10:33:55 +08:00
wangmm0220 d0335bec97 feat:[TD-24559]support geomety type in schemaless 2023-08-08 09:49:31 +08:00
Haojun Liao f8ee055641 other: merge 3.0 2023-08-08 00:19:08 +08:00
wangmm0220 864d07e1bc feat:[TD-24559]support geomety type in schemaless 2023-08-07 19:39:06 +08:00
Haojun Liao 8a11a0418f other: merge 3.0 2023-08-07 09:19:26 +08:00
wangmm0220 d9a1695257 fix:add log 2023-08-04 18:07:44 +08:00
wangmm0220 6179618b17 fix:add committed & seek process logic 2023-07-31 17:56:04 +08:00
wade zhang e5f3835e48
Merge pull request #22229 from taosdata/fix/TS-3724
fix:modify dot to underline in schemaless supertable name
2023-07-31 09:10:34 +08:00
wade zhang bae028d65c
Merge pull request #22230 from taosdata/mark/tmq
fix:semaphore always wait in tmq commit logic
2023-07-31 09:10:13 +08:00
Haojun Liao 8dfef8768a other: merge 3.0 2023-07-29 22:54:16 +08:00
wangmm0220 1f8e5eae6a fix:conflicts 2023-07-28 15:04:12 +08:00
wangmm0220 6e673072cd fix:conflicts 2023-07-28 14:57:13 +08:00
Haojun Liao b145771a1b other: merge 3.0 2023-07-27 16:38:57 +08:00
Haojun Liao 3d403dca5a other: merge main. 2023-07-27 16:23:41 +08:00
wangmm0220 75eacd56f1 fix:add log 2023-07-27 15:58:32 +08:00
wangmm0220 2d41a42976 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3728 2023-07-27 15:31:16 +08:00
wangmm0220 5fa580960e fix:semaphore always wait in tmq commit logic 2023-07-27 13:53:42 +08:00
wangmm0220 68eb1cfc1e fix:semaphore always wait in tmq commit logic 2023-07-27 10:03:18 +08:00
wangmm0220 11e690cb67 fix:semaphore always wait in tmq commit logic 2023-07-27 09:57:52 +08:00
wangmm0220 f2553b8718 fix:add configuration to control if change dot to underline in schemaless 2023-07-26 09:52:04 +08:00
wangmm0220 be4e47e9a7 fix:add macro ASSERT_NOT_CORE to control ASSERT not core in release version 2023-07-25 16:15:33 +08:00
Haojun Liao c2588d71c3
Merge pull request #22173 from taosdata/fix/TS-3728
fix:avoid request offset type is 0
2023-07-25 14:59:30 +08:00
wangmm0220 d3970c113f fix:memory leak 2023-07-25 14:35:21 +08:00
wangmm0220 b6667732bf Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3724 2023-07-25 09:19:03 +08:00
Haojun Liao b0dfae00e6
Merge pull request #22167 from taosdata/fix/TD-25308
fix err while connect invalid fqdn
2023-07-25 09:13:24 +08:00
wangmm0220 853c495aed fix:heap over flow 2023-07-24 20:23:17 +08:00
wangmm0220 6a0e994169 fix:avoid request offset type is 0 2023-07-24 19:24:05 +08:00
wangmm0220 2714db10bd fix:modify dot to underline in schemaless supertable name 2023-07-24 19:15:33 +08:00
yihaoDeng 6532afa7b8 fix err while connect invalid fqdn 2023-07-24 18:49:13 +08:00
yihaoDeng 2aacee05be Merge branch 'fix/TD-25308' of https://github.com/taosdata/TDengine into fix/TD-25308 2023-07-24 18:48:23 +08:00
yihaoDeng 842a0bc8c3 fix err while connect invalid fqdn 2023-07-24 18:48:09 +08:00
yihaoDeng 0b707a108e fix err while connect invalid fqdn 2023-07-24 10:28:52 +00:00
wangmm0220 9628a9f74e fix:open info log in tmq & ignore wal apply ver when read wal 2023-07-24 15:53:02 +08:00
Haojun Liao 1e34f84f78 other: merge 3.0 2023-07-24 15:23:03 +08:00
yihaoDeng 95a1db6e89 fix err while connect invalid fqdn 2023-07-24 07:09:03 +00:00
wangmm0220 99c3ebc282 fix:optimize log & change return value for async interface 2023-07-20 18:28:21 +08:00
wangmm0220 e1c4cca33d feat:add committed & position & commite_offset interface 2023-07-20 00:07:04 +08:00
wangmm0220 49c87a7cf6 feat:add committed & position & commite_offset interface 2023-07-19 19:14:18 +08:00
wangmm0220 d7d81d82a0 feat:add committed & position & commite_offset interface 2023-07-19 18:27:19 +08:00
wangmm0220 5cb35f2fa6 feat:add committed & position & commite_offset interface 2023-07-19 17:29:39 +08:00
wangmm0220 5c344b0159 fix:conflicts from main 2023-07-19 09:05:05 +08:00
wangmm0220 e812a659a8 fix:add tmq_position() interface & optimize commit logic 2023-07-18 19:30:40 +08:00
Haojun Liao e5750e1219 test(stream): update a test case. 2023-07-18 18:30:10 +08:00
plum-lihui 745ab09b1b test: add tmq seek case 2023-07-18 14:30:19 +08:00
Ganlin Zhao 73177696a7 fix mac compile error 2023-07-18 12:59:08 +08:00
Ganlin Zhao 929db3d647 Merge branch '3.0' into enh/TS-2288 2023-07-17 16:09:07 +08:00
wangmm0220 6762a01d88 Merge branch 'main' of https://github.com/taosdata/TDengine into mark/tmq 2023-07-14 16:44:00 +08:00
wangmm0220 bbdcbcb75b fix:modify commit version to next validate version 2023-07-14 16:43:28 +08:00
Ganlin Zhao 7935d824b6 enhance show variables output 2023-07-14 13:57:02 +08:00
Markus Mayer 55ee9d6c25
Correct some typos in string literals (#22062) 2023-07-14 13:39:03 +08:00
kailixu 11a338fc38 chore: enable sysInfo update 2023-07-13 19:30:19 +08:00
kailixu 0cc7dca3e3 chore: comment sysInfo to make CI pass 2023-07-13 16:49:55 +08:00
wangmm0220 a39bf1f93c fix:windows compile error 2023-07-13 16:36:05 +08:00
Haojun Liao f41bcd73b0 other: merge main. 2023-07-13 11:02:09 +08:00
wangmm0220 cf64d4c9c5 fix:set get_assignment offset to first version of response block 2023-07-12 17:22:23 +08:00
wangmm0220 8dd7f36993 fix:set firset version to reqOffset of response 2023-07-11 16:19:38 +08:00
wangmm0220 574010e067 fix:set firset version to reqOffset of response 2023-07-11 16:06:19 +08:00
wangmm0220 cb62d4cb97 fix:set firset version to reqOffset of response 2023-07-11 14:49:53 +08:00
Haojun Liao 27eabb3da9 fix(tmq): fix tmq syntax error. 2023-07-11 12:05:49 +08:00
Haojun Liao 3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
wangmm0220 31a8af9e50 fix:do not commit offset if seek offset 2023-07-10 19:12:50 +08:00
wangmm0220 8e011c46c9 fix:can not do assignment if in tsdb mode 2023-07-10 15:07:20 +08:00
wangmm0220 dabaefe3e2 Merge branch 'main' of https://github.com/taosdata/TDengine into mark/tmq 2023-07-10 14:47:10 +08:00
wangmm0220 9648117454 fix:can not do assignment if in tsdb mode 2023-07-10 11:28:30 +08:00
Haojun Liao 516fcc53ad
Merge pull request #21943 from taosdata/fix/TD-25071
fix:[TD-25071] pSub is null & return wal not exist if no data
2023-07-10 10:21:36 +08:00
wangmm0220 8904f3857b fix:seek failed in initilized status 2023-07-09 19:16:19 +08:00
wangmm0220 ee50ed4847 fix:seek failed in initilized statue 2023-07-09 15:31:19 +08:00
wangmm0220 35ba132a29 fix:conflicts from main 2023-07-09 12:52:18 +08:00
wangmm0220 0929be690d fix:seek to offset - 1 2023-07-09 11:54:53 +08:00
wangmm0220 3ad486e95b fix:seek failed if type is earliest 2023-07-09 11:34:49 +08:00
wangmm0220 4436eb7e0f fix:set commitOffset is send msg success & optimize log & add test cases for TD-25129 2023-07-07 19:12:18 +08:00
wangmm0220 106e273157 fix:bugs in get_assignment 2023-07-07 16:12:15 +08:00
dapan1121 a99fac031c fix: fix coverity scan issues 2023-07-07 10:25:48 +08:00
Haojun Liao ca27220000
Merge pull request #21962 from taosdata/fix/TD-25102
add version check in rpc
2023-07-07 08:59:31 +08:00
wangmm0220 0928bd5510 fix:send rsp offset to client if unregister push mgr 2023-07-06 19:35:48 +08:00
wangmm0220 b2d41ce907 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-25071 2023-07-06 19:34:22 +08:00
wangmm0220 8e29de0c4d Merge branch 'mark/tmq' of https://github.com/taosdata/TDengine into mark/tmq 2023-07-06 17:03:15 +08:00
wangmm0220 ba9ab1f20b fix:null pointer error 2023-07-06 17:02:58 +08:00
wangmm0220 47ae92af93 fix:conflicts from main 2023-07-06 13:40:04 +08:00
wangmm0220 11e6856d3e fix:init char array 2023-07-06 13:37:58 +08:00
wangmm0220 34a62c3f38 fix:vginfo assigment not in same time,we should get vginfo by vg,not all vg 2023-07-05 22:55:41 +08:00
yihaoDeng 79f01ad655 add version check in rpc 2023-07-05 08:16:25 +00:00
wangmm0220 bdfeb32923 fix:bugs in tmq_get_topic_assignment 2023-07-05 16:04:34 +08:00
wangmm0220 6b5daf6c9f fix:add lock for tmq->clientTopic 2023-07-04 14:59:36 +08:00
Haojun Liao 82342ebdc7
Merge pull request #21934 from taosdata/feature/TD-20678
feat:subscribe only meta info
2023-07-04 11:28:27 +08:00
kailixu cd494803ee chore: code optimization 2023-07-03 20:39:50 +08:00
kailixu 64281ece98 chore: code optimization 2023-07-03 20:32:12 +08:00
kailixu 9f05ae15d6 chore: enable sysInfo update 2023-07-03 16:51:21 +08:00
dapan1121 a36dac2008
Merge pull request #21893 from taosdata/fix/TS-3551-M
enh: update of user auth version
2023-07-03 14:58:09 +08:00
kailixu 0a111f8c30 chore: make jenkins happy 2023-07-02 23:26:24 +08:00
kailixu 06c0d99008 chore: add test case 2023-07-02 22:57:10 +08:00
kailixu 2124ef00a7 chore: code optimization 2023-07-01 15:35:31 +08:00
kailixu 3cd9f67ab3 Merge branch 'fix/TS-3551-M' of github.com:taosdata/TDengine into fix/TS-3551-M 2023-07-01 15:25:34 +08:00
kailixu 6b0fc4aa1e chore: code optimization 2023-07-01 15:25:17 +08:00
kailixu c16088fffa chore: remove obsolete code 2023-06-30 19:31:56 +08:00
kailixu c81ecb1771 chore: make jenkins happy 2023-06-30 19:22:14 +08:00
kailixu 067a8334fd chore: code optimization 2023-06-30 16:30:04 +08:00
kailixu 387d611179 chore: passVer and authVer refact 2023-06-30 14:52:20 +08:00
wangmm0220 58c7011e0e feat:support only meta in tmq subscriptions 2023-06-30 11:42:40 +08:00
dapan1121 c8435de64a
Merge branch '3.0' into fix/m23.0 2023-06-29 14:03:56 +08:00
dapan1121 3519e9170e Merge remote-tracking branch 'origin/main' into 3.0 2023-06-29 11:13:45 +08:00
kailixu 1e9b85545b chore: more code 2023-06-28 20:57:05 +08:00
kailixu aefebfca7f enh: update of user auth version 2023-06-28 20:49:29 +08:00
wangmm0220 c4d1b5aa4b Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TS-3495 2023-06-27 11:10:00 +08:00
wangmm0220 e8d53c2a96 fix:add log 2023-06-27 10:50:57 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
wangmm0220 7ebbe0603b fix:coverity scan error 2023-06-26 18:26:10 +08:00
Haojun Liao ec4b54d736
Merge pull request #21726 from taosdata/mark/sml
fix:quote process error in sml
2023-06-26 16:54:54 +08:00
wangmm0220 4be3f51390 fix:quote parse error in sml 2023-06-26 10:21:54 +08:00
kailixu f1eb637f03 chore: code revert 2023-06-25 16:52:22 +08:00
kailixu a868ed4895 fix: use max column length 2023-06-25 16:50:34 +08:00
wangmm0220 5b88dfb90b fix:remove report offset flag 2023-06-25 15:24:52 +08:00
wangmm0220 610aa0c8ba fix:modify log 2023-06-25 15:14:34 +08:00
wangmm0220 7a49d67078 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TS-3495 2023-06-25 14:54:16 +08:00
wangmm0220 d3dedbe676 fix:report current offset in tmq 2023-06-25 14:52:45 +08:00
wangmm0220 978f639851 fix:[TD-24807] double quote & space escape error 2023-06-16 19:25:08 +08:00
wade zhang 72cdca8570
Merge pull request #21750 from taosdata/FIX/TD-24828-3.0
fix: return error from vmPutMsgToQueue while vnode-write is disabled
2023-06-16 16:59:56 +08:00
Benguang Zhao 495ae49752 fix: refreshMeta on invalid schema of tb epSet in doAsyncQuery 2023-06-16 15:41:52 +08:00
Haojun Liao 1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
dapan1121 0c2bfde7fe
Merge pull request #21706 from taosdata/szhou/version-not-compatible-log
enhance: version not compatible log
2023-06-15 09:05:47 +08:00
wangmm0220 0232420273 fix:quote process error in sml 2023-06-14 17:32:50 +08:00
wangmm0220 864236a8dc fix:conflicts 2023-06-14 12:05:10 +08:00
wangmm0220 c28d7d9bf8 fix:open info log in tmq client & modify parametes in show consumers 2023-06-14 12:01:54 +08:00
wangmm0220 7e6c7e767a fix:Vnode is closed or removed if drop database 2023-06-13 19:10:45 +08:00
wangmm0220 f154d29ac7 fix:Vnode is closed or removed if drop database 2023-06-13 16:34:46 +08:00
dapan1121 f84eef0ac4
Merge branch '3.0' into feat/TD-24499 2023-06-13 15:27:18 +08:00
Haojun Liao 0ee01c5410
Merge pull request #21576 from taosdata/fix/TD-24563
fix:do not modify source data in schemaless
2023-06-13 14:59:05 +08:00
shenglian zhou 28e6c45021 enhance: version not compatible log 2023-06-13 14:41:42 +08:00
dapan1121 59b8cfbc7d enh: add sub_query in systable and kill subquery 2023-06-12 17:14:41 +08:00
wangmm0220 fe155898fe fix:modify offset description to string 2023-06-12 16:34:53 +08:00
dapan1121 170182fecd feat: support fill history with sub request 2023-06-12 16:10:54 +08:00
wangmm0220 5c5e76f894 fix:modify offset description to string 2023-06-12 11:17:32 +08:00
wangmm0220 ae85e5e0f6 fix:modify offset description to string 2023-06-12 10:29:33 +08:00
wangmm0220 6657b8d849 fix:modify offset description to string 2023-06-12 09:44:00 +08:00
wangmm0220 aa610b27a4 feat:add parameters for consumer & add offset rows for subscription 2023-06-09 18:51:10 +08:00
wangmm0220 3f46a9bbc9 feat:add parameters for consumer & add offset rows for subscription 2023-06-08 18:14:02 +08:00
t_max 163f5abc4c fix: no data after seek 2023-06-02 17:22:49 +08:00
t_max 27d8870e18 fix: no data after seek 2023-06-02 17:09:03 +08:00
wangmm0220 ee978a3604 fix:do not modify source data in schemaless 2023-06-02 16:09:54 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
huolibo 2e5ac6b0c2 fix: change return value 2023-05-30 11:33:46 +08:00
刘蓓 a70cceb440 fix: add return value 2023-05-30 10:54:54 +08:00
huolibo 79031c47a2 enh: add get offset 2023-05-30 10:54:54 +08:00
huolibo f9b1906127 feat(driver): jdbc add tmq seek function 2023-05-30 10:54:54 +08:00
Haojun Liao e31d9299cc
Merge pull request #21480 from taosdata/mark/sml
fix:memory leak
2023-05-26 19:00:21 +08:00
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