Commit Graph

9966 Commits

Author SHA1 Message Date
wangmm0220 224d87b131 fix:cosume null if rebalance 2023-04-26 17:58:14 +08:00
Haojun Liao 9a35d4e950
Merge pull request #21087 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-04-26 17:57:37 +08:00
Minglei Jin a1fba2df65 Merge branch '3.0' into fix/TD-23623 2023-04-26 17:38:47 +08:00
Haojun Liao ca4df761f1 fix(query): fix syntax error. 2023-04-26 17:14:54 +08:00
Haojun Liao 627429d490 fix(query): fix the comparion error. 2023-04-26 16:05:57 +08:00
Haojun Liao 3e80f57fc7 refactor: do some internal refactor. 2023-04-26 12:09:05 +08:00
Haojun Liao 59725d1d87 refactor: do some internal refactor. 2023-04-26 12:02:43 +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
Hui Li 133327140f
Merge pull request #21078 from taosdata/fix/TS-3267
fix: more fix
2023-04-26 10:42:09 +08:00
Minglei Jin 6835e75903 cache/get: malloc zero-length binary to unify frees 2023-04-26 10:07:15 +08:00
Haojun Liao 8e2edd6ebf fix(query): fix null ptr access. 2023-04-26 10:00:00 +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
Minglei Jin 5758aa4d80 cache/read: fix pRow, pLastCols memory issues 2023-04-26 08:17:08 +08:00
Haojun Liao 2a45ef88b0 fix(query): fix memory leak. 2023-04-26 00:40:33 +08:00
54liuyao 255af84139 resume option 2023-04-25 19:01:19 +08:00
Haojun Liao 7b7a483afc fix(query): add tmp variable to hold the TSDBROW value. 2023-04-25 18:43:48 +08:00
Minglei Jin c8cbabe419 cache/none column: move to outter scope 2023-04-25 18:13:33 +08:00
Hongze Cheng 49728a235e fix: more fix 2023-04-25 17:32:45 +08:00
54liuyao b79313ecd7 pause&resume 2023-04-25 16:59:09 +08:00
wangmm0220 4321012ac4 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-25 16:24:28 +08:00
wangmm0220 d1e5d6e0f9 fix:pHandle->msg is not null if rebalance 2023-04-25 16:23:58 +08:00
slzhou aede1090ff fix: the latest schema may delete columns 2023-04-25 16:23:30 +08:00
Minglei Jin 2566bd4ae8 row/iter: fix null column iter 2023-04-25 16:17:58 +08:00
Haojun Liao 16fe48f770 fix(query): fix memory leak. 2023-04-25 16:09:58 +08:00
Haojun Liao bca5fc7893 fix(query): fix memory leak. 2023-04-25 15:28:54 +08:00
cadem 2fd9640a39 change learner config format 2023-04-25 15:15:28 +08:00
Haojun Liao 8dbc3b3457 refactor: do some internal refactor. 2023-04-25 15:07:37 +08:00
Haojun Liao 0b6e531dd3 refactor: do some internal refactor. 2023-04-25 14:56:20 +08:00
Haojun Liao 81e54541de refactor: do some internal refactor. 2023-04-25 14:24:24 +08:00
Haojun Liao 05d1692073 refactor: do some internal refactor. 2023-04-25 13:50:05 +08:00
Haojun Liao d8762b9bc9 refactor: do some internal refactor. 2023-04-25 10:48:21 +08:00
Haojun Liao 6467b99a52 refactor: do some internal refactor. 2023-04-25 10:23:21 +08:00
Haojun Liao 4c4e148635 refactor: do some internal refactor. 2023-04-25 10:19:37 +08:00
wangmm0220 41bec8560a opti:change push mgr to consume msg for subscribe 2023-04-25 09:58:28 +08:00
Haojun Liao e724bc15e0 refactor: do some internal refactor. 2023-04-25 09:54:00 +08:00
Hongze Cheng d57676c924 fix: delete table error 2023-04-25 09:52:16 +08:00
Minglei Jin 33fba6f99a cache/read: fix transferBuf index 2023-04-25 09:48:56 +08:00
Haojun Liao ae8a9d25c0 refactor: do some internal refactor. 2023-04-25 09:41:49 +08:00
Haojun Liao a73957aaba fix(query): fix error in add row into merger. 2023-04-25 09:24:15 +08:00
kailixu 781834065a Merge branch '3.0' into enh/TD-21161-3.0 2023-04-25 08:22:08 +08:00
Haojun Liao 37d042a338 fix(query): fix error in add row into merger. 2023-04-25 00:33:24 +08:00
Haojun Liao 9a14e0db47 fix(query): fix error in add row into merger. 2023-04-25 00:30:43 +08:00
Haojun Liao c6daa68e54 enh(query): opt merge life cycle. 2023-04-25 00:17:37 +08:00
wangmm0220 8572f4a32f opti:change push mgr to consume msg for subscribe 2023-04-24 19:41:30 +08:00
Minglei Jin 4adc95f9db cache/deserialize: fix binary pData calc 2023-04-24 18:21:25 +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
Minglei Jin 3b88efbd5f cache/delete: fix null column values 2023-04-24 17:07:20 +08:00
Haojun Liao 7360a6b65c enh(query): opt hash. 2023-04-24 16:39:55 +08:00
Haojun Liao d73306f616 enh(query): opt last row read performance. 2023-04-24 16:08:49 +08:00
Haojun Liao 5663550de2 enh(query): opt query perf by allocate the SLDataIter when opening reader. 2023-04-24 15:47:02 +08:00
Minglei Jin c7d5b48920 cache/read: fix pRes buffer index 2023-04-24 15:42:53 +08:00
Xiaoyu Wang f5a974489e
Merge pull request #21045 from taosdata/fix/block-check-to-async-check
fix/block-check-to-async-check
2023-04-24 15:41:17 +08:00
Haojun Liao 48c36a8c35 Merge branch 'main' into enh/rocksdbSstate 2023-04-24 14:44:13 +08:00
Minglei Jin f8bf98f6dc Merge branch '3.0' into fix/TD-23623 2023-04-24 14:28:49 +08:00
kailixu b26842e398 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-24 14:19:49 +08:00
cadem 470fef6452 fix/block check to async check for mnode 2023-04-24 13:38:55 +08:00
Haojun Liao fa46165227 Merge branch 'main' into enh/rocksdbSstate 2023-04-24 12:59:24 +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
Minglei Jin 8f21090343 cache/delete: just remove affected cache entries 2023-04-24 10:47:28 +08:00
cadem a781d43577 fix/block-check-to-async-check 2023-04-24 10:23:43 +08:00
wangmm0220 9bd74ec5b2 Merge branch 'fix/TS-3222' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-24 10:14:32 +08:00
Haojun Liao 134c0528ae Merge branch 'main' into fix/liaohj_main 2023-04-24 01:43:00 +08:00
wangmm0220 77e03bfd78 opti:change push mgr to consume msg for subscribe 2023-04-23 20:14:49 +08:00
dapan1121 64a1c1810f
Merge pull request #21032 from taosdata/fix/TD-23794-M
fix: release resources if node open/start failed
2023-04-23 18:13:45 +08:00
liuyao 641c707b37 pause&resume 2023-04-23 17:37:10 +08:00
Xiaoyu Wang 4bb7a25fc7 feat: subtable level privilege 2023-04-23 16:30:28 +08:00
wangmm0220 4bc319c6dd Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-23 15:15:33 +08:00
Xiaoyu Wang 35f02cdbad
Merge pull request #21013 from taosdata/FIX/TD-23768-main
fix: change tdbTbInsert to tdbTbUpsert for meta update in tdb
2023-04-23 15:15:17 +08:00
liuyao 5bd8fe5441 feat:add pause&resume 2023-04-23 15:09:01 +08:00
54liuyao 5089528a02 feat:stream pause&resume 2023-04-23 15:08:51 +08:00
kailixu f31e2b9cb4 chore: more code 2023-04-23 14:56:06 +08:00
kailixu ebb1d83a3e chore: remove ut code 2023-04-23 14:43:26 +08:00
kailixu da2ca889f2 fix: release resources if node open/start failed 2023-04-23 14:42:24 +08:00
Haojun Liao 6fc364db19 fix(query): add null ptr check. 2023-04-23 13:53:55 +08:00
Haojun Liao 9cf89c6b6f enh(tmq): add check for consumer Id; 2023-04-23 11:51:43 +08:00
Xiaoyu Wang 206887166c fix: vnode errcode setting error 2023-04-23 10:53:28 +08:00
yihaoDeng 917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
Haojun Liao 3dbe208712 enh(tmq): fix memory error and add retrieve wal info as required. 2023-04-22 15:34:46 +08:00
Benguang Zhao 3c53516299 fix: use tdbTbUpsert for metaUpdate functions 2023-04-21 19:24:09 +08:00
dapan1121 f4d1ac4e93
Merge pull request #21007 from taosdata/feat/TS-3249
feat: support table_prefix/table_suffix new mode
2023-04-21 19:18:28 +08:00
Minglei Jin 9918d326cc Merge branch '3.0' into fix/TD-23623 2023-04-21 18:39:07 +08:00
Minglei Jin a75d43a259 cache/read: remove unused extract function 2023-04-21 18:38:20 +08:00
Minglei Jin 12fc21ae84 cache/get: use pRow from reader 2023-04-21 18:34:58 +08:00
wangmm0220 6efbcfec4b Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-21 17:46:35 +08:00
Minglei Jin 09c62e6ca2 fix values_list index when freeing 2023-04-21 16:30:00 +08:00
Minglei Jin 8e87b21a59 rocks/multi_get value: free rocks allocated memory 2023-04-21 16:23:40 +08:00
chenhaoran 7d7a0769b3 Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1 2023-04-21 16:20:37 +08:00
Minglei Jin 01d95b5e95 cache/read: use new interface with signle query 2023-04-21 16:07:22 +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
Minglei Jin 0394c6a50c free rocks errs array 2023-04-21 15:24:42 +08:00
Minglei Jin c9959b5bf6 dst slot for last_row 2023-04-21 14:18:04 +08:00
dapan1121 3c2fc48e74 feat: support new table_prefix/table_suffix mode 2023-04-21 14:17:07 +08:00
Haojun Liao b6f4cac619 fix(stream): set the correct offset version. 2023-04-21 13:35:24 +08:00
Haojun Liao 8fac91e265 refactor: do some internal refactor. 2023-04-21 09:38:51 +08:00
Haojun Liao 6c641cff39 fix(stream): fix error in start stream tasks. 2023-04-21 09:37:16 +08:00
Haojun Liao 471abd9160 log: update the log. 2023-04-20 23:39:13 +08:00
Haojun Liao 5e6c06e253 fix(stream): fix the race condition during create new stream tasks. 2023-04-20 23:21:18 +08:00
cadem bbb467725f message compatible 2023-04-20 21:50:55 +08:00
dm chen d594e4963f
Merge branch '3.0' into feat/learner 2023-04-20 19:11:06 +08:00
Haojun Liao 65fded4a28 fix(stream): set the correct number of tasks. 2023-04-20 19:03:43 +08:00
Haojun Liao f9801ba9c5 enh(stream): stop stream asap. 2023-04-20 18:58:07 +08:00
Haojun Liao 8a6b07347c Merge branch 'main' into fix/liaohj_main 2023-04-20 18:51:43 +08:00
Haojun Liao 6f595fb5fd other: add some logs. 2023-04-20 18:50:44 +08:00
Haojun Liao cb686f8709
Merge pull request #20998 from taosdata/fix/liaohj_main
enh(stream): add more check to stop stream asap.
2023-04-20 18:49:54 +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
Minglei Jin 7d896bbc85 last/empty_table: continue if table's empty 2023-04-20 17:36:46 +08:00
Haojun Liao c7e42d5422 other: do some internal refactor. 2023-04-20 17:30:02 +08:00
Haojun Liao 8323ad8670 enh(stream): add more check to stop stream asap. 2023-04-20 17:29:08 +08:00
Haojun Liao 23e285ac57
Merge pull request #20995 from taosdata/fix/liaohj_main
fix(stream): add lock during check wal to create new stream task.
2023-04-20 17:04:15 +08:00
Minglei Jin 1e51b2d781
Merge branch '3.0' into fix/TD-23623 2023-04-20 16:32:43 +08:00
Minglei Jin 642aa47887 last: first round implementation for column loading 2023-04-20 16:26:27 +08:00
Benguang Zhao 1b2fe38f75 enh: improve logging msg in metaSnapWrite 2023-04-20 16:22:16 +08:00
Haojun Liao b60b1796f7 fix(stream): add lock during check wal to create new stream task. 2023-04-20 15:53:41 +08:00
Benguang Zhao a21e0fe75e enh: propose vnode commit synchronously 2023-04-20 14:28:56 +08:00
Haojun Liao 742b5ee08c other: update wal logs level. 2023-04-20 13:42:16 +08:00
Haojun Liao c654f1145d enh(stream): add new msg for seek, and do some internal refactor. 2023-04-20 10:59:16 +08:00
kailixu 5620f51d14 fix: trim database db from mnd 2023-04-19 20:38:33 +08:00
cadem ca6ee940f7 typo 2023-04-19 18:59:40 +08:00
cadem 8b16f4b118 config compitible 2023-04-19 18:02:04 +08:00
yihaoDeng 5402a6061f Merge branch 'dev' into enh/rocksRevert 2023-04-19 17:37:07 +08:00
cadem c22bd63ed4 vnode config compitible 2023-04-19 15:11:16 +08:00
Xiaoyu Wang 7cf9919ab0
Merge pull request #20964 from taosdata/enh/3.0_planner_optimize
feat: last queries with tags output can be read from cache
2023-04-19 14:34:32 +08:00
Haojun Liao 3f12156c53 enh(tmq): support seek in tmq. 2023-04-19 13:56:42 +08:00
Xiaoyu Wang 586b3945d1 feat: last queries with tags output can be read from cache 2023-04-19 13:09:11 +08:00
wangmm0220 594d68b8a4 fix:remove lock for consume handler 2023-04-19 11:46:59 +08:00
wangmm0220 14fd2e7904 fix:remove lock for consume handler 2023-04-19 11:44:52 +08:00
wangmm0220 1061eef144 fix:move consumer msg from fetch thread to query thread 2023-04-19 10:49:18 +08:00
wangmm0220 25542c26c7 fix:remove tmPushMsg in consumer 2023-04-19 10:43:13 +08:00
Minglei Jin 76edc16ce1 operator/cache-scan: pass col list down to tsdb cache 2023-04-19 10:04:48 +08:00
kailixu 696d294f02 chore: code optimization 2023-04-18 19:58:02 +08:00
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
Haojun Liao fb32ffd960 fix(stream): update the reference count value to be int32, insead of int8 2023-04-18 18:06:03 +08:00
dapan1121 2af63992ea
Merge pull request #20952 from taosdata/fix/TD-23639
fix: fix double free caused crash
2023-04-18 17:50:45 +08:00
Xiaoyu Wang 6669c3a5ad feat: last queries with tags output can be read from cache 2023-04-18 17:13:14 +08:00
Haojun Liao cc67b631f6 refactor: do some internal refactor. 2023-04-18 17:01:09 +08:00
Haojun Liao 9f16802451 fix(stream): set the initial value. 2023-04-18 16:42:40 +08:00
Ganlin Zhao e58bf86c33 fix local variable 2023-04-18 16:34:06 +08:00
Haojun Liao abfc2455e6 fix(stream): update the atomic variables. 2023-04-18 16:21:30 +08:00
Haojun Liao 7da998ecfb other: merge main. 2023-04-18 16:15:08 +08:00
Minglei Jin dee2ca3476 tsdb/cache: inplace_update are commented out 2023-04-18 16:09:42 +08:00
Haojun Liao 7a8dd0db45 refactor: update the log. 2023-04-18 16:08:51 +08:00
Minglei Jin dd42db0077 tsdb/mem table: remove unused codes 2023-04-18 15:09:13 +08:00
Minglei Jin e159c4ead9 first round rocks batch write implementation 2023-04-18 14:25:35 +08:00
Haojun Liao 76becf59b7
Merge pull request #20947 from taosdata/feature/3_liaohj
fix(stream): set the correct initial checkpoint versions.
2023-04-18 11:26:48 +08:00
kailixu 50053fdc01 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-18 11:13:30 +08:00
kailixu c0148ed5e1 chore: remove the assertion 2023-04-18 11:11:44 +08:00
Haojun Liao 97da34050b fix(query): fix invalid free. 2023-04-18 10:40:53 +08:00
Haojun Liao 739dc5a7a6
Merge pull request #20938 from taosdata/fix/TD-22671
opti:the logic of mndDoRebalance for clear
2023-04-18 09:30:17 +08:00
Haojun Liao 7d3e5aa3d3 fix(query): set the table schema correctly when the table is dropped. 2023-04-18 09:03:30 +08:00
Haojun Liao 2ae05b8cf6 fix(stream): set the correct initial offset value. 2023-04-18 08:56:31 +08:00
wangmm0220 1771a54256 fix:rebalance not only one in once timer 2023-04-17 19:59:11 +08:00
liuyao 27d14f742d fix:stream memory leak 2023-04-17 17:27:02 +08:00
Ganlin Zhao d21628b2c9 fix: fix double free caused crash 2023-04-17 16:57:29 +08:00
kailixu 97aa8aede2 chore: revert 2023-04-17 14:26:02 +08:00
kailixu 1fb4fb280e Merge branch '3.0' into enh/TD-23421-M 2023-04-17 11:42:50 +08:00
kailixu fd3b552357 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-17 11:42:46 +08:00
Haojun Liao be90d2c511 fix(stream): disable stream task when no tasks exist. 2023-04-16 23:07:54 +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
wangmm0220 f65cd36e80 opti:the logic of mndDoRebalance for clear 2023-04-16 00:54:11 +08:00
Haojun Liao 04e042f21d Merge branch 'feature/3_liaohj' into enh/rocksRevert 2023-04-15 09:35:43 +08:00
Haojun Liao efb9ebe875
Merge pull request #20873 from taosdata/feature/3_liaohj
enh(stream): the stream will start after vnode restore being completed.
2023-04-15 09:34:34 +08:00
Hongze Cheng edf9fdbecc make it compile 2023-04-14 23:19:36 +08:00
Hongze Cheng bd1c8e1902 fix more code 2023-04-14 21:59:08 +08:00
Hongze Cheng 01bacc10ef fix: an important fix 2023-04-14 21:43:40 +08:00
wangmm0220 584cdf041c opti:the logic of mndDoRebalance for clear 2023-04-14 18:34:41 +08:00
Haojun Liao 1cd2268a99 Merge branch 'main' into feature/3_liaohj 2023-04-14 18:30:55 +08:00
Minglei Jin ec4ea9cf5d enh(cache/rocks): base for rocks put/get 2023-04-14 18:28:15 +08:00
Haojun Liao 02ec67ad9e
Merge pull request #20882 from taosdata/fix/TS-3081
fix:open test cases for tmq & add log if rebalance error
2023-04-14 17:56:58 +08:00
Haojun Liao ab4b08a4b5 Merge branch 'feature/3_liaohj' into enh/rocksRevert 2023-04-14 17:44:50 +08:00
Haojun Liao e0cb8aa534 fix(stream): don't the initial task status and do some internal refactor. 2023-04-14 17:43:37 +08:00
dapan1121 423ec923ca enh: reuse tsdb cache reader 2023-04-14 14:30:20 +08:00
Haojun Liao eb0e1f848a fix(stream): remove unused tqreader, do some internal refactor, set the meta value for streamtask. 2023-04-14 12:00:09 +08:00
Haojun Liao b57c813681 other: merge feature/3_liaohj 2023-04-14 10:36:54 +08:00
Xiaoyu Wang 96d2c5b9e3
Merge pull request #20927 from taosdata/FIX/TD-23552-main
enh: try to propose vnode commit at vnode closing
2023-04-14 09:14:10 +08:00
Xiaoyu Wang 31b2db470b
Merge pull request #20923 from taosdata/fix/3.0_merge_main
merge 3.0
2023-04-14 09:11:51 +08:00
Haojun Liao f8b672f09f other: merge main. 2023-04-14 09:07:18 +08:00
Haojun Liao 4d83118ff7 fix(stream): fix memory leak. 2023-04-13 23:49:14 +08:00
Haojun Liao 70b45a4cf0 fix(stream): all data should be extracted from wal. 2023-04-13 23:22:09 +08:00
Benguang Zhao d8386754ee enh: try to propose vnode commit at vnode closing 2023-04-13 19:45:24 +08:00
Xiaoyu Wang 7e51190bc8
Merge pull request #20914 from taosdata/fix/TD-22941-1
fix(tsdb/read): release bi cache entry before returning
2023-04-13 19:24:06 +08:00
Xiaoyu Wang d3642c84a2 Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-13 16:36:30 +08:00
Minglei Jin ab372d501a fix(tsdb/read): release bi cache entry before returning 2023-04-13 14:33:37 +08:00
Xiaoyu Wang a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
cadem b405855ba8 balance leader to enterprise 2023-04-13 13:40:42 +08:00
Xiaoyu Wang 3d962cd950
Merge pull request #20905 from taosdata/fix/TD-22941
fix(tsdb/cache): fix block index ref releasing
2023-04-13 13:37:20 +08:00
Minglei Jin 589ed9d0ce fix(tsdb/cache): fix block index ref releasing 2023-04-13 12:09:44 +08:00
dapan1121 7f518ca4ea feat: support cache db cfg 2023-04-13 10:54:57 +08:00
Minglei Jin ef219095cf fix(tsdb/read): remove duplicat schema fetching 2023-04-13 10:06:49 +08:00
Xiaoyu Wang c35e6aa382
Merge pull request #20842 from taosdata/fix/hash-ref-count-high
add cancel in fetch cluster
2023-04-12 16:53:43 +08:00
Xiaoyu Wang 933660ae8d Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main 2023-04-12 14:13:23 +08:00
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
wangmm0220 50022faf87 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3081 2023-04-12 13:57:37 +08:00
kailixu 9d60e73f5a Merge branch '3.0' into enh/TD-23421-M 2023-04-12 13:10:14 +08:00
kailixu 2daab8e65e Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:10:12 +08:00
kailixu ac841b02bf merge 3.0 2023-04-12 13:09:52 +08:00
kailixu 04fa4d2e87 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:05:47 +08:00
Xiaoyu Wang ff0697fa0a
Merge pull request #20879 from taosdata/fix/main_bugfix_wxy
fix: show user privileges invalid write
2023-04-12 11:05:38 +08:00
wangmm0220 bb22d9ee5e fix:open test cases for tmq & add log if rebalance error 2023-04-12 10:56:19 +08:00
Xiaoyu Wang 813591f993
Merge pull request #20872 from taosdata/fix/TD-23474
fix(tsdb/cache): skip schema updating for non ts row
2023-04-12 10:47:02 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Xiaoyu Wang 19f09a10e6 fix: show user privileges invalid write 2023-04-12 10:14:45 +08:00
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
Haojun Liao f6315af0c9 other: merge main. 2023-04-11 19:41:17 +08:00
Xiaoyu Wang 9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +08:00
Haojun Liao 5ab54481f0 refactor: do some internal refactor. 2023-04-11 19:24:34 +08:00
Haojun Liao f083697dba refactor(tq): do some internal refactor. 2023-04-11 19:04:33 +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
yihaoDeng b24b91886a Merge branch 'dev3' into enh/rocksRevert 2023-04-11 10:59:00 +00:00
Minglei Jin 3ac5b35f4b fix(tsdb/cache): skip schema updating for non ts row 2023-04-11 18:57:11 +08:00
Xiaoyu Wang 5ce6220106
Merge pull request #20781 from taosdata/szhou/replace-function
feature: udf replace function
2023-04-11 17:25:21 +08:00
Haojun Liao aae2758863 fix(stream): disable the deploy msg when restart taosd. 2023-04-11 16:58:51 +08:00
Xiaoyu Wang 4d696741b0
Merge pull request #20860 from taosdata/feat/table_level_privilege
feat: table level privilege
2023-04-11 15:56:36 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Haojun Liao 18479d8115 refactor: do some internall refactor. 2023-04-11 15:42:24 +08:00
Xiaoyu Wang 42a5a87e96 fix: table level privilege 2023-04-11 15:08:42 +08:00
wangmm0220 c40c695ea7 fix:optimize log & change the length of tag if tag is null in schemaless 2023-04-11 13:49:18 +08:00
Haojun Liao 15cceb5a5a refactor: do some internal refactors. 2023-04-11 11:53:10 +08:00
shenglian zhou 6b68a373e9 fix: when update func, set createdtime to original time 2023-04-11 11:37:41 +08:00
Xiaoyu Wang 40448c3e70
Merge pull request #20853 from taosdata/feat/table_level_privilege
feat: table level privilege
2023-04-11 11:01:51 +08:00
Xiaoyu Wang 416af9a58d feat: table level privilege 2023-04-11 10:11:25 +08:00
Haojun Liao a4ba5401f9 enh(stream): set the start version of all operators. 2023-04-11 10:01:36 +08:00
liuyao 524bb214e7 delete invalid code 2023-04-10 19:18:56 +08:00
“happyguoxy” adf25d3300 null pointer 2023-04-10 19:12:13 +08:00
Haojun Liao 497c9ea9c8 Merge branch 'main' into feature/3_liaohj 2023-04-10 17:57:26 +08:00
Xiaoyu Wang 910aba27c0
Merge pull request #20831 from taosdata/feat/table_level_privilege
feat: table level privilege
2023-04-10 17:24:53 +08:00
Haojun Liao 7419c0bfe9 enh(stream): the stream will start after vnode restore being completed. 2023-04-10 16:56:14 +08:00
“happyguoxy” bfc279835c add cancel in fetch cluster 2023-04-10 16:52:41 +08:00
“happyguoxy” 765c09d59e update function 2023-04-10 16:40:16 +08:00
kailixu 76386b9fad enh: assign passVer during taos_connect 2023-04-10 13:07:18 +08:00
slzhou b2de711a84 fix: change orReplace logic in mnode 2023-04-10 11:33:25 +08:00
Xiaoyu Wang 4dff8950c2
Merge pull request #20812 from taosdata/fix/TS-3025
fix(tsdb/read): use the correct schema with multilevel merging
2023-04-10 10:30:37 +08:00
Xiaoyu Wang e2f82f4423 merge main 2023-04-10 09:56:03 +08:00
kailixu b30d90355a chore: more code 2023-04-09 18:55:05 +08:00
kailixu ec8cd0c6b8 enh: support passwd version 2023-04-09 18:44:46 +08:00
Haojun Liao f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
slzhou 55ffb0bc6d fix: correct udf body file name and correct createdtime 2023-04-08 11:36:09 +08:00
shenglian zhou 32523d72f9 fix: add created time to file name and keep file reuse 2023-04-08 10:11:57 +08:00
kailixu e976fcb91d Merge branch '3.0' into enh/TD-21161-3.0 2023-04-07 17:51:35 +08:00
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
Xiaoyu Wang 0f2c753103 feat: table level privilege 2023-04-07 16:39:40 +08:00
Haojun Liao 5de76e4b72
Merge pull request #20809 from taosdata/fix/TD-23517
fix:[TD-23517] set offset type to wal if only meta & check if tag is …
2023-04-07 16:35:08 +08:00
Minglei Jin 8ae43fe6cb fix(tsdb/read): use the correct schema for mem/imem rows 2023-04-07 15:28:23 +08:00
Minglei Jin f262ac8230 fix(tsdb/read): use irow's schema instead of NULL 2023-04-07 14:37:56 +08:00
wangmm0220 05ec2b0928 fix:[TD-23517] set offset type to wal if only meta & check if tag is the same type in schemaless 2023-04-07 14:24:29 +08:00
Minglei Jin 1ff8511eb3 tsdb/row merger: comment init out 2023-04-07 13:43:07 +08:00
Minglei Jin 55f7e41f3b tsdb/row merger: remove tsdbRowMerge 2023-04-07 13:31:33 +08:00
Minglei Jin 360113115f fix(tsdb/row merger): remove unused code 2023-04-07 09:49:48 +08:00
shenglian zhou 66c86a60d5 fix: add func_version to systable 2023-04-06 15:58:53 +08:00
Haojun Liao 871cfb4760
Merge pull request #20775 from taosdata/fix/TD-23450
fix:tq memory leak
2023-04-06 11:48:45 +08:00
Haojun Liao 2b2059ef18
Merge pull request #20534 from taosdata/fix/TD-22671
fix:error in TD-23218 & remove useless logic
2023-04-06 11:47:24 +08:00
shenglian zhou 47719b1028 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/replace-function 2023-04-06 11:19:10 +08:00
Xiaoyu Wang c134432c45 merge main 2023-04-06 09:31:45 +08:00
Shuduo Sang 33c5f1cf88
chore: cus name support in shellArgument (#20754)
* 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

* fix: cus name

* fix: change adapter prefix

* fix: tools/*.sh

* fix: scripts

* fix: ../../packaging/tools/install_client.sh

* chore: cus domain in script

* fix: cus name in packaging/tools/install.sh

* fix: cus name in ../../packaging/tools/remove.sh

* fix: don't edit origin file

* fix: remove brand name

* fix: update taos-tools

* fix: cus name in log

* fix: compile error without cuc name

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-04-05 10:21:43 +08:00
yihaoDeng 5aff5aa93b add backpressure 2023-04-04 12:38:56 +00:00
“happyguoxy” a71caffed6 add version in mnode 2023-04-04 19:53:08 +08:00
54liuyao 519e2f1cfd fix:tq memory leak 2023-04-04 18:21:37 +08:00
yihaoDeng 628bb62c8a add backpressure 2023-04-04 07:20:05 +00: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
Xiaoyu Wang 0e53e578a7
Merge pull request #20748 from taosdata/fix/TD-23473
ehn(plan/optimizer): remove tbname fetching with cached groupby
2023-04-04 09:36:56 +08:00
dapan1121 ec3c706c3b
Merge pull request #20739 from taosdata/fix/TS-3063
fix(query): fix interp tsdbReader external range not setting properly
2023-04-04 09:23:47 +08:00
Shengliang Guan e783c21629
Merge pull request #20519 from taosdata/fix/coveriyScanYihao
fix coverity scan problem
2023-04-04 09:22:02 +08:00
wangmm0220 d651ba02ae fix:lose consume data because of exec close if consume while insert data 2023-04-03 19:54:52 +08:00
Haojun Liao d48be5c0ce refactor: do some internal refactor. 2023-04-03 18:23:35 +08:00
Haojun Liao a3ac8b647c refactor: do some internal refactor. 2023-04-03 18:20:35 +08:00
Haojun Liao 482c319bee refactor: do some internal refactor. 2023-04-03 18:07:28 +08:00
Haojun Liao 3ef7d43dae refactor: do some internal refactor. 2023-04-03 17:47:48 +08:00
kailixu 55b053150c Merge branch '3.0' into enh/TD-21161-3.0 2023-04-03 17:29:29 +08:00
kailixu 37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
Ganlin Zhao aa6a4efd5b fix(query): fix interp tsdbReader external range not setting properly 2023-04-03 16:18:16 +08:00
wangmm0220 2d6436c57d fix:modify log & sleep 500ms if data is inserting while consume 2023-04-03 11:24:22 +08:00
wangmm0220 446f31925e fix:conflict from main 2023-04-02 23:47:58 +08:00
wangmm0220 858144145f fix:memory leak 2023-04-02 23:39:59 +08:00
wangmm0220 b029c8f157 fix:remove useless setmsg 2023-04-02 22:34:51 +08:00
Haojun Liao f1384206f3 refactor: do some internal refactor. 2023-03-31 19:46:10 +08:00
wangmm0220 afcc3d2064 opti:code for tmq 2023-03-31 19:02:38 +08:00
wangmm0220 97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
Haojun Liao 82d98f9c97
Merge branch 'main' into feature/3_liaohj 2023-03-31 16:07:40 +08:00
Hongze Cheng 171d360cac
Revert "current from binary to json" 2023-03-31 15:25:00 +08:00
Haojun Liao b0fb912da8 fix(mnd): fix the invalid access of NULL ptr. 2023-03-31 11:48:52 +08:00
cademfly b24cf98ef3 use only one altertype for both table and cond 2023-03-31 11:03:33 +08:00
cademfly d85d1bf58e add new dup fun 2023-03-31 10:04:03 +08:00
cademfly 7342bde45d fake empty hash mark 2023-03-30 19:03:28 +08:00
cademfly db725c6f6d show priviledge format 2023-03-30 18:53:50 +08:00
cademfly 3ae4996458 remove all handle 2023-03-30 16:17:51 +08:00
cademfly 38b6bfd848 remove normal table priviledge 2023-03-30 16:10:34 +08:00
cademfly dbc75feac3 normal table 2023-03-30 15:56:08 +08:00
dapan1121 15578cf980
Merge branch 'main' into fix/cencVer 2023-03-30 15:36:30 +08:00
cademfly b528cb0561 fix dup hash 2023-03-30 15:13:09 +08:00
cademfly 824c87a6c7 binary format 2023-03-30 13:59:48 +08:00
Haojun Liao 5f4cb41e28 fix(tmq): set correct start offset value. 2023-03-29 23:45:41 +08:00
cademfly 8309718af1 condition 2023-03-29 19:51:49 +08:00
Haojun Liao c8ad465a0d refactor: do some internal refactor. 2023-03-29 19:40:34 +08:00
Haojun Liao 56c98d7768 refactor: do some internal refactor. 2023-03-29 19:35:04 +08:00
wangmm0220 2243184a4d fix:conflicts 2023-03-29 17:53:05 +08:00
dapan1121 6a1150301e fix: column rows size 2023-03-29 17:30:20 +08:00
wangmm0220 9d9ae749d1 opti:tmq logic & fix CI cases 2023-03-29 17:27:04 +08:00
Haojun Liao 25245b9005 Merge branch 'main' into feature/3_liaohj 2023-03-29 16:40:12 +08:00
Haojun Liao 152fc5daab fix(stream):fix the race condition when creating new tsables. 2023-03-29 16:36:35 +08:00
dapan1121 a90354cd92 fix: restore debug code 2023-03-29 15:56:08 +08:00
dapan1121 9952be43f6 Merge remote-tracking branch 'origin/main' into fix/cencVer 2023-03-29 15:50:14 +08:00
dapan1121 4f06728c17 fix: restore sl level 2023-03-29 15:48:11 +08:00
dapan1121 84eef542d5 fix: memory rows count issue 2023-03-29 15:45:18 +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
Minglei Jin 91c16f0344 tsdb/read: remove dup mem schema fetching 2023-03-29 15:34:55 +08:00
slzhou accebcedc4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf-improvement 2023-03-29 14:52:04 +08:00
Minglei Jin 7eb8a63944 Merge branch 'fix/liaohj' of https://github.com/taosdata/TDengine into fix/liaohj 2023-03-29 14:21:05 +08:00
Minglei Jin 8cf8ac84d7 fix(tsdb/read): use correct scheme for mem & imem merging 2023-03-29 14:19:15 +08:00
Xiaoyu Wang 518a1e6ece
Merge pull request #20683 from taosdata/fix/main_bugfix_wxy
fix: hotfix version compatibility
2023-03-29 13:38:04 +08:00
cademfly 2fd10c2aa0 table 2023-03-29 13:30:32 +08:00
dapan1121 2714ce2af8 fix: rows count issue 2023-03-29 13:22:12 +08:00
Haojun Liao 10f08c948b
Merge pull request #20679 from taosdata/feature/3_liaohj
fix(query): allow only one trans to be execute for each balance, and do some other refactor.
2023-03-29 13:17:18 +08:00
dapan1121 0659814d16
Merge pull request #20674 from taosdata/fix/TS-3010
fix: query schema is old issue
2023-03-29 11:41:07 +08:00
Xiaoyu Wang 4a085db970 fix: hotfix version compatibility 2023-03-29 11:10:15 +08:00
Xiaoyu Wang eaf56916fe
Merge pull request #20678 from taosdata/FIX/TD-22975-main
enh: separate sync read and write
2023-03-29 11:09:31 +08:00
dapan1121 0327a8eaa3 fix: block rows number type 2023-03-29 10:46:56 +08:00
Haojun Liao 94c6af39da fix(tmq): fix the invalid free 2023-03-29 10:46:44 +08:00
Haojun Liao 7a050d64bd fix(query): set ptr to be NULL. 2023-03-29 10:27:05 +08:00
dapan1121 702202d4af fix: fix block scan issue 2023-03-29 10:14:53 +08:00
Haojun Liao 70d0d7a63f fix(tmq): fix the syntax error. 2023-03-29 09:08:07 +08:00
Haojun Liao ceb160c23b fix(query): fix memory leak. 2023-03-28 23:14:11 +08:00
Haojun Liao f1ff5dcec4 fix(query): use hashmap to keep the multiple schema. 2023-03-28 22:53:57 +08:00
dapan1121 a0c8dd52b1 fix: memory count issue 2023-03-28 19:42:09 +08:00
Haojun Liao b444e8db1a others: merge main. 2023-03-28 19:42:07 +08:00
dapan1121 c5f37d284e fix: memory row count issue 2023-03-28 19:27:49 +08:00
dapan1121 e0f951e668 fix: memory rows issue 2023-03-28 19:15:38 +08:00
wangmm0220 d0c55ef572 fix:conflicts 2023-03-28 18:12:13 +08:00
Benguang Zhao ae8d87643f Merge branch 'main' into FIX/TD-22975-main 2023-03-28 18:00:51 +08:00
Benguang Zhao 78ab9d3bf9 fix: process appendLog replies in vnode-sync thread 2023-03-28 17:57:08 +08:00
dapan1121 def8c9044e Merge remote-tracking branch 'origin/enh/TS-2967' into fix/cencVer 2023-03-28 17:47:41 +08:00
dapan1121 a87d35be08 fix: optimize performance 2023-03-28 17:40:46 +08:00
Haojun Liao 0ae2034ebb fix: fix syntax error. 2023-03-28 16:05:05 +08:00
Haojun Liao 7342aeb750 fix(tmq): fix the syntax error. 2023-03-28 15:42:53 +08:00
dapan1121 22ad3129b9 fix: query schema is old issue 2023-03-28 15:21:47 +08:00
Haojun Liao a883e57cf2 Merge branch 'main' into fix/liaohj 2023-03-28 15:07:32 +08:00
Haojun Liao 68f310dd48 refactor: do some internal refactor. 2023-03-28 15:05:10 +08:00
Haojun Liao 4fd3064fd9 refactor: do some internal refactor. 2023-03-28 14:43:37 +08:00
Haojun Liao ac9773b5df
Merge pull request #20670 from taosdata/fix/liaohj
refactor: do some internal refactor.
2023-03-28 14:32:10 +08:00
Haojun Liao c36c5253c5 refactor: do some internal refactor. 2023-03-28 13:31:40 +08:00
Haojun Liao fca79dbc53 Merge branch 'fix/liaohj' into main 2023-03-28 11:20:01 +08:00
Haojun Liao c158087d66 fix(tmq): kill the ongoing tsdb scans while transferring the ownership of vnode to other consumers. 2023-03-28 09:53:49 +08:00
Haojun Liao 5c128e2292 refactor: do some internal refactor. 2023-03-28 09:27:48 +08:00
shenglian zhou b6542fb286 fix: add language and definition body to ins_functions 2023-03-28 08:43:34 +08:00
dapan1121 61571d9296 enh: optimize count performance 2023-03-27 19:40:29 +08:00
Xiaoyu Wang 6726bda9de
Merge pull request #20652 from taosdata/fix/wrong-field-logging
wrong field logging
2023-03-27 19:05:15 +08:00
Xiaoyu Wang 97855c6233
Merge pull request #20607 from taosdata/FEAT/TD-23257-3.0
feat: WAL cleanup not affected by topic consumption anymore
2023-03-27 17:58:31 +08:00
Xiaoyu Wang 77f27bb9df
Merge pull request #20613 from taosdata/FIX/TD-23308-main
enh: disable timely vnodeCommit
2023-03-27 17:58:20 +08:00
cadem 2495d0781d wrong field logging 2023-03-27 15:11:20 +08:00
Xiaoyu Wang af53a3a226
Merge pull request #20643 from taosdata/fix/main_bugfix_wxy
fix: enterprise version displays the associated community version gitinfo
2023-03-27 13:05:25 +08:00
Xiaoyu Wang ed48713a4b
Merge pull request #20615 from taosdata/fix/trigger-election-by-sync-msg
Fix/trigger election by sync msg
2023-03-27 11:54:53 +08:00
Xiaoyu Wang 5f9f5be6f4 fix: enterprise version displays the associated community version gitinfo 2023-03-27 11:06:10 +08:00
wangmm0220 f1d67b6059 fix:conflict 2023-03-25 19:03:23 +08:00
wangmm0220 750cd8c5a4 fix:ci error 2023-03-25 16:33:47 +08:00
dapan1121 8a89550f16 fix: skiplist level 2023-03-25 13:10:14 +08:00
wangmm0220 9f5e435140 fix:conflict from main 2023-03-25 11:49:37 +08:00
Benguang Zhao ffc3b7b27a enh: add the errorcode TSDB_CODE_MND_DB_RETENTION_PERIOD_ZERO 2023-03-25 11:06:05 +08:00
Xiaoyu Wang d2b8c5e433
Merge pull request #20524 from taosdata/fix/clusterid-isolation
fix: clusterid isolation
2023-03-25 09:19:49 +08:00
dapan1121 dd12e41227
Merge pull request #20618 from taosdata/fix/TS-2974
fix: change float display mode
2023-03-25 09:19:04 +08:00
dapan1121 481091bae6 fix: sma load issue 2023-03-24 19:01:19 +08:00
dapan1121 8bf49fdbd2 fix: skiplist level 2023-03-24 17:16:06 +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
dapan1121 4167e4c00c fix: some columns sma are not set issue 2023-03-24 15:20:27 +08:00
wangmm0220 57331cd71d Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-24 14:51:11 +08:00
wangmm0220 5d06474f2e fix:send data batch if consume wal where subscribe db 2023-03-24 14:43:29 +08:00
Benguang Zhao 22b904b711 feat: not allowed to create a topic when WAL_RETENTION_PERIOD is zero 2023-03-24 11:55:02 +08:00
Benguang Zhao 235ef431d2 feat: not allowed to set WAL_RETENTION_PERIOD as zero when there are topics defined 2023-03-24 11:47:23 +08:00
wangmm0220 1a2513d212 Merge branch 'fix/TD023101' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-24 10:12:12 +08:00
wangmm0220 bf78f63e22 fix:send data batch if consume wal where subscribe db 2023-03-24 10:10:52 +08:00
cadem 86ca5ce210 fix/trigger election by sync msg 2023-03-24 09:13:20 +08:00
Benguang Zhao 9be09492f0 enh: disable timely vnodeCommit 2023-03-24 09:05:06 +08:00
Shengliang Guan 8d1224ce22 refactor: format code 2023-03-23 22:31:20 +08:00
Xiaoyu Wang bddba107be
Merge pull request #20608 from taosdata/fix/TS-2960
fix(tdb/restore): rollback journal files backward
2023-03-23 19:47:31 +08:00
dapan1121 7f50b463bb
Merge pull request #20599 from taosdata/fix/mainT3.0
fix: merge main to 3.0
2023-03-23 16:17:01 +08:00
Xiaoyu Wang a5d8549cb1
Merge pull request #20593 from taosdata/FEAT/TD-23258-3.0
feat: support WAL_RETENTION_PERIOD and WAL_RETENTION_SIZE for alter database
2023-03-23 11:43:01 +08:00
Xiaoyu Wang 323d8ee0b4
Merge pull request #20598 from taosdata/FIX/TD-23187-main
fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose
2023-03-23 11:42:48 +08:00
wangmm0220 5f9c7e9a7d fix:[TS-2961] consume error change from snapshot to wal for taosx 2023-03-22 20:14:19 +08:00
wangmm0220 6fae38619d fix:error in TD-23218 & remove useless logic 2023-03-22 19:36:12 +08:00
dapan1121 e58afd12e1 fix: merge main to 3.0 2023-03-22 17:42:09 +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
Benguang Zhao 24af249f55 fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose 2023-03-22 16:05:57 +08:00
Xiaoyu Wang eb79046a70 merge 3.0 2023-03-22 11:42:02 +08:00
Benguang Zhao 0b101e4952 feat: support WAL_RETENTION_PERIOD and WAL_RETENTION_SIZE for alter database 2023-03-22 11:40:24 +08:00
Minglei Jin 0bf98096c9 fix(tsdb/cache): init isLast once for each fileset 2023-03-22 10:57:27 +08:00
Minglei Jin cb93ac2613 enh(tsdb/cache): make merge tree next one less 2023-03-22 10:50:34 +08:00
wangmm0220 c07e563ecd fix:error in optimize consume logic 2023-03-22 10:43:11 +08:00
Minglei Jin 0b31aac2c5 enh(tsdb/cache): skip data block with merge tree 2023-03-22 10:19:58 +08:00
cadem ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
yihaoDeng 914d391845 fix tag filter 2023-03-21 12:28:16 +00:00
Haojun Liao 69ca2b2f7b fix(tmq): do some internal refactor. 2023-03-21 19:40:36 +08:00
Haojun Liao c3acab2070 fix(tmq): do some internal refactor. 2023-03-21 19:38:34 +08:00
Xiaoyu Wang 58ebd3539d feat: alter database wal_retention_period/wal_retention_size 2023-03-21 16:45:19 +08:00
dapan1121 f97c4e7e35
Merge pull request #20557 from taosdata/fix/TS-2932-CM
fix: set grant cluster info
2023-03-21 16:25:21 +08:00
dapan1121 3ab55496c1
Merge pull request #20561 from taosdata/fix/TS-2891-M
fix: select ins_columns from stb/tb
2023-03-21 16:24:46 +08:00
Haojun Liao ca29dd344f other: merge main. 2023-03-21 14:04:52 +08:00
Haojun Liao d5a386a563 fix(client): fix coverity issues. 2023-03-21 14:03:36 +08:00
Haojun Liao 18b121c69c fix(tmq): fix the invalid write and do some internal refactor. 2023-03-21 13:45:43 +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
kailixu 6fd4bc7e27 fix: set grant cluster info 2023-03-20 20:06:10 +08:00
kailixu aa4c1cb5eb chore: more code 2023-03-20 17:44:34 +08:00
kailixu 179579f204 chore: more code 2023-03-20 17:41:22 +08:00
kailixu 24dbcaa844 chore: merge main 2023-03-20 17:32:54 +08:00
wangmm0220 f7b7320f5f fix:set offset if read wal none 2023-03-20 16:57:45 +08:00
wangmm0220 506c192bff fix:error in TD-23218 & remove useless logic 2023-03-20 16:26:15 +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
wangmm0220 f80078030c fix:error in TD-23218 & remove useless logic 2023-03-20 15:40:01 +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
wangmm0220 c0b41ea0b3 fix:error in TD-23218 & remove useless logic 2023-03-20 14:09:13 +08:00
Haojun Liao a24d537d9e Merge remote-tracking branch 'origin/fix/liaohj' into fix/liaohj 2023-03-20 13:28:13 +08:00
Haojun Liao 4cb1c51d4e fix(tmq): update some logs. 2023-03-20 13:27:58 +08:00
yihaoDeng 192570ce77 fix tag filter 2023-03-20 04:14:57 +00:00
wangmm0220 a5144f0ba2 fix:set offset if read wal none 2023-03-20 10:10:07 +08:00
Haojun Liao a5e9fad0f9 fix(query): set correct lastkeyInstt. 2023-03-19 23:58:17 +08:00
dapan1121 189ff567e0
Merge pull request #20537 from taosdata/revert-20485-fix/TS-2891-M
Revert "fix(query): invalid write when query of ins_columns"
2023-03-19 19:58:13 +08:00
Haojun Liao c678740968 refactor: do some internal refactor. 2023-03-19 19:22:43 +08:00
Haojun Liao 7e712a14b6 fix(tmq): adjust log. 2023-03-19 19:06:28 +08:00
Xiaoyu Wang f86c8d0d6e enh: optimize last pruning logic 2023-03-19 14:40:16 +08:00
Xiaoyu Wang 6277b2564b enh: optimize last pruning logic 2023-03-19 13:41:32 +08:00
Xiaoyu Wang 9affd11eb7
Merge pull request #20542 from taosdata/fix/main_bugfix_wxy
enh: optimize last pruning logic
2023-03-19 12:00:18 +08:00
Xiaoyu Wang 5a4fe943dc enh: optimize last pruning logic 2023-03-19 11:01:39 +08:00
Haojun Liao ae5155edcf fix(tmq): do some internal refactor. 2023-03-19 10:49:30 +08:00
Minglei Jin 3a5542bbbc fix(tsdb/cache): update nCols of merge tree to avoid assert failed 2023-03-19 10:19:49 +08:00
Cary Xu 7a3c897a80
Revert "fix(query): invalid write when query of ins_columns" 2023-03-18 20:49:48 +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
yihaoDeng afaa77cc3e fix tag filter 2023-03-18 10:01:45 +00:00
yihaoDeng f24e06f36b fix tag filter 2023-03-18 08:58:26 +00:00
kailixu 01074ed6cf chore: var def optimization 2023-03-18 13:08:34 +08:00
kailixu d90c8e834a chore: var def optimization 2023-03-18 13:07:15 +08:00
cadem 39283d22fb fix/change print format 2023-03-18 12:59:58 +08:00
kailixu 828af14b52 Merge branch 'main' into fix/TS-2891-M 2023-03-18 12:51:07 +08:00
cadem 042d94215b feat/add topic total and stream total in monitor 2023-03-18 12:50:07 +08:00
cadem 7c970d1847 fix/clusterid isolation 2023-03-18 11:16:52 +08:00
kailixu 0c4e9f6646 chore: more code 2023-03-17 16:53:28 +08:00
kailixu 5f2ced466b Merge branch 'main' into fix/TS-2891-M 2023-03-17 16:49:06 +08:00
kailixu b61a5ece5a chore: more code 2023-03-17 16:48:55 +08:00
kailixu f297f67698 fix: show obj 2023-03-17 16:40:29 +08:00
dapan1121 859f2594ed fix: add sma load time 2023-03-17 15:21:43 +08:00
wangmm0220 0a54d00cd2 fix:converity scan defects 2023-03-17 14:54:27 +08:00
Shengliang Guan aa656c9c29
Merge pull request #20505 from taosdata/fix/TD-23196
ehn(tsdb/cache): skip invalid row or data block directly with merge tree
2023-03-17 13:19:06 +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
kailixu 7ed966e3f1 fix: select ins_columns from stb/tb 2023-03-17 12:33:34 +08:00
Minglei Jin ca115b1c87 fix(tsdb/cache): break loop to return current row 2023-03-17 11:41:17 +08:00
wangmm0220 4fdef7421c fix:add log for taosCreateLog error 2023-03-17 10:50:54 +08:00
yihaoDeng 497ba9992d fix coverity scan problem 2023-03-17 02:26:18 +00:00
Minglei Jin a8d146c512 ehn(tsdb/cache): skip invalid row or data block directly with merge tree 2023-03-17 10:22:36 +08:00
Haojun Liao 970155a845 fix(query): fix coverity issues. 2023-03-16 21:53:34 +08:00
wangmm0220 6323a6e801 fix:conflicts 2023-03-16 19:18:07 +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
yihaoDeng 07ca8eb8e0 enh: add trace to transaction 2023-03-16 10:25:46 +00:00
Shengliang Guan 7af1d00d74
Merge pull request #20485 from taosdata/fix/TS-2891-M
fix(query): invalid write when query of ins_columns
2023-03-16 15:50:03 +08:00
Shengliang Guan 925693c8a9
Merge pull request #20493 from taosdata/fix/TD-23172
ehn(tsdb/cache): load necessary columns only
2023-03-16 15:49:04 +08:00
yihaoDeng 3ac11ce87a enh: change log 2023-03-16 06:17:45 +00:00
Minglei Jin b1949b5584 fix(tsdb/cache): skip remaining rows in current data block 2023-03-16 14:11:34 +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
Minglei Jin 6e0343fc08 enh(tsdb/cache): load necessary columns only 2023-03-16 11:18:36 +08:00
Haojun Liao a1682664f2 fix(tmq): disable non-leader vnode responsing the poll request. 2023-03-16 10:12:34 +08:00
kailixu ba5c3fb2ab fix: select ins_columns for stb with 4096 columns 2023-03-16 00:01:54 +08:00
yihaoDeng ef092c1cce enh: add queue limit 2023-03-15 11:54:36 +00:00
Shengliang Guan af4532dc63
Merge pull request #20476 from taosdata/fix/TD-23163
enh(tsdb/cache): skip invalid datablock directly when traversing fs with last
2023-03-15 19:03:48 +08:00
Shengliang Guan a397c2dae4
Merge pull request #20471 from taosdata/fix/alter_minrows
fix: alter minrows doesn't take effect
2023-03-15 17:45:54 +08:00
Minglei Jin 04d501d64a fix: destroy aColArray anyway 2023-03-15 17:41:29 +08:00
Minglei Jin f1414355e3 tsdb/cache: skip invalid datablock directly when traversing fs with last 2023-03-15 16:24:36 +08:00
Haojun Liao 36cec7894b
Merge pull request #20472 from taosdata/fix/liaohj
fix(query): set the correct cached tags list key length, and update s…
2023-03-15 15:56:50 +08:00
Haojun Liao 52576071ae refactor: do some internal refactor. 2023-03-15 14:37:48 +08:00
Haojun Liao 253a760810 fix(query): set the correct cached tags list key length, and update some logs. 2023-03-15 14:30:12 +08:00
Shengliang Guan 7ee24c318e fix: alter minrows doesn't take effect 2023-03-15 14:25:18 +08:00
Shengliang Guan 4efcb4ddce
Merge pull request #20280 from taosdata/fix/TD-22871
fix: return err msg while db is creating
2023-03-15 14:10:41 +08:00
Shengliang Guan 09ca41b3f7
Merge pull request #20467 from taosdata/fix/TS-2893
fix:create same sub table
2023-03-15 14:07:47 +08:00
54liuyao d5defa3def fix:create same sub table 2023-03-15 11:10:55 +08:00
Hongze Cheng e43b606917 current from binary to json 2023-03-15 10:48:51 +08:00
Benguang Zhao 9f97162ef7 enh: separate election timer events 2023-03-14 21:02:06 +08:00
Benguang Zhao cc76d78673 enh: separate sync read and write events 2023-03-14 20:35:39 +08:00
Yihao Deng 0d4cc1c577
Merge branch 'main' into fix/TD-22871 2023-03-14 15:56:51 +08:00
yihaoDeng d3c9e08003 fix: fix log invalid err msg 2023-03-14 06:15:47 +00:00
Haojun Liao 32ddecc347 other: merge main. 2023-03-14 12:13:09 +08:00
Shengliang Guan e98b32a69f
Merge pull request #20427 from taosdata/fix/main_bugfix_wxy
fix: last redundant read stt file
2023-03-14 09:41:19 +08:00
Shengliang Guan 214c595491
Merge pull request #20412 from taosdata/fix/TD-23095
fix:auto fill null column
2023-03-14 09:36:57 +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
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
Xiaoyu Wang ca39dfcf2d feat: show vgroup display num of cache tables 2023-03-13 17:21:32 +08:00
Haojun Liao 731a2138df fix(tmq): fix error in tmq. 2023-03-13 17:08:17 +08:00
Xiaoyu Wang 62377619ba enh: optimizing stt file reading in last query 2023-03-13 15:05:24 +08:00
Haojun Liao 7f2aae69d4 fix(tmq): fix error in taosx 2023-03-13 01:54:29 +08:00
Xiaoyu Wang 25778754e2 fix: last redundant read stt file 2023-03-12 22:36:26 +08:00
Xiaoyu Wang 45e38d258c fix: last redundant read stt file 2023-03-12 20:40:17 +08:00
Haojun Liao 564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
wangmm0220 0e2cf0ed73 fix:deal with ASSERT in tmq 2023-03-11 16:51:34 +08:00
Xiaoyu Wang a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
wangmm0220 9cc7a9f504 fix:deal with ASSERT in tmq 2023-03-11 16:12:11 +08:00
Shengliang Guan 584f213739
Merge pull request #20401 from taosdata/fix/main_bugfix_wxy
fix: error in last cache handle deleted data
2023-03-11 15:43:55 +08:00
54liuyao 84ef1c78d4 fix:auto fill null column 2023-03-11 11:33:50 +08:00
Xiaoyu Wang 38a6d02ca9 Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-03-11 10:58:47 +08:00
Benguang Zhao d679eaf648 enh: update pMnode->applied only when pMsg->code as zero 2023-03-10 18:10:34 +08:00
Xiaoyu Wang 11e55f028b fix: error in last cache handle deleted data 2023-03-10 17:49:27 +08:00
Hongze Cheng 7e071ff458 enh: optimize snapshot transfer 2023-03-10 16:01:40 +08:00
Shengliang Guan 6e7d490ec8
Merge pull request #20390 from taosdata/enh/addErrCode
add user err code
2023-03-10 15:40:31 +08:00
Shengliang Guan cf1bf07bbb
Merge pull request #20387 from taosdata/fix/main_bugfix_wxy
enh: optimize last/last_row cost when the cache was first loaded
2023-03-10 14:51:45 +08:00
Haojun Liao 05ddf68247 fix(tmq): fix invalid free. 2023-03-10 14:27:34 +08:00
Haojun Liao d8807d3d5a fix(tmq): fix memory leak. 2023-03-10 14:23:16 +08:00
yihaoDeng 3865404674 add user err code 2023-03-10 14:19:03 +08:00
Xiaoyu Wang 4e4f7de0ab enh: optimize last/last_row cost when the cache was first loaded 2023-03-10 12:00:17 +08:00
Haojun Liao 0d1b2e4b5a fix(tmq): use before remove hash item. 2023-03-10 10:31:53 +08:00
Shengliang Guan c70c9546f2
Merge pull request #20372 from taosdata/fix/main_bugfix_wxy
enh: optimize last/last_row cost when the cache was first loaded
2023-03-10 10:07:22 +08:00
Shengliang Guan 37bc466f59
Merge pull request #20373 from taosdata/fix/TS-2853
fix:get dest table version
2023-03-10 10:05:01 +08:00
Benguang Zhao 66631229eb fix: initialize and update pMnode->applied properly 2023-03-10 09:35:38 +08:00
Haojun Liao a4e378e138 refactor: update some log. 2023-03-10 09:30:59 +08:00
Haojun Liao 691cb08e88 refactor: remove some unused attributes. 2023-03-10 09:23:03 +08:00
Haojun Liao 09e84884be refactor: remove invalid assert 2023-03-09 23:31:29 +08:00
Haojun Liao 03aa391859 fix(tmq): add lock before close the tsdbreader. 2023-03-09 23:03:51 +08:00
Benguang Zhao 96e70c2795 enh: update logging msg in vnodeRestoreFinish 2023-03-09 20:05:19 +08:00
54liuyao 5acf665b7e fix:get dest table version 2023-03-09 19:36:10 +08:00
Benguang Zhao 5e53b1225b enh: finish restore with commit and applied indexes instead of num of items in apply queue 2023-03-09 19:35:42 +08:00
Xiaoyu Wang 47417e003e enh: optimize last/last_row cost when the cache was first loaded 2023-03-09 18:54:15 +08:00
Benguang Zhao 1392711e66 enh: add fsm FpAppliedIndexCb to get the current applied index 2023-03-09 18:14:04 +08:00
Benguang Zhao 9d10739908 enh: send rsp of negotiation failure ahead of apply queue 2023-03-09 16:18:44 +08:00
Xiaoyu Wang e5de317f44 feat: alter database stt_trigger/minrows 2023-03-09 16:04:38 +08:00
Hongze Cheng afd01bb9b6 Merge branch 'main' of https://github.com/taosdata/TDengine into feat/TS-2846 2023-03-09 15:26:04 +08:00
Hongze Cheng 16262512b2 feat: alter stt_trigger and minrows 2023-03-09 15:25:47 +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
Shengliang Guan a8dbfe9595
Merge pull request #20346 from taosdata/FIX/TD-22572-main
enh: no need to wait for emptying apply queue in syncNodePreClose
2023-03-09 15:17:10 +08:00
Benguang Zhao 24ebb2f547 enh: no need to wait for emptying apply queue in syncNodePreClose 2023-03-08 19:35:05 +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
yihaoDeng 01a5d5d219 unit sma and tag index error msg 2023-03-08 18:16:29 +08:00
Shengliang Guan c4d2718296
Merge pull request #20332 from taosdata/fix/main_bugfix_wxy
fix: check the compatibility of client version and server version
2023-03-08 17:40:23 +08:00
Xiaoyu Wang 5d80e71d9e fix: check the compatibility of client version and server version 2023-03-08 16:42:09 +08:00
Shengliang Guan ac1b9248f4
Merge pull request #20330 from taosdata/fix/msg_check
fix: add more msg check
2023-03-08 16:16:59 +08:00
Xiaoyu Wang 3db2c59581 fix: check the compatibility of client version and server version 2023-03-08 16:10:11 +08:00
yihaoDeng d8d74b3514 unit sma and tag index error msg 2023-03-08 16:02:46 +08:00
Shengliang Guan e034d7aff7
Merge pull request #20321 from taosdata/fix/TD-22247-M
fix: update tfs storage size every 1 second by default
2023-03-08 15:49:28 +08:00
Shengliang Guan 1439bdcd36
Merge pull request #20306 from taosdata/feat/add-reboot-time
feat/add-reboot-time
2023-03-08 15:46:55 +08:00
Hongze Cheng 05688386a0 little fix 2023-03-08 15:19:55 +08:00
Xiaoyu Wang 9be3e20276 fix: check the compatibility of client version and server version 2023-03-08 15:13:11 +08:00
Hongze Cheng a56c99daac fix: add more msg check 2023-03-08 14:45:04 +08:00
Hongze Cheng b5b6f31023 Merge branch 'main' of https://github.com/taosdata/TDengine into feat/compact_with_time_range 2023-03-08 13:47:40 +08:00
Haojun Liao 41f26148a2 fix(mq): re-balance consumer if it is in an in-balance status. 2023-03-08 12:09:54 +08:00
kailixu a03d9778a6 fix: update tfs storage size every 1 second by default 2023-03-08 11:03:29 +08:00
Xiaoyu Wang 4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
Xiaoyu Wang 0dc34018b6 fix: insert data crash after empty table last cache 2023-03-08 10:06:48 +08:00
Hongze Cheng dc0d7c26ea Merge branch 'main' of https://github.com/taosdata/TDengine into feat/compact_with_time_range 2023-03-08 08:53:56 +08:00
Hongze Cheng 89281ee488 compact with time range 2023-03-07 21:46:34 +08:00
Shengliang Guan fe729a4756
Merge pull request #20305 from taosdata/fix/main_bugfix_wxy
fix: taosd crash when modify the schema and query last_row
2023-03-07 20:31:18 +08:00
Xiaoyu Wang 163224f4e2 fix: taosd crash when modify the schema and query last_row 2023-03-07 19:42:05 +08:00
cadem a063d69890 feat/add-reboot-time 2023-03-07 18:27:26 +08:00
Xiaoyu Wang ab86f6abee fix: taosd crash when modify the schema and query last_row 2023-03-07 18:15:17 +08:00
Shengliang Guan 4ea87deef7
Merge pull request #20301 from taosdata/fix/main_bugfix_wxy
fix: insert data crash after empty table last_row cache
2023-03-07 18:08:23 +08:00