Commit Graph

25158 Commits

Author SHA1 Message Date
wangmm0220 853c495aed fix:heap over flow 2023-07-24 20:23:17 +08:00
Haojun Liao a2694b9ce9 fix(stream): fix the invalid check of step2 . 2023-07-24 19:44:28 +08:00
Haojun Liao c0e35df927
Merge pull request #22131 from taosdata/mark/tmq
fix:optimize log & change return value for async interface
2023-07-24 19:40:01 +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
Haojun Liao d36903bf08
Merge pull request #22162 from taosdata/fix/3_liaohj
fix(stream): add some logs, and remove the invalid loop.
2023-07-24 16:29:51 +08:00
dapan1121 dce1f579ea
Merge pull request #22143 from taosdata/enh/TD-24987-3.0
enh: expire time optimize
2023-07-24 16:18:59 +08:00
wangmm0220 9628a9f74e fix:open info log in tmq & ignore wal apply ver when read wal 2023-07-24 15:53:02 +08:00
Shungang Li dc77e783a5 fix: monitor no longer reports logs 2023-07-24 15:17:36 +08:00
Shungang Li d78f28ce2e fix: monitor no longer reports logs 2023-07-24 15:16:48 +08:00
slzhou 1d24b96e82 enhance: skip data blocks with the merge limit ts when create initial source 2023-07-24 15:16:39 +08:00
yihaoDeng 95a1db6e89 fix err while connect invalid fqdn 2023-07-24 07:09:03 +00:00
kailixu 7946ce4994 chore: code optimization 2023-07-24 14:46:59 +08:00
Minglei Jin 424dd40078 tsdb/cache: reuse pDataFileReader for same fileset 2023-07-24 14:45:35 +08:00
kailixu cf59a6cff0 chore: set user for dm transport 2023-07-24 14:24:47 +08:00
Haojun Liao 9bae91bcba fix(stream): add some logs, and remove the invalid loop. 2023-07-24 13:37:44 +08:00
dapan1121 6fbf251978
Merge pull request #22138 from taosdata/enh/TS-3625
fix: fix(value, null) output behavior
2023-07-24 13:17:19 +08:00
Haojun Liao 13bab114cb
Merge pull request #22155 from taosdata/fix/3_liaohj
fix(stream): refactor the halt status to check more status.
2023-07-24 11:04:08 +08:00
Minglei Jin 968cfd9e65 tsdb/cache: pLastIter null pointer check 2023-07-24 11:03:07 +08:00
wade zhang 5f25d70fc2
Merge pull request #22154 from taosdata/enh/tsdb_optimize
fix(tsdb/cache): new next stt row state for fs tranverse
2023-07-24 10:47:51 +08:00
Haojun Liao 1367552f38 fix(stream): refactor the halt status to check more status. 2023-07-24 10:04:15 +08:00
Haojun Liao 6a19ad3127
Merge pull request #22151 from taosdata/fix/3_liaohj
fix(stream): set the correct flag of pause/resume.
2023-07-24 09:07:49 +08:00
Minglei Jin 13491fab95 tsdb/cache: new next stt row state for fs tranverse 2023-07-24 08:51:20 +08:00
Haojun Liao 0b6e1a12bb refactor: do some internal refactor. 2023-07-23 19:09:43 +08:00
Haojun Liao e387b2f932 refactor: do some internal refactor. 2023-07-23 18:59:34 +08:00
Haojun Liao 4e0f7ffbf8 fix(stream): set the correct flag of pause/resume. 2023-07-23 18:49:56 +08:00
Haojun Liao 321be1f83f
Merge pull request #22135 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2023-07-22 15:06:28 +08:00
Haojun Liao 9679cc4527 fix(stream): fix race condition. 2023-07-22 10:19:51 +08:00
Haojun Liao f4864b8713 fix(stream): fix memory leak. 2023-07-22 01:02:58 +08:00
Haojun Liao bfc4a07207 fix(stream): fix memory leak. 2023-07-22 00:20:02 +08:00
Haojun Liao 1b2636028a fix(stream): fix memory leak. 2023-07-21 23:05:42 +08:00
wangmm0220 8f15795cc1 fix:judge if pTopic is NULL 2023-07-21 19:47:31 +08:00
Haojun Liao 16d7707b90 fix(stream): align the scan real time data for stream task. 2023-07-21 19:33:43 +08:00
wade zhang 7b1e809d98
Merge pull request #21794 from taosdata/enh/tsdb_optimize
for test purpose
2023-07-21 14:18:32 +08:00
wangmm0220 bb86f5c580 fix:commit offset should not plus 1 2023-07-21 11:13:05 +08:00
wangmm0220 10ebf1f438 fix:subscribeStb.py maybe failed 2023-07-21 11:07:34 +08:00
liuyao 4451b2185a transform stream state 2023-07-21 10:32:53 +08:00
Ganlin Zhao 62b73db8bf fix: fix(value, null) output behavior 2023-07-21 10:19:41 +08:00
Ganlin Zhao 624b6b094f fix: fix(value, null) output behavior 2023-07-21 10:14:12 +08:00
Haojun Liao d0da988b7d Merge branch '3.0' into fix/3_liaohj 2023-07-21 09:47:44 +08:00
Haojun Liao 39ca9b537f fix(stream): fix syntax error 2023-07-21 09:43:08 +08:00
dapan1121 2ef01728ca
Merge pull request #22089 from wangjiaming0909/fix/3.0/TD-23763
feat: optimize partition by tbname slimit
2023-07-21 09:29:36 +08:00
dapan1121 d81727afa9
Merge pull request #22130 from taosdata/fix/TD-25270
enh: support show create table for system tables
2023-07-21 09:26:11 +08:00
Haojun Liao c9d75eab5a refactor: do some internal refactor. 2023-07-21 09:16:13 +08:00
Haojun Liao bd8b811b9d refactor: do some internal refactor. 2023-07-21 09:14:25 +08:00
Haojun Liao 0d1c4f9ee2 fix(stream): fix syntax error 2023-07-21 09:13:06 +08:00
Haojun Liao db46d31ca5 fix(stream): refactor the halt function. 2023-07-21 01:32:42 +08:00
wangmm0220 99c3ebc282 fix:optimize log & change return value for async interface 2023-07-20 18:28:21 +08:00
Ganlin Zhao 076a425d53 fix: fix show create table issue for system tables 2023-07-20 17:21:24 +08:00
Haojun Liao 9353f7c8cf refactor: do some internal refactor. 2023-07-20 16:35:02 +08:00
Haojun Liao c9fa170e65 refactor: do some internal refactor. 2023-07-20 16:31:46 +08:00
dapan1121 fde8eabfd7
Merge pull request #22111 from taosdata/szhou/tms-dev-2
enhance: table merge scan optimization
2023-07-20 16:28:29 +08:00
Haojun Liao 45cb478b31 refactor: do some internal refactor. 2023-07-20 15:36:46 +08:00
wangjiaming0909 7d850c1a5e feat: optimize partition by tbname slimit 2023-07-20 15:07:55 +08:00
slzhou 1a0031a43c enhance: uinfo to qdebug and increase pages num to 2048 2023-07-20 13:53:13 +08:00
slzhou 5d9f6fd481 fix: fix limit/offset bugs 2023-07-20 12:29:34 +08:00
Haojun Liao 87fa8f0c4c Merge branch '3.0' into fix/3_liaohj 2023-07-20 12:15:23 +08:00
Haojun Liao aed99da6c1 refactor: refactor the stream task starting order. 2023-07-20 12:14:53 +08:00
slzhou 30129f64da enhance: merge blocks of the same table before sort 2023-07-20 09:28:19 +08:00
liuyao 8a6ed67f9d fill history 2023-07-20 09:13:30 +08:00
Minglei Jin 48222f5dc3 tsdb/cache: move data file reader for fs iter to cache reader 2023-07-20 09:11:26 +08:00
liuyao ccc8142ab3 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2023-07-20 09:07:54 +08:00
Minglei Jin 6dd4ec41ae tsdb/cache cleanup: remove unused fs methods 2023-07-20 08:51:03 +08:00
Minglei Jin 7f0ea10573 Merge branch 'enh/tsdb_optimize' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-20 08:42:12 +08:00
Minglei Jin 46d6dcda3e tsdb/cache: reset skyline when clearing fileset 2023-07-20 08:41:32 +08:00
wangmm0220 e1c4cca33d feat:add committed & position & commite_offset interface 2023-07-20 00:07:04 +08:00
Haojun Liao bfcc538205 fix(tsdb):disable stt statistics. 2023-07-20 00:01:30 +08:00
wangmm0220 9378a0ef83 Merge branch 'main' of https://github.com/taosdata/TDengine into mark/tmq 2023-07-19 23:42:23 +08:00
wangmm0220 49c87a7cf6 feat:add committed & position & commite_offset interface 2023-07-19 19:14:18 +08:00
Haojun Liao 97c44e7c18 refactor: do some internal refactor. 2023-07-19 18:42:02 +08:00
Haojun Liao c30c53c3d2
Merge pull request #22120 from taosdata/fix/TD-25268
remove redundant results
2023-07-19 18:33:33 +08:00
wangmm0220 d7d81d82a0 feat:add committed & position & commite_offset interface 2023-07-19 18:27:19 +08:00
Minglei Jin ce71b8bbe7 Merge branch 'enh/tsdb_optimize' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-19 18:11:14 +08:00
Minglei Jin 4eaecd11de tsdb/cache: merge fs & stt row 2023-07-19 18:10:36 +08:00
dapan1121 ec04a5eff7
Merge pull request #22121 from taosdata/fix/TD-25236-3.0a
fix: auth check for sys table when user is disabled
2023-07-19 18:03:50 +08:00
dapan1121 cbe03ef212
Merge pull request #22069 from taosdata/enh/TS-2288
enh: add scope for show xx variables
2023-07-19 18:01:11 +08:00
wangmm0220 5cb35f2fa6 feat:add committed & position & commite_offset interface 2023-07-19 17:29:39 +08:00
liuyao af18afba9d fill history 2023-07-19 17:19:55 +08:00
Haojun Liao 37ae80d135 fix(tsdb): fix memory leak. 2023-07-19 16:42:51 +08:00
wade zhang 0c0acd931f
Merge pull request #22117 from taosdata/fix/TS-3589
fix/TS-3589
2023-07-19 16:25:16 +08:00
liuyao c7e4aa4f77 set win range 2023-07-19 15:51:22 +08:00
kailixu 8e06a75d24 fix: auth check for sys table when user is disabled 2023-07-19 15:28:59 +08:00
tangfangzhi 69fae62003 error message 2023-07-19 15:04:39 +08:00
Haojun Liao d82fb45a4f Merge remote-tracking branch 'origin/enh/tsdb_optimize' into enh/tsdb_optimize 2023-07-19 15:01:37 +08:00
Haojun Liao a84efab2c8 enh(tsdb): add table filter according to stt block statistics data. 2023-07-19 15:01:25 +08:00
liuyao 8481725517 remove redundant results 2023-07-19 14:58:28 +08:00
slzhou d1a1976aa4 enhance: add limit to merge sort 2023-07-19 13:59:43 +08:00
Minglei Jin 913cfe43e8 tsdb/cache: remove input[3] 2023-07-19 12:20:54 +08:00
Minglei Jin 7a716d452e tsdb/fs2: fix vnode get primary dir args 2023-07-19 11:36:26 +08:00
Ganlin Zhao 9388653bcb fix scope 2023-07-19 11:29:41 +08:00
Minglei Jin 4b96bc7147
Merge branch '3.0' into enh/tsdb_optimize 2023-07-19 11:15:57 +08:00
Shungang Li 1d88a6a7c6 enh: ttlMgrFlush adjust log level 2023-07-19 11:15:54 +08:00
Minglei Jin 185081a948 tsdb/fsreader: clear last fileset's resources 2023-07-19 11:04:28 +08:00
tangfangzhi 4cdfd0e1e8 conflict 2023-07-19 10:50:46 +08:00
slzhou b9aeda263c fix: fix ubsan error of null argument 2023-07-19 09:48:52 +08:00
wade zhang c3e5375f15
Merge pull request #22085 from taosdata/FEAT/TS-2699-3.0
feat: distribute vnode primary dirs among disks of level 0
2023-07-19 09:44:43 +08:00
wangmm0220 5c344b0159 fix:conflicts from main 2023-07-19 09:05:05 +08:00
Haojun Liao 5c75883069
Merge pull request #22112 from taosdata/fix/3_liaohj
fix(stream): set downstream task ready state.
2023-07-18 22:02:18 +08:00
yihaoDeng de4efca56f update ip 2023-07-18 12:12:56 +00:00
wangmm0220 e812a659a8 fix:add tmq_position() interface & optimize commit logic 2023-07-18 19:30:40 +08:00
Haojun Liao 40411fcd01 Merge branch '3.0' into fix/3_liaohj 2023-07-18 19:27:15 +08:00
Haojun Liao 2bb5ac9473
Merge pull request #22110 from taosdata/fix/TD-25263
reset state key memory
2023-07-18 19:26:53 +08:00
Haojun Liao 9513f76172 fix(stream): set downstream task ready state. 2023-07-18 19:02:24 +08:00
wade zhang 5f6afc6661
Merge pull request #22107 from taosdata/fix/TD-25232
fix/TD-25232: alter keeptimeoffset by 'k v' or 'k' 'v'
2023-07-18 18:30:30 +08:00
liuyao caa4503352 reset state key memory 2023-07-18 18:02:39 +08:00
Haojun Liao 0d922c0d66
Merge pull request #22095 from taosdata/fix/TS-3672
fix:add sdbFetchCancel to release hash node
2023-07-18 17:52:01 +08:00
Minglei Jin a127e91534 tsdb/cache skyline: first round implementation of cache skyline 2023-07-18 17:17:06 +08:00
Benguang Zhao 224f90761e fix: set wrapperCfg.diskPrimary in vmProcessAlterVnodeTypeReq 2023-07-18 16:57:52 +08:00
slzhou 4348b9c51d fix: use uinfo to show on stdout 2023-07-18 16:47:31 +08:00
Shungang Li dfaf9134c6 fix: alter keeptimeoffset by 'k v' or 'k' 'v' 2023-07-18 16:04:38 +08:00
slzhou f79fc81d9c fix: add to page buf in the same way as single source sort 2023-07-18 15:46:38 +08:00
Benguang Zhao 02f4613154 enh: report VND_INIT_FAILED on vnodes open failure in vmOpenVnodes 2023-07-18 15:44:51 +08:00
Benguang Zhao 2faa3d2e7b enh: check validity of diskPrimary during vnodeOpen 2023-07-18 15:39:29 +08:00
Hui Li d3441b9f37
Merge pull request #22103 from taosdata/test_main/lihui
test: add tmq seek case
2023-07-18 15:34:42 +08:00
Minglei Jin 9f9efe9a5e tsdb/cache reader: remove dataf & dataf last readers 2023-07-18 15:30:31 +08:00
wangmm0220 08c50dfbb4 fix:add sdbFetchCancel to release hash node 2023-07-18 15:21:35 +08:00
wangmm0220 2c80d7e621 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3672 2023-07-18 14:59:06 +08:00
wade zhang d1835c868b
Merge pull request #22101 from taosdata/fix/TD-25179
fix/TD-25179
2023-07-18 14:33:01 +08:00
plum-lihui 745ab09b1b test: add tmq seek case 2023-07-18 14:30:19 +08:00
Benguang Zhao 24fed51137 enh: tfsRename dir on primary disk at last 2023-07-18 13:58:43 +08:00
dapan1121 c2245a3546
Merge pull request #22100 from taosdata/fix/TD-25241
fix: fix interval in nested query filter not applied
2023-07-18 13:52:35 +08:00
Ganlin Zhao 73177696a7 fix mac compile error 2023-07-18 12:59:08 +08:00
Ganlin Zhao 0a5439e3c9 fix test case 2023-07-18 11:38:40 +08:00
Benguang Zhao 5624ecc8df fix: prepare vnode dir recursively in vnodeCreate 2023-07-18 11:32:23 +08:00
Benguang Zhao 6b6b7d8d8f enh: alloc disk of vnode primary dir in vmAllocPrimaryDisk 2023-07-18 11:32:23 +08:00
dmchen 97a81bd8ed fix/TD-25179 2023-07-18 11:27:01 +08:00
slzhou 97a6e89d11 enhance: refactor create initial sources 2023-07-18 10:38:40 +08:00
Ganlin Zhao 94b13df641 fix: fix interval in nested query filter not applied 2023-07-18 10:36:07 +08:00
wangmm0220 6c35081507 fix:add sdbFetchCancel to release hash node 2023-07-18 09:54:35 +08:00
wade zhang 7e89622149
Merge pull request #22092 from taosdata/fix/TD-25232
fix/TD-25232: alter dnode keeptimeoffset err
2023-07-18 09:10:40 +08:00
dapan1121 73c6666e62
Merge pull request #22096 from taosdata/fix/TD-25210-3.0
fix: add sma option when show create table for stb/ntb
2023-07-18 09:09:49 +08:00
kailixu 52c56f4bd7 chore: support non sma option () if supported 2023-07-17 22:40:22 +08:00
kailixu cf39fcdd12 fix: add sma option when show create table for stb/ntb 2023-07-17 22:24:27 +08:00
slzhou ba2b404295 enhance: optimize msortComparFn for table merge scan 2023-07-17 21:07:55 +08:00
wangmm0220 da9e30434a fix:add sdbFetchCancel to release hash node 2023-07-17 20:21:23 +08:00
wangmm0220 8d8e12ee0d fix:add sdbFetchCancel to release hash node 2023-07-17 20:20:34 +08:00
wangmm0220 872222eb77 fix:[TD-25222] error in drop topic if topic num is too long 2023-07-17 19:52:07 +08:00
Minglei Jin 998fbe574d tsdb/cache reader: move suid into reader's info field 2023-07-17 19:10:33 +08:00
Shungang Li 1d0c73feb6 fix: alter dnode keeptimeoffset err 2023-07-17 18:37:00 +08:00
Minglei Jin 463b5b608b tsdb/read2: fix null pointer runtime error 2023-07-17 18:35:56 +08:00
Minglei Jin 62cfda1a88 tsdb/read2: fix UAF 2023-07-17 17:35:08 +08:00
dapan1121 3c7924ed8d
Merge pull request #22081 from taosdata/enh/TD-24920-3.0
enh: dm monitor refactor
2023-07-17 17:12:50 +08:00
slzhou 1b9754f1bc enhance: add log with info level. change to debug later 2023-07-17 16:18:06 +08:00
Ganlin Zhao 929db3d647 Merge branch '3.0' into enh/TS-2288 2023-07-17 16:09:07 +08:00
Ganlin Zhao 13e6a04e8f fix scope 2023-07-17 15:56:21 +08:00
Ganlin Zhao 707be3a6fe unify scope for client/system/server configs 2023-07-17 15:53:08 +08:00
Minglei Jin 832b68e17d tsdb/cache: load mem del data 2023-07-17 15:48:08 +08:00
Minglei Jin a05383e29e tsdb/cache: new load tomb callback from tsdb mergetree 2023-07-17 15:07:10 +08:00
slzhou 655233fd4f fix: create initial source with blocks 2023-07-17 15:05:30 +08:00
Minglei Jin 27b8671f97 tsdb/cache: new cacheReader field for tsdb & cache reader 2023-07-17 14:27:27 +08:00
dapan1121 2822245a37
Merge pull request #22076 from wangjiaming0909/fix/m/TD-25199
fix: create sma index for us/ns database failed
2023-07-17 14:21:57 +08:00
Minglei Jin 9b0b4061e0 tsdb/cache: relayout cache row reader 2023-07-17 14:16:54 +08:00
Benguang Zhao b21e603481 enh: add the field diskPrimary to vnodeGetPrimaryDir, and entries of vnodes.json 2023-07-17 11:48:48 +08:00
dapan1121 bcadc8d85b
Merge pull request #22070 from wangjiaming0909/fix/m/TS-3671
fix: state/session/event window with order by _wstart/_wend has no effect
2023-07-17 10:06:16 +08:00
kailixu 0e6b982682 chore: more code 2023-07-17 09:19:24 +08:00
wangjiaming0909 ee7c8289aa fix: create sma index for us/ns database failed 2023-07-17 09:02:30 +08:00
Minglei Jin 8263c49c17 tsdb/cache: fix compilation 2023-07-17 09:00:17 +08:00
Minglei Jin 2b21c5e0f6 tsdb2: adapt cache with tsdb2 API 2023-07-17 08:50:54 +08:00
shenglian zhou 9a0e9df567 enhance: block is ts sorted and each book is a source 2023-07-16 23:39:41 +08:00
slzhou f93af4d2e0 enhance: pass simple test 2023-07-16 20:28:54 +08:00
shenglian zhou 8b6d7db7ad enhance: use one tsdb reader to read table sequentially 2023-07-16 17:54:39 +08:00
kailixu 3ab2ad20b4 chore: more check 2023-07-16 10:23:39 +08:00
kailixu 0bfc1cc920 chore: windows check 2023-07-16 10:13:17 +08:00
kailixu 918d3cca0c chore: more check 2023-07-16 07:13:53 +08:00
kailixu 3fd349d165 chore: null check 2023-07-14 19:30:31 +08:00
kailixu 9117888853 chore: more code 2023-07-14 19:19:46 +08:00
wade zhang c2b3c2db52
Merge pull request #22066 from taosdata/fix/TD-25215-main
fix/TD-25215: ttlMgrDeleteTtl should ignore ttl 0 tables for main
2023-07-14 17:53:25 +08:00
wade zhang 021fcf2a59
Merge pull request #22059 from taosdata/fix/TD-25215
fix/TD-25215: ttlMgrDeleteTtl should ignore ttl 0 tables
2023-07-14 17:53:06 +08:00
Haojun Liao da0bd2a681
Merge pull request #22067 from taosdata/fix/coverity_scan
fix coverity scan problem
2023-07-14 16:54:17 +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
Hongze Cheng 145c43e346 little fix 2023-07-14 16:38:35 +08:00
wangjiaming0909 b850c1af47 fix: state/session/event window with order by _wstart/_wend has no effect 2023-07-14 16:03:59 +08:00
Ganlin Zhao b402782784 add scope for information_schema.ins_dnode_variables 2023-07-14 15:56:29 +08:00
Haojun Liao 572d9d25d9
Merge pull request #22063 from taosdata/fix/TD-25201
sma not support multiple replicas
2023-07-14 15:21:34 +08:00
yihaoDeng 49b21b3ccb fix coverity scan problem 2023-07-14 14:53:11 +08:00
yihaoDeng 2279706357 fix coverity scan problem 2023-07-14 14:49:02 +08:00
yihaoDeng e16a3935a5 fix coverity scan problem 2023-07-14 14:40:32 +08:00
Ganlin Zhao cdb3453812 add show local variables scope 2023-07-14 14:38:35 +08:00
Shungang Li a48d359f8b fix: ttlMgrDeleteTtl should ignore ttl 0 tables 2023-07-14 14:37:17 +08:00
Ganlin Zhao 7935d824b6 enhance show variables output 2023-07-14 13:57:02 +08:00
Hongze Cheng 25120cede4 fix sma merge error 2023-07-14 13:46:01 +08:00
Markus Mayer 55ee9d6c25
Correct some typos in string literals (#22062) 2023-07-14 13:39:03 +08:00
kailixu 163adf1908 chore: dm monitor refactor 2023-07-14 13:27:19 +08:00
liuyao 52f749f8cc sma not support multiple replicas 2023-07-14 10:36:32 +08:00
Hongze Cheng 5a89b96e91 make compile 2023-07-14 10:21:06 +08:00
Hongze Cheng 1fad69df3b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-14 10:13:15 +08:00
dapan1121 1a19d29eee
Merge pull request #22060 from taosdata/fix/TD-25209
fix: reset interpolation buffer after last valid row for interval + fill(next)
2023-07-14 09:30:56 +08:00
Haojun Liao eb8554da1e
Merge pull request #22058 from taosdata/mark/tmq
fix:windows compile error
2023-07-13 19:33:42 +08:00
kailixu 11a338fc38 chore: enable sysInfo update 2023-07-13 19:30:19 +08:00
dapan1121 9bf7180074
Merge pull request #21969 from taosdata/enh/TD-23769-3.0
enh: rsma stream state adaption
2023-07-13 19:19:37 +08:00
Ganlin Zhao a7af4d9348 fix: reset interpolation buffer after last valid row for interval + fill(next) 2023-07-13 18:18:26 +08:00
Haojun Liao e0ea0f2df4
Merge pull request #22020 from taosdata/fix/liaohj
other: merge main
2023-07-13 17:55:28 +08:00
Shungang Li a39a9428af fix: ttlMgrDeleteTtl should ignore ttl 0 tables 2023-07-13 17:43:32 +08:00
Benguang Zhao 81a2cd16e7 enh: unify handling of vnode primary dir in current_fname 2023-07-13 17:37:53 +08:00
kailixu 6ee135cb52 chore: more code 2023-07-13 17:37:31 +08:00
kailixu 67461d92a7 chore: merge 3.0 and solve conflict 2023-07-13 17:35:55 +08:00
Hongze Cheng d81d2790ea Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-13 17:20:45 +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 e2ae868377
Merge pull request #22032 from taosdata/mark/tmq
fix:set firset version to reqOffset of response
2023-07-13 16:35:21 +08:00
Haojun Liao 66d577d134 fix(stream): abort exec when task is dropped. 2023-07-13 15:04:39 +08:00
wade zhang ec86a68b6f
Merge pull request #22045 from taosdata/FEAT/TS-2699-3.0
enh: unify handling of vnode primary dir for vnd, tsdb and sma
2023-07-13 13:55:46 +08:00
Benguang Zhao dc75f7ce21 enh: use VNODE_RSMA_DIR in tdRSmaGetCurrentFName 2023-07-13 11:27:31 +08:00
Haojun Liao f41bcd73b0 other: merge main. 2023-07-13 11:02:09 +08:00
Benguang Zhao e209b487c6 enh: rename func name vnodeGetPrimaryDir 2023-07-13 10:38:05 +08:00
dapan1121 c5e41bffea
Merge pull request #22051 from taosdata/fix/TD-25197-M
fix: skip primary key for block sma
2023-07-13 09:55:29 +08:00
dapan1121 424c3d39fb
Merge pull request #22048 from taosdata/feat/TD-25003
feat: add new syntax for show tags/index/table tags
2023-07-13 09:46:11 +08:00
kailixu 466f1037b4 Merge branch '3.0' into enh/TD-23769-3.0 2023-07-12 18:50:16 +08:00
Haojun Liao c388802bda
Merge pull request #22024 from taosdata/fix/3_liaohj
fix(stream): fix concurrent bug in save task meta.
2023-07-12 18:17:27 +08:00
kailixu 8f58f9aa5b fix: skip primary key for block sma 2023-07-12 18:07:01 +08:00
Benguang Zhao b7e134af20 enh: remove unused code in vmProcessCreateVnodeReq 2023-07-12 17:58:30 +08:00
Benguang Zhao 05e8af4837 enh: unify handling of vnode primary dir for vnd and tsdb 2023-07-12 17:58:18 +08:00
Benguang Zhao 4c3bf41178 enh: unify handling of vnode primary dir for sma 2023-07-12 17:56:21 +08:00
Benguang Zhao bbf58d2d9d enh: unify handling of vnode primary dir in vnodeCreate and metaOpen 2023-07-12 17:56:21 +08:00
wangmm0220 cf64d4c9c5 fix:set get_assignment offset to first version of response block 2023-07-12 17:22:23 +08:00
dapan1121 83dbc9be6c
Merge pull request #22043 from taosdata/fix/TD-25169
fix: report permission error when all columns are invisiable
2023-07-12 16:27:37 +08:00
dapan1121 98cd94505f
Merge pull request #22031 from taosdata/enh/TS-2500
enh: add show create database command for system dbs
2023-07-12 16:26:53 +08:00
Ganlin Zhao b058f3c881 add syntax for show tags/index/table tags from db.tb 2023-07-12 13:50:17 +08:00
Hongze Cheng 3fc282f035 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-12 11:57:19 +08:00
dapan1121 75c250f503 fix: report permission error when all columns are invisiable 2023-07-12 11:49:57 +08:00
dapan1121 604b76635d fix: set ins_snodes to be sysinfo 2023-07-12 11:38:56 +08:00
Ganlin Zhao 5ec94c0697 add syntax for show tags/index/table tags from db.tb 2023-07-12 11:06:47 +08:00
wade zhang 71627235ae
Merge pull request #22012 from taosdata/fix/TS-3589
fix/TS-3589
2023-07-12 10:50:00 +08:00
kailixu 8cb6356b99 chore: more code 2023-07-12 10:47:02 +08:00
kailixu f282acbc4c chore: rsma refactor 2023-07-12 10:13:50 +08:00
kailixu 8c8bcabdd4 Merge branch '3.0' into enh/TD-23769-3.0 2023-07-12 09:11:34 +08:00
wade zhang 2cfdd234b3
Merge pull request #22034 from taosdata/feat/TS-3239
feat/TS-3239/TS-3596: port 'keepTimeOffset' from 2.6 to 3.0
2023-07-12 08:18:38 +08:00
Haojun Liao fed3803739 fix(stream): fix memory leak. 2023-07-11 19:29:52 +08:00
kailixu ba0bce8092 chore: code revert 2023-07-11 18:52:51 +08:00
kailixu 30f8c9c79e chore: more check 2023-07-11 18:08:48 +08:00
Shungang Li 4886cb4674 feat: port 'keepTimeOffset' from 2.6 to 3.0 2023-07-11 17:40:35 +08:00
dapan1121 693e34ccf3
Merge pull request #22028 from wangjiaming0909/opt/3.0/TD-25006
feat: 1. add limit for diskBasedBuf
2023-07-11 16:45:11 +08:00
kailixu 7c85f7701d chore: more check 2023-07-11 16:32:29 +08:00
Ganlin Zhao c3cc217bd0 Merge branch '3.0' into enh/TS-2500 2023-07-11 16:24:16 +08:00
wangmm0220 8dd7f36993 fix:set firset version to reqOffset of response 2023-07-11 16:19:38 +08:00
dapan1121 e7e923a396
Merge pull request #22017 from taosdata/enh/TD-25083-3.0
enh: exclude tk_log from timeseries check
2023-07-11 16:12:30 +08:00
wangmm0220 574010e067 fix:set firset version to reqOffset of response 2023-07-11 16:06:19 +08:00
wangmm0220 7bc19df0ef fix:set firset version to reqOffset of response 2023-07-11 15:48:19 +08:00
Haojun Liao 2e386a6fdf fix(stream): check if stream task is in normal state. 2023-07-11 15:23:49 +08:00
Haojun Liao da6a4de021 fix(stream): disable invalid set normal task status. 2023-07-11 15:12:34 +08:00
wangmm0220 cb62d4cb97 fix:set firset version to reqOffset of response 2023-07-11 14:49:53 +08:00
wangjiaming0909 1d7515213b feat: 1. add limit for diskBasedBuf
2. use referenced tuple before actually pushing into pq
3. use limitInfo instead of maxRows in sort pyhsical node
2023-07-11 14:16:20 +08:00
Ganlin Zhao 6efa688c15 remove trailing space 2023-07-11 14:12:02 +08:00
Haojun Liao 6d78816d22 fix(stream): fix syntax error. 2023-07-11 14:06:25 +08:00
kailixu 314123ef34 chore: add check 2023-07-11 14:05:09 +08:00
Ganlin Zhao 48bc377233 add show command for system db 2023-07-11 13:56:02 +08:00
kailixu d37a760655 Merge branch '3.0' into enh/TD-23769-3.0 2023-07-11 13:50:17 +08:00
kailixu d5435926c2 chore: more code 2023-07-11 12:37:01 +08:00
Haojun Liao 27eabb3da9 fix(tmq): fix tmq syntax error. 2023-07-11 12:05:49 +08:00
Shungang Li 8f91da24e4 fix: type convert failure returns errcode
TSDB_CODE_SCALAR_CONVERT_ERROR:
"Cannot convert to specific type"
2023-07-11 10:20:50 +08:00
Ganlin Zhao e828aec432 Merge branch '3.0' into enh/TD-23677 2023-07-11 10:05:59 +08:00
Haojun Liao a803eaee3e fix(stream): fix concurrent bug in save task meta. 2023-07-11 10:01:43 +08:00
wade zhang 13bc1e744e
Merge pull request #21963 from luckeverda/fix/TD-24473-new
fix/TD-24473
2023-07-11 09:32:25 +08:00
Haojun Liao 0e9b9b3a44
Merge pull request #22007 from taosdata/mark/tmq
fix:can not do assignment if in tsdb mode & do not commit if seek offset
2023-07-11 09:17:22 +08:00
Haojun Liao 3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
kailixu 14b438ec64 chore: bug fix 2023-07-11 07:02:36 +08:00
kailixu f391462e34 chore: more code 2023-07-10 20:01:50 +08:00
kailixu 57ceaed535 chore: code revert 2023-07-10 19:55:01 +08:00
kailixu f16fa6d000 enh: exclude tk log from time series check 2023-07-10 19:48:50 +08:00
wangmm0220 31a8af9e50 fix:do not commit offset if seek offset 2023-07-10 19:12:50 +08:00
Hongze Cheng 7014f790a0 optmize table statistic info 2023-07-10 17:35:26 +08:00
Ganlin Zhao b9c3ee387e remove wal_roll_period/wal_retention_size from
information_schema.ins_databases
2023-07-10 16:16:27 +08:00
Ganlin Zhao 3270f76aba remove wal_roll_period/wal_segment_size from show create database
commands
2023-07-10 15:56:39 +08:00
wangmm0220 8e011c46c9 fix:can not do assignment if in tsdb mode 2023-07-10 15:07:20 +08:00
dmchen 0a86523bcb fix/TS-3589 2023-07-10 14:58:28 +08:00
dapan1121 39a58c354d
Merge pull request #22008 from taosdata/fix/TS-3648
fix: fix interp fill value unsigned type not being handled
2023-07-10 14:50:23 +08:00
dapan1121 92ddf015da
Merge pull request #22009 from taosdata/fix/TS-3058
enh: add procedures on server for udf/udaf in nested queries where outer query is
2023-07-10 14:49:19 +08:00
wangmm0220 dabaefe3e2 Merge branch 'main' of https://github.com/taosdata/TDengine into mark/tmq 2023-07-10 14:47:10 +08:00
Hongze Cheng b3e7dd5a62 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-10 13:46:56 +08:00
Haojun Liao f0ec962566
Merge pull request #22004 from taosdata/fix/liaohj
fix(stream): add missing status check.
2023-07-10 13:28:00 +08:00
Ganlin Zhao edc2a3a780 fix an issue 2023-07-10 11:35:29 +08:00
Ganlin Zhao f7608ce92d remove udfd agg function handling 2023-07-10 11:35:03 +08:00
Ganlin Zhao 19d4c79ac6 return error code of udf execution failure 2023-07-10 11:34:49 +08:00
Ganlin Zhao cde9eac954 enh: add procedures on server for udf/udaf in nested queries where outer query is
constant table
2023-07-10 11:34:32 +08:00
Ganlin Zhao 05f26a842b fix: fix interp fill value unsigned type not being handled 2023-07-10 11:28:39 +08:00
wangmm0220 9648117454 fix:can not do assignment if in tsdb mode 2023-07-10 11:28:30 +08:00
dapan1121 f505993d05 fix: catalog append subtask issue 2023-07-10 11:23:38 +08:00
dapan1121 4c3f22f2fc
Merge pull request #21975 from taosdata/enh/TD-24745
enh: add procedures for udf scalar function in nested queries where outer query is constant table
2023-07-10 10:39:16 +08:00
Haojun Liao 9ad5e05751 fix(stream): fix error in checking status. 2023-07-10 10:24:04 +08:00
Haojun Liao e8eba3175a fix(stream): fix error in checking status. 2023-07-10 10:23:05 +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
Hongze Cheng 8ca0dbd2a2 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-10 10:19:26 +08:00
dapan1121 977f28e750
Merge pull request #21984 from taosdata/fix/td-24871
fix: ask jemalloc to use background_threads to return vm to os
2023-07-10 10:16:07 +08:00
Haojun Liao dd15ca6103 fix(stream): add missing status check. 2023-07-10 10:06:21 +08:00
Shungang Li 8de31219b4 fix: type convert failure returns errcode
TSDB_CODE_SCALAR_CONVERT_ERROR:
"Cannot convert to specific type"
2023-07-10 09:29:29 +08:00
Ganlin Zhao 340e4de30d fix an issue 2023-07-10 09:12:21 +08:00
kailixu 802112c00a chore: more code 2023-07-09 21:49:37 +08:00
wangmm0220 8904f3857b fix:seek failed in initilized status 2023-07-09 19:16:19 +08:00
Haojun Liao 98349a4265 refactor(tsdb): do some internal refactor. 2023-07-09 18:05:24 +08:00
kailixu 9e1912b143 Merge branch '3.0' into enh/TD-23769-3.0 2023-07-09 16:30:47 +08:00
kailixu a7253fc390 Merge branch '3.0' into enh/TD-25083-3.0 2023-07-09 16:04:38 +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 a5363e6e03 fix:test case in tmq 2023-07-09 12:49:50 +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
Haojun Liao ba4d726af6 fix(tsdb): fix error in tsdbread. 2023-07-09 01:31:02 +08:00
Haojun Liao b39198a53a refactor: do some internal refactor. 2023-07-08 21:44:58 +08:00
Haojun Liao 1470e51dc1 Merge remote-tracking branch 'origin/enh/tsdb_optimize' into enh/tsdb_optimize 2023-07-08 21:25:24 +08:00
Haojun Liao 14844c7b4b refactor(tsdb): opt tsdb read perf 2023-07-08 21:25:11 +08:00
Haojun Liao ae5a7913eb
Merge pull request #22002 from taosdata/mark/tmq
fix:return offset stored if get assignment in init mode
2023-07-08 16:43:44 +08:00
wangmm0220 f9f656b21a fix:return offset stored if get assignment in init mode 2023-07-08 13:25:39 +08:00
Haojun Liao 9da937ada5
Merge pull request #22001 from taosdata/fix/liaohj
fix(stream): fix bug that causes the endless loop.
2023-07-08 08:47:41 +08:00
Haojun Liao ab4e2ebc3a fix(stream): fix bug that causes the endless loop. 2023-07-07 21:45:22 +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
kailixu a746d288a1 chore: add debug info 2023-07-07 18:53:01 +08:00
wangmm0220 106e273157 fix:bugs in get_assignment 2023-07-07 16:12:15 +08:00
dapan1121 d1c51a41a8
Merge pull request #21992 from taosdata/fix/TD-24959
fix: fix coverity scan issues
2023-07-07 14:20:08 +08:00
wade zhang bf80771d07
Merge pull request #21983 from taosdata/fix/TD-25150
fix(tdb/recycling): delay freedb's own page recycling until balance done
2023-07-07 13:19:10 +08:00
wade zhang 0865b1a828
Merge pull request #21973 from luckeverda/fix/TD-25074-main
fix/TD-25074 for main
2023-07-07 11:24:33 +08:00
Hongze Cheng 090ca39132 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-07 10:38:04 +08:00
dapan1121 a99fac031c fix: fix coverity scan issues 2023-07-07 10:25:48 +08:00
dapan1121 3aa5b7d3e6
Merge pull request #21985 from taosdata/fix/TS-3636
fix: desc table without permission to view any column issue
2023-07-07 10:24:50 +08:00
kailixu cb8b10f6a2 Merge branch '3.0' into enh/TD-23769-3.0 2023-07-07 10:19:43 +08:00
kailixu 64ef48e0dd Merge branch '3.0' into enh/TD-23769-3.0 2023-07-07 10:17:25 +08:00
kailixu 06c52af2c2 enh: exclude tk_log from timeseries check 2023-07-07 10:14:37 +08:00
dapan1121 e7ced3e9cc fix: desc table without permission to view any column issue 2023-07-07 09:04:44 +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
Haojun Liao 6582a3b4ba
Merge pull request #21980 from taosdata/refact/fillhistory
fix(stream): fix error during transferring executor state
2023-07-07 08:58:57 +08:00
dapan1121 328104a15a
Merge pull request #21971 from wangjiaming0909/fix/3.0/TD-25068
refine select interval from sys table error msg
2023-07-07 08:40:06 +08:00
dapan1121 203ae21a84
Merge pull request #21915 from wangjiaming0909/feature/3.0/TD-24992
feature: get last timestamp before create sma index
2023-07-07 08:39:09 +08:00
shenglian zhou 74d05af3ca fix: ask jemalloc to use background_threads to return vm to os 2023-07-07 08:34:19 +08:00
wade zhang 47a7a45d1d
Merge pull request #21978 from taosdata/fix/TD-24962
fix(coverity): fix coverity scan issues
2023-07-07 08:20:07 +08:00
Minglei Jin 4cc3a55426 fix(tdb/recycling): delay freedb's own page recycling until balance done 2023-07-07 08:19:50 +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
Haojun Liao 50c5dbffe2
Merge pull request #21976 from taosdata/fix/TS-3611
fix:race condition for pTq->pStore->pHash
2023-07-06 19:18:25 +08:00
Haojun Liao 8fd49013f2
Merge pull request #21977 from taosdata/mark/tmq
fix:null pointer error
2023-07-06 19:18:10 +08:00
Haojun Liao 4f814db5d5 fix(stream): fix error during transferring executor state, while a task is not in normal status. 2023-07-06 18:34:01 +08:00
yihaoDeng 3bd99776d2 add rpc version check 2023-07-06 18:03:15 +08:00
Minglei Jin 09222801c4 fix(coverity): fix coverity scan issues 2023-07-06 17:52:48 +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 f1ce91f600 fix:race condition for pTq->pStore->pHash 2023-07-06 16:49:59 +08:00
wangmm0220 9e6e59adc2 fix:race condition for pTq->pStore->pHash 2023-07-06 16:47:48 +08:00
Ganlin Zhao 365993d775 remove udfd agg function handling 2023-07-06 16:11:41 +08:00
wade zhang 4fa61b9eae
Merge pull request #21699 from taosdata/fix/TD-24717
enh(tdb/recycle): first round implemenation of page recycling
2023-07-06 16:03:03 +08:00
Shungang Li a31e054146 fix: ttlmgr convert in metaUpgrade 2023-07-06 15:47:32 +08:00
Shungang Li a1a2b8331f fix: ttl fill cache only in initialization 2023-07-06 15:47:32 +08:00
wade zhang 84740e96ee
Merge pull request #21939 from luckeverda/fix/TD-25074
fix/TD-25074
2023-07-06 15:44:22 +08:00
Haojun Liao a94ace4cc8 refactor:do some internal refactor. 2023-07-06 15:10:45 +08:00
Ganlin Zhao d4e07c551e return error code of udf execution failure 2023-07-06 15:05:49 +08:00
Ganlin Zhao b734506363 enh: add procedures on server for udf/udaf in nested queries where outer query is
constant table
2023-07-06 14:54:01 +08:00
yihaoDeng 5e156aa0a9 add ver check 2023-07-06 06:43:07 +00:00
yihaoDeng d061c54a18 add ver check 2023-07-06 06:41:06 +00:00