Commit graph

11985 commits

Author SHA1 Message Date
Haojun Liao
1c1bf63e1f other: merge 3.0 2023-07-25 18:17:11 +08:00
wade zhang
02bc1b2a8f
Merge pull request #22186 from taosdata/fix/TD-25315
fix(tsdb/del): continue committing fileset if more del left
2023-07-25 17:41:30 +08:00
Haojun Liao
0bdccd2681 refactor: do some internal refactor. 2023-07-25 17:31:54 +08:00
Minglei Jin
7bfb4e0f88 fix(tsdb/del): continue committing fileset if more del left 2023-07-25 16:42:45 +08:00
wangmm0220
a3614ca5d2 fix:add assert if exception occurs 2023-07-25 16:18:11 +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
d29f835a63 fix(stream): set the correct step2 scan time window range. 2023-07-25 15:09:22 +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
wade zhang
2bf84c2676
Merge pull request #22179 from taosdata/FIX/TS-3702-3.0
enh: compatibility between getFileNamePrefix and tsdbTFileName
2023-07-25 14:26:14 +08:00
Benguang Zhao
01f45b2a99 enh: compatibility between getFileNamePrefix and tsdbTFileName 2023-07-25 11:35:35 +08:00
Minglei Jin
1bce96ea27 fix(tsdb/pageSize): use tsdbPageSize instead of szPage(tdb's) 2023-07-25 10:46:03 +08:00
wade zhang
7ea9cf1ddc
Merge pull request #22166 from taosdata/fix/TD-24422
fix(tsdb/cache): reuse data file reader
2023-07-25 10:28:59 +08:00
Haojun Liao
96722a07b1
Merge pull request #22174 from taosdata/fix/3_liaohj
fix(stream): fix the invalid check of step2 .
2023-07-25 00:30:06 +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
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
Haojun Liao
01f11bf5a6 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2
# Conflicts:
#	source/common/src/tglobal.c
#	source/libs/executor/src/timewindowoperator.c
2023-07-24 15:25:43 +08:00
Haojun Liao
1e34f84f78 other: merge 3.0 2023-07-24 15:23:03 +08: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
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
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
dmchen
7d480cf3ac compatible old sync config 2023-07-21 10:31:53 +08:00
liuyao
d45563684b
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-21 10:23:41 +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
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
db46d31ca5 fix(stream): refactor the halt function. 2023-07-21 01:32:42 +08:00
yihaoDeng
519d3b74d1 fix stream state transfer 2023-07-20 09:51:18 +00: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
Haojun Liao
45cb478b31 refactor: do some internal refactor. 2023-07-20 15:36:46 +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
yihaoDeng
6e5be0d30e fix stream state transfer 2023-07-20 03:49:32 +00:00
Minglei Jin
48222f5dc3 tsdb/cache: move data file reader for fs iter to cache reader 2023-07-20 09:11:26 +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
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
yihaoDeng
733db123ad refactor code 2023-07-19 13:24:59 +00:00
Haojun Liao
97c44e7c18 refactor: do some internal refactor. 2023-07-19 18:42:02 +08:00
wangmm0220
d7d81d82a0 feat:add committed & position & commite_offset interface 2023-07-19 18:27:19 +08:00
Yihao Deng
91a15fd7bd
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-19 18:14:08 +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
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
Haojun Liao
37ae80d135 fix(tsdb): fix memory leak. 2023-07-19 16:42:51 +08:00
dmchen
8062d603b7 restore old change replica 2023-07-19 15:35:37 +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
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
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
dm chen
141004bf77
Merge branch '3.0' into feat/TD-22970 2023-07-19 10:57:40 +08:00
tangfangzhi
4cdfd0e1e8 conflict 2023-07-19 10:50:46 +08:00
yihaoDeng
b1f3dfe88f Merge branch 'enh/triggerChpt' into enh/triggerCheckPoint2 2023-07-19 02:17:42 +00:00
yihaoDeng
34c2e6a180 forbidden streamsnapshot reader 2023-07-19 02:15:12 +00:00
Haojun Liao
a32c650248 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-07-19 10:05:48 +08:00
Haojun Liao
2ae95217bd fix(stream): open inputQ by default for task deployed on snode. 2023-07-19 10:05:35 +08:00
liuyao
fd02b9a71e
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-19 10:02:06 +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
dmchen
93766f8c96 memory leak 2023-07-19 08:32:16 +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
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
dmchen
3711fdd865 feat/TD-22970 2023-07-18 16:09:38 +08:00
Shungang Li
dfaf9134c6 fix: alter keeptimeoffset by 'k v' or 'k' 'v' 2023-07-18 16:04: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
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
Haojun Liao
901b7d8ecc fix(stream): if a source task is set to be non-normal, no data should be put into inputQ anymore. 2023-07-18 15:18:57 +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
Benguang Zhao
24fed51137 enh: tfsRename dir on primary disk at last 2023-07-18 13:58:43 +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
Haojun Liao
0c64e67fda fix(stream): fix set upstream info for history task. 2023-07-18 10:19:13 +08:00
wangmm0220
6c35081507 fix:add sdbFetchCancel to release hash node 2023-07-18 09:54:35 +08:00
Haojun Liao
92106312d2 fix(stream): not dispatch checkpoint block result to downstream. 2023-07-18 09:43:38 +08:00
yihaoDeng
8ab545ac77 fillhistory task not trigger checkpoint 2023-07-18 01:16:48 +00: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
Haojun Liao
2f24f776fb fix(stream): fix error in generating checkpoint for state_window. 2023-07-18 09:04:28 +08:00
kailixu
cf39fcdd12 fix: add sma option when show create table for stb/ntb 2023-07-17 22:24:27 +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
yihaoDeng
b56e442478 Merge branch 'enh/dev33' into enh/triggerCheckPoint2 2023-07-17 11:41:38 +00:00
Minglei Jin
998fbe574d tsdb/cache reader: move suid into reader's info field 2023-07-17 19:10:33 +08:00
yihaoDeng
40eb50676d add checkpoint 2023-07-17 11:04:19 +00: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
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
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
Minglei Jin
27b8671f97 tsdb/cache: new cacheReader field for tsdb & cache reader 2023-07-17 14:27:27 +08:00
Minglei Jin
9b0b4061e0 tsdb/cache: relayout cache row reader 2023-07-17 14:16:54 +08:00
Haojun Liao
eaaf306c81 fix(stream): fix syntax error 2023-07-17 12:54:05 +08:00
Haojun Liao
d7f7a7d6cf fix(stream): fix syntax error 2023-07-17 12:53:36 +08:00
Haojun Liao
b2a905bd91
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-17 11:50:12 +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
kailixu
0e6b982682 chore: more code 2023-07-17 09:19:24 +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
Haojun Liao
a9757637d9 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-07-16 12:47:24 +08:00
Haojun Liao
c6a322e0ef refactor(stream): back pressure is active, which is trigger by dispatch rsp. 2023-07-16 12:47:08 +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
yihaoDeng
e18c9ea672 add checkpoint 2023-07-15 04:26:34 +00:00
kailixu
9117888853 chore: more code 2023-07-14 19:19:46 +08:00
yihaoDeng
3c4631ef1f add checkpoint 2023-07-14 10:06:24 +00: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
b16432280e Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-07-14 17:21:37 +08:00
Haojun Liao
eb7e6152ae refactor(stream): do some internal refactor. 2023-07-14 17:21:20 +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
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
0bf74d096c Merge branch 'enh/triggerCheckPoint2' of https://github.com/taosdata/TDengine into enh/triggerCheckPoint2 2023-07-14 14:47:18 +08:00
yihaoDeng
15f5fd19eb fix recover error 2023-07-14 14:47:06 +08:00
yihaoDeng
e16a3935a5 fix coverity scan problem 2023-07-14 14:40:32 +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
yihaoDeng
dd4740e5a4 add checkpoint 2023-07-14 03:45:30 +00:00
liuyao
52f749f8cc sma not support multiple replicas 2023-07-14 10:36:32 +08:00
yihaoDeng
44170b9b16 fix recover error 2023-07-14 10:36:27 +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
yihaoDeng
17b7e3cc82 Merge branch 'enh/triggerCheckPoint2' of https://github.com/taosdata/TDengine into enh/triggerCheckPoint2 2023-07-13 20:47:18 +08:00
yihaoDeng
e588640e02 fix recover error 2023-07-13 20:46:58 +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
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
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
813f4cb363 refactor: do some internal refactor. 2023-07-13 16:32:25 +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
Haojun Liao
2f90a53548 fix(stream): set checkpoint id when expanding task. 2023-07-13 10:16:57 +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
Haojun Liao
08a4fb06ae fix(stream): dispatch checkpoint msg to downstream by puting message into input queue. 2023-07-13 09:17:20 +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
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
Haojun Liao
3ce54423a5 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-07-12 11:38:27 +08:00
Haojun Liao
d392bb60ba refactor(stream): set the initial version from the checkpoint. 2023-07-12 11:38:13 +08:00
kailixu
8cb6356b99 chore: more code 2023-07-12 10:47:02 +08:00
Haojun Liao
9484f3da94
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-12 10:20:18 +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
kailixu
7c85f7701d chore: more check 2023-07-11 16:32:29 +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
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
wangmm0220
cb62d4cb97 fix:set firset version to reqOffset of response 2023-07-11 14:49:53 +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
Haojun Liao
09b764494d fix(stream): set correct checkpoint version when starting stream tasks. 2023-07-11 14:03:43 +08:00
kailixu
d5435926c2 chore: more code 2023-07-11 12:37:01 +08:00
Haojun Liao
3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
Haojun Liao
04f5bcd23a fix(stream): remove invalid set of task status . 2023-07-11 08:51:13 +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
Haojun Liao
87bedef2cd fix(stream): fix error in checkpointing. 2023-07-10 19:20:05 +08:00
Haojun Liao
ab5b2fe0a8 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-07-10 18:21:02 +08:00
Haojun Liao
385a5c9651 fix(stream): fix error in generating checkpoint. 2023-07-10 18:20:50 +08:00
Hongze Cheng
7014f790a0 optmize table statistic info 2023-07-10 17:35:26 +08:00
yihaoDeng
e263d5f55f add checkpoint 2023-07-10 17:33:48 +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
yihaoDeng
4d838d3dff add checkpoint 2023-07-10 15:51:35 +08:00
dmchen
0a86523bcb fix/TS-3589 2023-07-10 14:58:28 +08:00
Haojun Liao
17debe6a28 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-07-10 13:58:04 +08:00
Haojun Liao
16ee72ab06 fix(stream): free msg after send checkpoint rsp. 2023-07-10 13:57:51 +08:00
Haojun Liao
f6515e2a2c fix(stream): fix error in checkpointing. 2023-07-10 11:43:37 +08:00
liuyao
84f0dfd6d4 stream operator checkpoint 2023-07-10 11:07:08 +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
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
kailixu
802112c00a chore: more code 2023-07-09 21:49:37 +08:00
Haojun Liao
98349a4265 refactor(tsdb): do some internal refactor. 2023-07-09 18:05:24 +08:00
kailixu
a7253fc390 Merge branch '3.0' into enh/TD-25083-3.0 2023-07-09 16:04:38 +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
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
wangmm0220
f9f656b21a fix:return offset stored if get assignment in init mode 2023-07-08 13:25:39 +08:00
Haojun Liao
4f534ce6e9 fix(stream): fix error in generating checkpoint. 2023-07-08 10:29:09 +08:00
Haojun Liao
a5c19427e7 fix(stream): send correct rsp to mnode. 2023-07-08 09:39:44 +08:00
Haojun Liao
9c30abf95b fix(stream): fix error in generating checkpoint. 2023-07-07 21:38:53 +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
Haojun Liao
4e0b32cddc Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-07-07 18:18:04 +08:00
Haojun Liao
128f67784a fix(stream): fix error in parsing checkpoint msg. 2023-07-07 18:17:50 +08:00
yihaoDeng
2dc041929a add checkpoint 2023-07-07 10:13:31 +00:00
Haojun Liao
8298f30e56 fix(stream): fix bug in checkpoint. 2023-07-07 17:16:08 +08:00
wangmm0220
106e273157 fix:bugs in get_assignment 2023-07-07 16:12:15 +08:00
Haojun Liao
47877898d0 enh(stream): generate the checkpoint framework. 2023-07-07 16:07:52 +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
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
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
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
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
aad906f2b0 fix(stream): fix syntax error. 2023-07-06 18:26:44 +08:00
Haojun Liao
d7101f7109 enh(stream): support dispatch checkpoint msg. 2023-07-06 18:26:22 +08:00
Minglei Jin
09222801c4 fix(coverity): fix coverity scan issues 2023-07-06 17:52:48 +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
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
yihaoDeng
5e156aa0a9 add ver check 2023-07-06 06:43:07 +00: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
kailixu
c1393fb2e2 chore: invoke streamStateCommit for rsma 2023-07-06 13:26:25 +08:00
Haojun Liao
5a9461a69a other: merge 3.0 2023-07-06 11:52:21 +08:00
yihaoDeng
483f9ab896 add other 2023-07-06 03:39:28 +00:00
kailixu
e8cdf132fb chore: rsma code refactor 2023-07-06 11:32:20 +08:00
Haojun Liao
f4a3567935 other: merge 3.0 2023-07-06 11:24:30 +08:00
kailixu
61380b7822 chore: test case adaption 2023-07-06 11:09:44 +08:00
yihaoDeng
a630d1284c add version check in rpc 2023-07-06 02:03:31 +00:00
Haojun Liao
851f6df094 enh(tsdb): opt perf. 2023-07-06 09:58:15 +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
kailixu
3f6768d8cf chore: rsma rocksdb adaption 2023-07-05 19:43:29 +08:00
Haojun Liao
aeb9473382 enh(tsdb): add some logs. 2023-07-05 19:41:34 +08:00
yihaoDeng
af053ec75b add version check in rpc 2023-07-05 11:15:12 +00:00
Haojun Liao
a0a116b674 fix(tsdb): fix error in sma extracting and do NOT clear fileDelData when extracting data from stt files. 2023-07-05 19:11:14 +08:00
kailixu
df7866e9f6 chore: refactor 2023-07-05 19:08:43 +08:00
kailixu
59e83fca5d chore: build fix 2023-07-05 18:33:09 +08:00
Benguang Zhao
9b477eed81 enh: terminate on failure to recover WAL from writing errors, or to commit vnode 2023-07-05 17:54:56 +08:00
Haojun Liao
74f5b3f80e
Merge pull request #21959 from taosdata/refact/fillhistory
refactor: do some internal refactor.
2023-07-05 17:47:00 +08:00
Shungang Li
e6e52c3641 fix: ttlmgr convert in metaUpgrade 2023-07-05 17:44:17 +08:00
Haojun Liao
8f8dfc593b Merge remote-tracking branch 'origin/enh/tsdb_optimize' into enh/tsdb_optimize 2023-07-05 17:43:56 +08:00
Haojun Liao
a738b6eba6 fix(tsdb): add empty del skyline check. 2023-07-05 17:43:41 +08:00
Hongze Cheng
21d972938f more fix 2023-07-05 17:43:15 +08:00
Haojun Liao
f35db3ba6c fix(tsdb): add none check. 2023-07-05 17:36:55 +08:00
Haojun Liao
f0cec22d4f fix(tsdb): fix some error. 2023-07-05 17:20:17 +08:00
kailixu
d093b0e20f chore: merge 3.0 2023-07-05 16:45:12 +08:00
Haojun Liao
8c8aa5cd57 fix(tsdb): fix error in extract brinblock. 2023-07-05 16:39:04 +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
Haojun Liao
03dbcbf055 refactor: do some internal refactor. 2023-07-05 15:55:55 +08:00
Haojun Liao
7d7e12a5e7 fix(tsdb): fix syntax error. 2023-07-05 11:22:58 +08:00
Hongze Cheng
1304c08cdd Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-05 10:57:55 +08:00
Haojun Liao
9b3e34d589
Merge pull request #21735 from taosdata/refact/fillhistory
refactor: refactor the fill history operation
2023-07-05 10:48:51 +08:00
Haojun Liao
6e15478c43 fix(tsdb): do some internal refactor. 2023-07-05 10:31:38 +08:00
Haojun Liao
6fb1e716c0 Merge remote-tracking branch 'origin/enh/tsdb_optimize' into enh/tsdb_optimize 2023-07-05 10:31:09 +08:00
Haojun Liao
8ab10a8da1 fix(tsdb): fix error in check tomb record. #TD-25117 2023-07-05 10:30:55 +08:00
Hongze Cheng
23a743fd66 fix snapshot coredump 2023-07-05 10:01:00 +08:00
dapan1121
8554709b1f
Merge pull request #21946 from taosdata/fix/TD-25104
fix: fix show queries output wrongly displayed
2023-07-05 08:51:51 +08:00
Haojun Liao
37ff3a419a fix(tsdb): fix error in load tomb from stt files. 2023-07-04 23:35:52 +08:00
wade zhang
bc8efd7014
Merge pull request #21949 from taosdata/FIX/TD-25103-3.0
enh: tfsRename in the reverse order of levels with tiered storages
2023-07-04 17:34:49 +08:00
Benguang Zhao
1ca4256927 enh: use var prefixLen instead in vnodeRenameVgroupId 2023-07-04 15:36:42 +08:00
Haojun Liao
ff2bf35603 fix(stream): fix error in set the version range for secondary scan. 2023-07-04 15:08:39 +08:00
wade zhang
35a35ad4f9
Merge pull request #21930 from taosdata/fix/TD-24966
fix: coverity scan
2023-07-04 14:55:54 +08:00
Hongze Cheng
acde8586e0 ignore file check 2023-07-04 14:16:09 +08:00
Hongze Cheng
2e88ad2c14 fix: upgrade bug 2023-07-04 14:00:44 +08:00
Ganlin Zhao
e84ca5b838 fix: fix show queries output wrongly displayed 2023-07-04 13:53:09 +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
wangmm0220
a641a07085 fix:[TD-25071] pSub is null & return wal not exist if no data 2023-07-04 11:13:03 +08:00
Shungang Li
dbf47f5fc1 fix: ttl fill cache only in initialization 2023-07-03 21:30:53 -04:00
wangmm0220
dbcd33a402 fix:memory leak 2023-07-03 18:43:12 +08:00
Benguang Zhao
ddaba463c0 enh: check failure of tfsMkdirRecurAt 2023-07-03 16:16:27 +08:00
Haojun Liao
200575647c
Merge branch '3.0' into refact/fillhistory 2023-07-03 15:16:18 +08:00
Haojun Liao
20d099dfa6
Merge pull request #21901 from taosdata/fix/liaohj
fix: fix coverity issue.
2023-07-03 15:15:21 +08:00
Hongze Cheng
8384b6ce29 fix CI case 2023-07-03 15:01:05 +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
Hongze Cheng
5390732f42 fix: coverity scan 2023-07-03 14:13:01 +08:00
liuyao
bc5e709d31 set task status of ins_stream_tasks 2023-07-03 14:00:30 +08:00
Hongze Cheng
214c92264c Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-03 11:27:26 +08:00
liuyao
863da2ae05 set task status of ins_stream_tasks 2023-07-03 11:10:38 +08:00
wangmm0220
136bc379d1 feat:ignore delete info 2023-07-03 11:02:08 +08:00
wade zhang
1a069970c0
Merge pull request #21911 from taosdata/fix/TD-25052
fix/TD-25052
2023-07-03 09:37:01 +08:00
wade zhang
e9022f24ee
Merge pull request #21904 from taosdata/fix/TS-3589
fix/TS-3589
2023-07-03 09:33:48 +08:00
Ganlin Zhao
e1c62d17bc Merge branch '3.0' into fix/TD-25064 2023-07-03 09:08:53 +08:00
Haojun Liao
9e98c64b1e fix(tsdb): set correct stt load info. update the test case. 2023-06-30 22:57:49 +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
Haojun Liao
450a9f3ca1 Merge remote-tracking branch 'origin/enh/tsdb_optimize' into enh/tsdb_optimize 2023-06-30 18:22:35 +08:00
Haojun Liao
c2a7c37b00 fix(tsdb): opt perf for reading data from stt files. 2023-06-30 18:22:20 +08:00
Ganlin Zhao
e14a0e154f fix asan error 2023-06-30 17:37:06 +08:00
wade zhang
84c20463f3
Merge pull request #21907 from luckeverda/fix/ttlpresubmit
fix: ttl compatibility for main
2023-06-30 16:47:25 +08:00
wade zhang
617115ba85
Merge pull request #21906 from luckeverda/fix/ttlpresubmit
fix: ttl compatibility for 3.0
2023-06-30 16:45:58 +08:00
kailixu
067a8334fd chore: code optimization 2023-06-30 16:30:04 +08:00
Hongze Cheng
9fd453d78a more code 2023-06-30 16:13:48 +08:00
yihaoDeng
93391f73e5 vnode snapshot read 2023-06-30 07:46:56 +00:00
Hongze Cheng
2f57c8439b more fix 2023-06-30 15:04:18 +08:00
Hongze Cheng
e79fe91ba0 more code 2023-06-30 14:57:57 +08:00
Shungang Li
8f164a7922 fix: ttl compatibility 2023-06-30 14:57:34 +08:00
kailixu
387d611179 chore: passVer and authVer refact 2023-06-30 14:52:20 +08:00
Hongze Cheng
c714138e9e fix snapshot problem 2023-06-30 14:37:26 +08:00
Hongze Cheng
55840709ed skip dropped table tomb data commit 2023-06-30 13:54:49 +08:00
dmchen
99192b2998 fix/TD-25052 2023-06-30 12:38:52 +08:00
wangmm0220
58c7011e0e feat:support only meta in tmq subscriptions 2023-06-30 11:42:40 +08:00
yihaoDeng
e25df41536 vnode snapshot read 2023-06-30 03:11:55 +00:00
Haojun Liao
ee5e3b7cc0 fix(tsdb): fix error in tsdb2 2023-06-30 00:38:53 +08:00
Haojun Liao
9740d1353c fix(tsdb): opt perf for read data in stt files. 2023-06-29 23:16:07 +08:00
Haojun Liao
15487c9c8f fix(tsdb): fix memory leak. 2023-06-29 22:52:07 +08:00
yihaoDeng
60a0b1e1bd vnode snapshot read 2023-06-29 11:52:34 +00:00
Haojun Liao
17c6b9f81b fix(tsdb): fix error in set file reader. 2023-06-29 18:40:14 +08:00
dmchen
1b68bfb473 fix/TS-3589 2023-06-29 18:14:35 +08:00
Hongze Cheng
eee8007736 fix bug 2023-06-29 17:48:36 +08:00
yihaoDeng
9eb6d8cf1e vnode snapshot read 2023-06-29 09:35:09 +00:00
yihaoDeng
b377fcffad fix:show subscriptions error 2023-06-29 16:04:02 +08:00
Haojun Liao
622e1cb608 fix: fix coverity issue. 2023-06-29 15:54:09 +08:00
Haojun Liao
63834713b2 Merge remote-tracking branch 'origin/enh/tsdb_optimize' into enh/tsdb_optimize 2023-06-29 15:09:14 +08:00
Haojun Liao
81eb8523f1 fix(tsdb): fix invalid ptr. 2023-06-29 15:09:01 +08:00
Hongze Cheng
1e5fef9dbe fix retention CI cases 2023-06-29 15:01:54 +08:00
yihaoDeng
5cebd36c1c add checkpoint 2023-06-29 06:56:14 +00:00
yihaoDeng
0b3fbfd87f fix:compile error 2023-06-29 14:40:32 +08:00
dapan1121
c8435de64a
Merge branch '3.0' into fix/m23.0 2023-06-29 14:03:56 +08:00
Hongze Cheng
1556dedb85 fix file remove by edit 2023-06-29 14:03:01 +08:00
dapan1121
5ee1fbee7e fix: code merge issue 2023-06-29 14:01:19 +08:00
dapan1121
bb1e24dda4 Merge remote-tracking branch 'origin/main' into fix/m23.0 2023-06-29 13:59:56 +08:00
dapan1121
edf5b8c936 fix: code merge issue 2023-06-29 13:59:39 +08:00
Haojun Liao
ba38a625cf fix(stream): remove the shared ptr between reader ptr. 2023-06-29 13:42:23 +08:00
wangmm0220
b264640ca1 fix:error in limit for tmq group 2023-06-29 11:15:53 +08:00
dapan1121
3519e9170e Merge remote-tracking branch 'origin/main' into 3.0 2023-06-29 11:13:45 +08:00
wangmm0220
4c39629d3c Merge branch 'main' of https://github.com/taosdata/TDengine into mark/tmq 2023-06-29 10:48:41 +08:00
wangmm0220
64d8d63f3d fix:error in limit for tmq group 2023-06-29 10:47:55 +08:00
Haojun Liao
c4a6b85bdf fix(tsdb): support stt and file block overlap. 2023-06-28 22:38:51 +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
yihaoDeng
3d532a54a8 add checkpoint 2023-06-28 12:22:27 +00:00
yihaoDeng
0bf6675f39 add checkpoint 2023-06-28 09:58:29 +00:00
yihaoDeng
6b6e237079 add checkpoint 2023-06-28 09:57:08 +00:00
Haojun Liao
d0542f99e2
Merge pull request #21744 from taosdata/mark/tmq
opti:tmq logic
2023-06-28 17:23:56 +08:00
liuyao
2fc5eeb810 session win range 2023-06-28 17:20:08 +08:00
Hongze Cheng
9be13427f6 fix tomb record loss bug 2023-06-28 17:01:08 +08:00
wangmm0220
4ead47bcbd fix:add rows to pSub if rebalance 2023-06-28 16:43:30 +08:00
wangmm0220
865a3b2509 fix:add rows to pSub if rebalance 2023-06-28 16:37:57 +08:00
dapan1121
27a201441a
Merge pull request #21821 from taosdata/fix/ts-3572
fix: udfd can not connect to taosd since authentification failure
2023-06-28 16:31:59 +08:00
wangmm0220
ce0b71c634 fix:add rows to pSub if rebalance 2023-06-28 15:57:30 +08:00
yihaoDeng
871f66565d add checkpoint 2023-06-28 07:02:20 +00:00
wangmm0220
4a17f4b9f5 fix:add rows to pSub if rebalance 2023-06-28 14:57:31 +08:00
Haojun Liao
8867a57262 fix(stream): fix syntax error. 2023-06-28 14:48:59 +08:00
slzhou
fc3fe9dff8 fix: remove connect to mnode 2023-06-28 13:49:13 +08:00
Haojun Liao
57fcd553f8 refactor: do some internal refactor. 2023-06-28 13:13:13 +08:00
wangmm0220
1fc664693e fix:continue consume if wal is dropped 2023-06-28 11:54:48 +08:00
yihaoDeng
f6d5d0c8ca add checkpoint 2023-06-28 02:39:01 +00:00
wangmm0220
fb82b61d2f fix:pSub is null 2023-06-28 10:35:38 +08:00
wangmm0220
d34dc1242f fix:memory leak 2023-06-28 09:41:20 +08:00
Haojun Liao
3710ea4aca refactor: do some internal refactor. 2023-06-28 09:41:08 +08:00
Hongze Cheng
c3a34f5012 Merge branch 'enh/tsdb_optimize' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-28 09:16:48 +08:00
Hongze Cheng
b13010c490 fix retention infinit loop 2023-06-28 09:16:43 +08:00
Haojun Liao
9116a4092a fix(tsdb):fix memory leak. 2023-06-28 01:04:58 +08:00
Haojun Liao
15c55508ac fix(stream): fix error in read tombblock in stt files. 2023-06-27 23:37:11 +08:00
Haojun Liao
a19e63fd23 fix(stream): fix error in handling fill history. 2023-06-27 23:00:14 +08:00
yihaoDeng
9adccf5715 add checkpoint 2023-06-27 14:31:50 +00:00
yihaoDeng
977d6b7803 add checkpoint 2023-06-27 12:52:27 +00:00
yihaoDeng
74764108fd add checkpoint 2023-06-27 12:46:08 +00:00
yihaoDeng
f2b96fb4b3 add checkpoint 2023-06-27 12:28:28 +00:00
yihaoDeng
9d69b284db add checkpoint 2023-06-27 12:03:29 +00:00
wangmm0220
18b7042a45 Merge branch 'mark/tmq' of https://github.com/taosdata/TDengine into mark/tmq 2023-06-27 18:35:39 +08:00
wangmm0220
7d15958509 Merge branch 'main' of https://github.com/taosdata/TDengine into mark/tmq 2023-06-27 18:18:27 +08:00
Yihao Deng
4de7db06f9
Merge branch '3.0' into enh/triggerCheckPoint2 2023-06-27 17:57:14 +08:00
yihaoDeng
0a0410cd09 add checkpoint 2023-06-27 09:56:14 +00:00
wangmm0220
7e38ef7091 fix:add limit for topic and group num 2023-06-27 17:44:51 +08:00
wangmm0220
4b95ea9cad fix:clear consumer if normal close 2023-06-27 17:11:20 +08:00
Haojun Liao
4bb78df27c fix(stream): reduce the sleep time. 2023-06-27 16:44:35 +08:00
Haojun Liao
32fddeff18 fix(stream): fix error retrieve data from source task.And optimize the test cases. 2023-06-27 16:24:47 +08:00
yihaoDeng
a824db4fd5 add checkpoint 2023-06-27 07:46:30 +00:00
Hongze Cheng
d23902877e make it compile on win 2023-06-27 14:33:55 +08:00
Haojun Liao
1ad05a06d6
Merge branch '3.0' into enh/tsdb_optimize 2023-06-27 11:46:37 +08:00
Haojun Liao
3289ad62be other: merge 3.0 2023-06-27 11:33:40 +08:00
Haojun Liao
1073b5e4c2 fix(tsdb): support to read multi-level of stt files. 2023-06-27 11:15:53 +08:00
wade zhang
d7e9eda6bc
Merge pull request #21844 from taosdata/FIX/TD-24924-3.0
enh:  change trans conflict scope of create topic
2023-06-27 10:47:53 +08:00
liuyao
71f4226e15 fix coverity san issues 2023-06-27 10:39:38 +08:00
Haojun Liao
b73444b291 fix(stream): start stream task in case of scan history completing. 2023-06-27 09:44:51 +08:00
Hongze Cheng
3edee3fe9f fix memory leak 2023-06-26 22:04:29 +08:00
Benguang Zhao
69d451db26 enh: check trans conflict in mndCreateTopic ahead of time 2023-06-26 19:49:47 +08:00
Benguang Zhao
9e2062f54a fix: resolve memory leak on exceptions in mndCreateTopic 2023-06-26 19:49:47 +08:00
Haojun Liao
437eb93a4d fix(stream): fix error while fill history exists. 2023-06-26 18:44:59 +08:00
dapan1121
4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Benguang Zhao
14e2e1e574 fix: change conflict scope of create topic to be DB inside 2023-06-26 18:23:19 +08:00
wangmm0220
0ae6cd7a89 fix:memory leak 2023-06-26 17:27:13 +08:00
Haojun Liao
01c0bbb3f8
Merge pull request #21827 from taosdata/feature/TS-3495
fear:fix error for report offset & rows in tmq
2023-06-26 16:54:42 +08:00
Hongze Cheng
3172306f65 more fix 2023-06-26 16:38:26 +08:00
Hongze Cheng
5a0218d1ca fix memory leak 2023-06-26 16:34:58 +08:00
Hongze Cheng
58ce6a3f26 fix vnode close 2023-06-26 16:28:33 +08:00
Haojun Liao
6a29bce44e Merge remote-tracking branch 'origin/enh/tsdb_optimize' into enh/tsdb_optimize 2023-06-26 15:56:11 +08:00
Haojun Liao
9f664cbf14 fix(tsdb): fix error in extracting block distribution. 2023-06-26 15:54:44 +08:00
Hongze Cheng
5ad9bd938f change default stt trigger as 2 2023-06-26 15:47:36 +08:00
Haojun Liao
daafe240ed fix(stream): fix memory leak. 2023-06-26 14:18:47 +08:00
Hongze Cheng
e79683a684 fix more 2023-06-26 13:57:18 +08:00
Benguang Zhao
e8649670aa enh: not allow to split vgroup when streams or topics exist 2023-06-26 11:57:24 +08:00
wangmm0220
7c9168f4b4 Merge branch 'mark/tmq' of https://github.com/taosdata/TDengine into mark/tmq 2023-06-26 11:42:52 +08:00
Minglei Jin
020678391c fix(tsdb/cache): refine del locks 2023-06-26 11:19:31 +08:00
Hongze Cheng
27e17048ac fix: retention coredump 2023-06-26 09:06:59 +08:00
Minglei Jin
5eb57f2e6e enh(tsdb/cache): writebatch with rcache locked 2023-06-26 08:41:14 +08:00
shenglian zhou
2f9c8417b6 fix: use appname to see whether it is udfd 2023-06-26 07:53:00 +08:00
yihaoDeng
04ab8e19d0 Merge branch 'enh/dev30' into enh/triggerCheckPoint2 2023-06-25 19:58:45 +08:00
Haojun Liao
402c091df0 fix(stream): fix sma error. 2023-06-25 19:41:44 +08:00
Haojun Liao
9d8f6f37fe Merge remote-tracking branch 'origin/refact/fillhistory' into refact/fillhistory 2023-06-25 19:30:34 +08:00
Haojun Liao
000325f716 fix(stream): fix memory leak. 2023-06-25 19:30:21 +08:00
Hongze Cheng
b881b87218 more code 2023-06-25 18:02:31 +08:00
liuyao
e236bf818c set fill history info 2023-06-25 17:47:10 +08:00
Hongze Cheng
cc0727aee3 more code 2023-06-25 17:13:12 +08:00
Hongze Cheng
014bfc4ad4 more code 2023-06-25 16:27:14 +08:00
Hongze Cheng
5b1492cb4b refact code 2023-06-25 15:09:15 +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
Haojun Liao
7e7feeffdf fix: fix memory leak. 2023-06-25 14:38:31 +08:00
shenglian zhou
fd754eaa08 fix: udfd can not connect to taosd since authentification failure 2023-06-25 11:31:33 +08:00
liuyao
c950c7379d Merge branch 'refact/fillhistory' of https://github.com/taosdata/TDengine into refact/fillhistory 2023-06-25 10:58:43 +08:00
liuyao
e9d3198e05 mem leak 2023-06-25 10:57:10 +08:00
Haojun Liao
6ac179501a fix: fix syntax error. 2023-06-25 10:46:21 +08:00
Haojun Liao
6857881742 Merge branch '3.0' into refact/fillhistory 2023-06-25 10:41:32 +08:00
Hongze Cheng
c161943fe0 fix snapshot problem 2023-06-25 10:01:30 +08:00
Hongze Cheng
3582046129 fix coredump 2023-06-25 09:45:58 +08:00
Haojun Liao
3099ec31cb fix(tsdb): fix syntax error. 2023-06-25 09:36:43 +08:00
Haojun Liao
dad1854cbb other: merge 3.0 2023-06-25 09:33:37 +08:00
Haojun Liao
7c23630fe4 fix(stream): set correct stream error code. 2023-06-25 09:26:37 +08:00
wade zhang
254a20bdf3
Merge pull request #21660 from luckeverda/feat/TD-23739
feat/TD-23739: enhance ttl, deletetime modified by writing-op
2023-06-25 09:06:57 +08:00
Haojun Liao
a8de3694fa Merge branch 'refact/fillhistory' of github.com:taosdata/tdengine into refact/fillhistory 2023-06-24 18:55:03 +08:00
Haojun Liao
ceb78fdad2
Merge branch '3.0' into refact/fillhistory 2023-06-24 18:53:48 +08:00
Haojun Liao
4a7698d4ab fix(tsdb): add null ptr check. 2023-06-24 00:41:05 +08:00
Haojun Liao
4ce1614045 fix(tsdb): fix error in retrieve sma. 2023-06-24 00:33:47 +08:00
Haojun Liao
5cac7c7a02 fix(tsdb): fix error in query super table. 2023-06-23 02:06:50 +08:00
yihaoDeng
c36d14df77 add compile opt 2023-06-22 13:19:14 +08:00
Hongze Cheng
a5049b4861 fix bug 2023-06-21 20:26:52 +08:00
Haojun Liao
0c2273daf2 fix(tsdb): fix memory leak. 2023-06-21 19:38:25 +08:00
Haojun Liao
3ca3dc54ae Merge branch 'enh/tsdb_optimize' of github.com:taosdata/tdengine into enh/tsdb_optimize 2023-06-21 19:22:58 +08:00
Haojun Liao
cf02ac7229 fix(tsdb): extract tomb data in stt files. 2023-06-21 18:57:14 +08:00
Haojun Liao
92249d892a
Merge pull request #21717 from taosdata/enh/staticLibMain
Enh/static lib main
2023-06-21 17:46:30 +08:00
Hongze Cheng
feda122fdc more code 2023-06-21 17:29:41 +08:00
Haojun Liao
f49f96049e Merge branch 'enh/tsdb_optimize' of github.com:taosdata/tdengine into enh/tsdb_optimize 2023-06-21 16:56:11 +08:00
Hongze Cheng
32a256bfee fix commit bug 2023-06-21 16:55:31 +08:00
Haojun Liao
e76ae4ffc5 fix(tsdb) : fix memory leak. 2023-06-21 16:53:47 +08:00
Hongze Cheng
1160f53062 more code 2023-06-21 16:35:06 +08:00
Haojun Liao
84bd2fb7a1 Merge branch 'enh/tsdb_optimize' of github.com:taosdata/tdengine into enh/tsdb_optimize 2023-06-21 16:15:04 +08:00
Hongze Cheng
5e9d263e19 fix: infinite loop 2023-06-21 15:08:16 +08:00
Hongze Cheng
0e97340e50 more code 2023-06-21 14:53:36 +08:00
Haojun Liao
6261359efe fix(tsdb): reset the stt reader for new files. 2023-06-21 14:46:35 +08:00
yihaoDeng
ff3ad6c65f add static lib to 3.0 2023-06-21 14:38:52 +08:00
Hongze Cheng
4a1010cdec more 2023-06-21 13:39:29 +08:00
wade zhang
e95b430e89
Merge pull request #21786 from taosdata/FIX/TD-24817-3.0
enh: make alter-hashrange atomic and idempotent
2023-06-21 13:29:04 +08:00
Haojun Liao
ea7b8e91d3 fix(stream): fix memory leak. 2023-06-21 12:03:26 +08:00
Haojun Liao
f6e3ad27f0 fix(tsdb): fix memory leak. 2023-06-21 11:38:35 +08:00
Haojun Liao
a92d16a508 fix(tsdb): adjust invalid assert. 2023-06-21 00:12:08 +08:00
Hongze Cheng
413d00db9e fix memory leak 2023-06-20 20:10:57 +08:00
yihaoDeng
daa3b5238f add static lib 2023-06-20 19:29:43 +08:00
Haojun Liao
f8437789f9 Merge remote-tracking branch 'origin/enh/tsdb_optimize' into enh/tsdb_optimize 2023-06-20 18:38:59 +08:00
Haojun Liao
a16dce1873 fix(tsdb): set correct callback fp. 2023-06-20 18:38:45 +08:00
Hongze Cheng
a3f784a5bc more code 2023-06-20 18:25:24 +08:00
Hongze Cheng
ccc8faf3ee Merge branch 'enh/tsdb_optimize' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-20 18:24:02 +08:00
Hongze Cheng
8855659534 more code 2023-06-20 18:23:58 +08:00
liuyao
74bea44300 stream op transform 2023-06-20 17:30:59 +08:00
Haojun Liao
2d4eed4234 other: merge other branch. 2023-06-20 17:12:31 +08:00
Hongze Cheng
fbc4cc9053 fix commit issue 2023-06-20 16:48:54 +08:00
Haojun Liao
7627035629 fix(tsdb): set the hasVal initial value. 2023-06-20 15:58:22 +08:00
Benguang Zhao
424086e324 enh: restore vgroup id in vmOpenVnodes for vnodeAlterHashRange 2023-06-20 15:40:09 +08:00
Haojun Liao
a87c3cfd24 fix(tsdb):check null ptr. 2023-06-20 15:39:53 +08:00
liuyao
aafbdcb492 set task status 2023-06-20 15:20:04 +08:00
Haojun Liao
a1f2ce389b fix(tsdb): fix memory leak. 2023-06-20 14:46:32 +08:00
Hongze Cheng
09f2858927 fix some coredump 2023-06-20 14:34:52 +08:00
Haojun Liao
976dc322db enh(tsdb): support delete data read. 2023-06-20 14:26:15 +08:00
Hongze Cheng
a33ce92e5d more code 2023-06-20 13:33:31 +08:00
liuyao
870d75bf82 fill history pause&resume 2023-06-20 11:34:09 +08:00
Hongze Cheng
927f6861be more code 2023-06-20 10:41:24 +08:00
Hongze Cheng
a4ca770449 refact code 2023-06-20 09:33:22 +08:00
Shungang Li
aa3dd2bbe8 fix for compile 2023-06-20 09:06:23 +08:00
yihaoDeng
548e439aa2 add checkpoint 2023-06-19 20:48:49 +08:00
Shungang Li
b93f653d7e feat: enhance ttl, deletetime modified by writing-ops
new config item: ttlChangeOnWrite (default 0)
ttl delete time changes on last write if true
2023-06-19 19:03:35 +08:00
Benguang Zhao
e1d9e44fcd enh: add a field toVgId in vnodes.json for prepare alter-hashrange 2023-06-19 17:59:42 +08:00
Haojun Liao
77af819708 Merge branch 'enh/tsdb_optimize' of github.com:taosdata/tdengine into enh/tsdb_optimize 2023-06-19 17:57:00 +08:00
Haojun Liao
524ef6edda fix(tsdb): read data from new storage format. 2023-06-19 17:51:05 +08:00
liuyao
41c193945f fill history pause&resume 2023-06-19 17:28:19 +08:00
Benguang Zhao
090a1a1595 enh: rename dir at the end in vnodeRenameVgroupId 2023-06-19 15:48:32 +08:00
Benguang Zhao
20a55c3412 fix: make vmProcessAlterHashRangeReq idempotent 2023-06-19 15:09:00 +08:00
Hongze Cheng
6d2ce5cd39 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-19 14:13:08 +08:00
Hongze Cheng
3074ab6541 more code 2023-06-19 14:12:48 +08:00
yihaoDeng
0eeaab9cd3 Merge branch 'refact/fillhistory1' into refact/fillhistory 2023-06-19 13:53:37 +08:00
Hongze Cheng
de60e688f6 more fix 2023-06-19 12:52:09 +08:00
Hongze Cheng
9ce58a2d80 refact more code 2023-06-19 11:32:19 +08:00
Hongze Cheng
073a2b8dd3 refact more code 2023-06-19 09:32:29 +08:00
dapan1121
f31240d4b5
Merge pull request #21762 from wangjiaming0909/fix/m/TD-24819
fix: show queries returned less rows when one conn has more than 100 queries
2023-06-19 09:13:32 +08:00
yihaoDeng
fd85a8495a Merge branch 'dev30' into enh/triggerCheckPoint2 2023-06-17 14:17:21 +08:00
yihaoDeng
b6fe5d917b refactor checkpoint 2023-06-17 14:05:49 +08:00
kailixu
b40069c0e1 chore: log optimization 2023-06-17 05:05:43 +08:00
Hongze Cheng
aba73614df more code 2023-06-17 00:12:11 +08:00
wangmm0220
c5dfe169a6 fix:error 2023-06-16 19:33:03 +08:00
kailixu
4097b860d3 enh: support delete tsma interval 2023-06-16 19:04:12 +08:00
wangjiaming0909
bc2cc64873 fix: show queries returned less rows when one conn has more than 100 queries 2023-06-16 18:17:56 +08:00
yihaoDeng
8937192799 refactor checkpoint 2023-06-16 18:04:57 +08:00
dapan1121
1329dce320
Merge pull request #21712 from taosdata/fix/TS-3484
fix: fix order by ts desc error
2023-06-16 18:01:16 +08:00
yihaoDeng
5cd35cc18c refactor checkpoint 2023-06-16 17:28:54 +08:00
yihaoDeng
b0a3a8d619 refactor checkpoint 2023-06-16 17:28:50 +08:00
Hongze Cheng
a9fcebbdaf more code 2023-06-16 17:12:05 +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
Haojun Liao
64365666b7 fix(stream): update the info, and do some internal refactor. 2023-06-16 16:04:43 +08:00
Hongze Cheng
d97f34931d Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-16 13:54:59 +08:00
wangmm0220
779e35b679 fix:drop consumer wher drop topic or group 2023-06-16 13:52:08 +08:00
Hongze Cheng
ec288ade15 change stt from multi seg to one seg 2023-06-16 12:16:53 +08:00
wade zhang
01b1cfe965
Merge pull request #21676 from taosdata/fix/TD-24715
enh(vnd/svr): convert msyType to string
2023-06-16 12:06:47 +08:00
Haojun Liao
910e0aae97
Merge pull request #21746 from taosdata/fix/TS-3540
fix:null pointer error if restore from file
2023-06-16 11:57:51 +08:00
wade zhang
d5f37359f4
Merge pull request #21722 from taosdata/fix/TD-24761
fix(tsdb/cache): rewrite cache update to fix cpu usage
2023-06-16 11:52:02 +08:00
Minglei Jin
968e3cf1ea lru/applyF: fix ret value 2023-06-16 10:00:17 +08:00
Haojun Liao
4c82558eab Merge remote-tracking branch 'origin/refact/fillhistory' into refact/fillhistory 2023-06-16 09:55:24 +08:00
Haojun Liao
933801269a fix(stream): fix memory leak and failed to close vnode. 2023-06-16 09:55:11 +08:00
Benguang Zhao
8663148d6c fix: return error from vmPutMsgToQueue while vnode-write is disabled 2023-06-16 09:20:34 +08:00
Yihao Deng
97fa74ae2e
Merge branch 'main' into enh/staticLibMain 2023-06-15 21:37:01 +08:00
yihaoDeng
9f9171719a support fill history 2023-06-15 21:29:52 +08:00
wangmm0220
38dc8e2107 Merge branch 'fix/TS-3540' of https://github.com/taosdata/TDengine into fix/TS-3540 2023-06-15 19:45:15 +08:00
wangmm0220
c243e470c9 fix:null pointer error if restore from file 2023-06-15 19:44:58 +08:00
wangmm0220
e019ed2cc3 fix:conflict 2023-06-15 18:50:44 +08:00
wangmm0220
5de4600739 fix:remove lost_reb status 2023-06-15 18:48:45 +08:00
liuyao
0aa141ec77 use stream task state 2023-06-15 18:24:40 +08:00
Haojun Liao
a3e1882fb2 fix: fix dead lock. 2023-06-15 18:17:38 +08:00
Haojun Liao
f3df37bf28 fix(stream): fix memory leak. 2023-06-15 17:56:58 +08:00
Haojun Liao
2ad30e2946 other: add files. 2023-06-15 17:31:59 +08:00
Minglei Jin
2cb6c7af16 cache/commit: use outter lock 2023-06-15 17:16:14 +08:00
Minglei Jin
9d6a22e35e cache/apply: use tsdb's flushState as ud 2023-06-15 17:07:56 +08:00
Minglei Jin
c56f29c031 cache/flushState: init flush state when open cache 2023-06-15 17:01:27 +08:00
yihaoDeng
a17a8cc192 fix:null pointer error 2023-06-15 16:35:53 +08:00
Minglei Jin
158ae209bf cache/lru: new applyF API for tlrucache 2023-06-15 16:34:51 +08:00
wangmm0220
a7a518aaed opti:tmq logic 2023-06-15 15:44:52 +08:00
Haojun Liao
74e0138f72 Merge branch '3.0' into refact/fillhistory 2023-06-15 15:25:00 +08:00
wangmm0220
22776e60d5 fix:control memory size if consumer group is too much 2023-06-15 14:51:04 +08:00
Hongze Cheng
b6a567f92e more code 2023-06-15 14:43:14 +08:00
Hongze Cheng
eacd2ac234 more code 2023-06-15 14:23:12 +08:00
liuyao
693942b821 trans state 2023-06-15 14:13:17 +08:00
Hongze Cheng
e34ff2a894 more code 2023-06-15 14:10:35 +08:00
Haojun Liao
5fdfe98696 fix: fix syntax error. 2023-06-15 13:31:30 +08:00
Hongze Cheng
56dfeadd50 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-15 13:17:44 +08:00
Haojun Liao
1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
wade zhang
cffbed79ae
Merge pull request #21733 from taosdata/FIX/TD-24810-3.0
fix: vnodeRenameVgroupId correctly
2023-06-15 10:44:34 +08:00
Haojun Liao
55724157c4 refactor: remove one function. 2023-06-15 10:40:25 +08:00
Haojun Liao
13028744df refactor: do some internal refactor. 2023-06-15 10:24:21 +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
Minglei Jin
6d23ea93ea cache/update: fix memory leak 2023-06-15 08:40:36 +08:00
Haojun Liao
53377c2c1f fix(stream): wait for stream task completed. 2023-06-15 01:14:41 +08:00
yihaoDeng
bd0168e562 trigger checkpoint 2023-06-14 21:43:47 +08:00
Benguang Zhao
b86fc3a697 fix: vnodeRenameVgroupId correctly 2023-06-14 21:38:25 +08:00
yihaoDeng
551cd7cdc8 trigger checkpoint 2023-06-14 21:14:00 +08:00
dmchen
92a9d4b26e fix/TS-3524 2023-06-14 20:53:27 +08:00
Haojun Liao
03413314d9
Merge pull request #21716 from taosdata/feature/TS-3495
fix:open info log in tmq client & modify parametes in show consumers
2023-06-14 16:33:42 +08:00
Yihao Deng
7ded6fc7a2
Merge branch '3.0' into enh/triggerCheckPoint2 2023-06-14 16:30:38 +08:00
yihaoDeng
52ca94ea6d trigger checkpoint 2023-06-14 16:20:14 +08:00
Hongze Cheng
33eaeb743c more code 2023-06-14 16:15:40 +08:00
liuyao
9a3708e17b pause&resume fill history 2023-06-14 15:54:07 +08:00
Minglei Jin
d04a33f349 fix(tsdb/cache): rewrite cache update to fix cpu usage 2023-06-14 15:35:21 +08:00
Haojun Liao
7c6fbd7772 enh(stream): do some internal refactor and support secondary scan for history data. 2023-06-14 14:10:09 +08:00
Hongze Cheng
4138361839 refact code 2023-06-14 14:05:41 +08:00
Hongze Cheng
5bacfb4f94 refact code 2023-06-14 13:38:51 +08:00
Hongze Cheng
48ea3963e7 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-14 13:12:31 +08:00
Benguang Zhao
05393d9053 fix: make vmProcessCreateVnodeReq idempotent 2023-06-14 13:05:47 +08:00
yihaoDeng
30ea3aa419 add static lib 2023-06-14 12:15:02 +08:00
yihaoDeng
ee3017ed3a add static lib 2023-06-14 12:14:49 +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
wade zhang
5612f7ff93
Merge pull request #21708 from taosdata/fix/TS-3524-main
fix/TS-3524
2023-06-14 10:54:19 +08:00
Haojun Liao
11f0c3b336 refactor: do some internal refactor. 2023-06-14 10:46:46 +08:00
Haojun Liao
b44447e6f3 enh(stream): support restore from disk. 2023-06-14 10:19:03 +08:00
Haojun Liao
844a23225a
Merge pull request #21600 from taosdata/mark/tmq
fix:check wal not exist again before register to push & move push log…
2023-06-14 10:18:39 +08:00
Haojun Liao
4fac83ecf2
Merge pull request #21709 from taosdata/feature/TD-24749
feat:control memory size if consumer group is too much
2023-06-14 10:15:20 +08:00
Ganlin Zhao
4bd1ae90fa fix: fix order by ts desc error 2023-06-14 09:52:41 +08:00
Hongze Cheng
c85c032158 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-14 09:14:16 +08:00
wangmm0220
8070223aba fix:lock error 2023-06-13 18:27:06 +08:00
Ganlin Zhao
647ddaad97 fix: fix order by ts desc error 2023-06-13 17:28:31 +08:00
Hongze Cheng
e01d598da9 more code 2023-06-13 17:16:06 +08:00
wangmm0220
827e84b1a5 fix:memory leak 2023-06-13 17:10:23 +08:00
Haojun Liao
97da2a8fac fix(stream): set the fill history status. 2023-06-13 16:10:55 +08:00
dapan1121
f84eef0ac4
Merge branch '3.0' into feat/TD-24499 2023-06-13 15:27:18 +08:00
wangmm0220
d8d6b6dd21 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-24749 2023-06-13 15:15:05 +08:00
wangmm0220
8a81278024 fix:load pHandle if necessary wher tq restore 2023-06-13 15:14:11 +08:00
dmchen
440a8725e5 fix/TS-3524 2023-06-13 15:07:00 +08:00
Haojun Liao
933d08b489
Merge pull request #21690 from taosdata/feature/TS-3495
feat:add parameters for consumer & add offset rows for subscription
2023-06-13 14:59:15 +08:00
shenglian zhou
28e6c45021 enhance: version not compatible log 2023-06-13 14:41:42 +08:00
Hongze Cheng
42a09cc9df more code 2023-06-13 14:30:24 +08:00
Hongze Cheng
7baeabc6b9 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-13 13:21:12 +08:00
dapan1121
73d3c21e21 Merge remote-tracking branch 'origin/3.0' into feat/TD-24499 2023-06-13 11:44:41 +08:00
wangmm0220
fb123d8761 fix:conflict from 3.0 2023-06-13 09:47:08 +08:00
wangmm0220
fb59ec4591 feat:move plan msg from vginfo to subscription info 2023-06-13 09:32:54 +08:00
Haojun Liao
fb24ed161d enh(stream): set correct task status. 2023-06-12 22:48:23 +08:00
yihaoDeng
83dde6a212 add trigger checkpoint 2023-06-12 14:33:08 +00:00
Hongze Cheng
e4840cb5ab fix 2023-06-12 17:48:49 +08:00
Hongze Cheng
bd01d08b05 mroe code 2023-06-12 17:19:31 +08:00
wangmm0220
a723fc37c3 fix:modify offset description to string 2023-06-12 17:18:06 +08:00
Hongze Cheng
71df0a00be more code 2023-06-12 17:17:00 +08:00
dapan1121
59b8cfbc7d enh: add sub_query in systable and kill subquery 2023-06-12 17:14:41 +08:00
Hongze Cheng
438d0caef7 mroe code 2023-06-12 16:55:20 +08:00
wangmm0220
fe155898fe fix:modify offset description to string 2023-06-12 16:34:53 +08:00
Hongze Cheng
9a4f6abe54 more code 2023-06-12 16:12:29 +08:00
Benguang Zhao
16fbcbb67a fix: filter by tbFName in metaFilterTableByHash 2023-06-12 14:19:50 +08:00
Hongze Cheng
5405a967fb refact code 2023-06-12 13:39:25 +08:00
Hongze Cheng
4813af0867 refact code 2023-06-12 13:27:02 +08:00
Haojun Liao
78a240be8f enh(stream): add dispatch msg. 2023-06-12 13:12:45 +08:00
Hongze Cheng
22b80c55bf refact code 2023-06-12 10:27:22 +08:00
Hongze Cheng
e6039839f1 refact code 2023-06-12 10:26:18 +08:00
Hongze Cheng
b8fb34e6c6 refact 2023-06-12 10:13:15 +08:00
Hongze Cheng
8be0e1710e refact code 2023-06-12 10:08:35 +08:00
wangmm0220
1903b815d4 fix:modify offset description to string 2023-06-12 09:45:06 +08:00
wangmm0220
6657b8d849 fix:modify offset description to string 2023-06-12 09:44:00 +08:00
Benguang Zhao
3689b41f3a Merge branch '3.0' into FIX/TD-24182-3.0 2023-06-12 09:39:49 +08:00
Hongze Cheng
0c6acda102 refact code 2023-06-10 17:16:01 +08:00
slzhou
76d341682e fix: select * from information_schema.ins_columns can not complete 2023-06-09 20:55:17 +08:00
yihaoDeng
a2030dc378 add trigger checkpoint 2023-06-09 12:12:51 +00:00
yihaoDeng
74797f5ba6 add trigger checkpoint 2023-06-09 11:00:07 +00:00
yihaoDeng
404c43d1de add trigger checkpoint 2023-06-09 10:59:55 +00:00
wangmm0220
aa610b27a4 feat:add parameters for consumer & add offset rows for subscription 2023-06-09 18:51:10 +08:00
yihaoDeng
a0c2897124 add trigger checkpoint 2023-06-09 10:46:03 +00:00
Minglei Jin
4884d0af53 vnd/svr: convert msyType to string 2023-06-09 18:00:04 +08:00
Hongze Cheng
9cdaf24113 more code 2023-06-09 17:52:57 +08:00
Hongze Cheng
2c5b5289d0 fix more code 2023-06-09 16:43:09 +08:00
Hongze Cheng
cbd5da5dee more code 2023-06-09 16:07:06 +08:00
Hongze Cheng
1ee9f80e1f more code 2023-06-09 15:10:54 +08:00
Haojun Liao
69c9eda7af fix(stream): fix race condition. 2023-06-09 11:37:38 +08:00
Haojun Liao
63ef04593d fix: fix syntax error. 2023-06-09 09:48:18 +08:00
Haojun Liao
53246ed6bb other: merge other branch. 2023-06-09 09:41:10 +08:00
Hongze Cheng
3753c7d602 refact more 2023-06-09 09:23:56 +08:00
Minglei Jin
cab07b2736 vnode/svr: fix missing colon post vgId 2023-06-09 08:21:45 +08:00
wangmm0220
d7a4817124 feat:add parameters for consumer & add offset rows for subscription 2023-06-08 19:11:15 +08:00
wangmm0220
ac5862c321 feat:add parameters for consumer & add offset rows for subscription 2023-06-08 19:08:22 +08:00
wangmm0220
3f46a9bbc9 feat:add parameters for consumer & add offset rows for subscription 2023-06-08 18:14:02 +08:00
Haojun Liao
6726edae0c fix(stream): add more logs. 2023-06-08 17:54:22 +08:00
Hongze Cheng
cb52b7a747 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-08 17:39:01 +08:00
Hongze Cheng
e9a0210ea6 more code 2023-06-08 17:31:35 +08:00
Haojun Liao
6c13491428 refactor: do some internal refactor. 2023-06-08 16:55:41 +08:00
Haojun Liao
2b6ace653a refactor: do some internal refactor. 2023-06-08 16:14:27 +08:00
Hongze Cheng
ef524f6965 more code 2023-06-08 15:35:43 +08:00
yihaoDeng
8b91617145 Merge branch 'enh/dv3' into enh/triggerCheckpoint 2023-06-08 07:20:41 +00:00
yihaoDeng
77f287d9be add trigger checkpoint 2023-06-08 07:19:59 +00:00
Minglei Jin
a6968485a8 enh(vnd/sync): refine invalid message log 2023-06-08 14:45:02 +08:00
Haojun Liao
30eba472c3
Merge pull request #21602 from taosdata/fix/TD-24600-dv3
fix/td-24600-dv3
2023-06-08 13:42:02 +08:00
Hongze Cheng
13229b0ee1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-08 13:38:32 +08:00
Hongze Cheng
9d4a626f42 more code 2023-06-08 13:28:13 +08:00
Hongze Cheng
685c0e5593 more code 2023-06-08 11:41:01 +08:00
Hongze Cheng
0c9b66b574 more code 2023-06-08 10:51:43 +08:00
yihaoDeng
9b749b8faa change link op t 2023-06-08 02:43:44 +00:00
Hongze Cheng
2f5f0b75df refact code 2023-06-08 10:31:19 +08:00
Hongze Cheng
91c8391bff Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-08 09:53:57 +08:00
yihaoDeng
88d765c71a add trigger checkpoint 2023-06-07 14:32:56 +00:00
yihaoDeng
1f1f37312d add trigger checkpoint 2023-06-07 14:32:48 +00:00
Haojun Liao
9abe47ff93
Merge pull request #21638 from taosdata/enh/changeLinkOpt
change link opt
2023-06-07 19:07:06 +08:00
Haojun Liao
06cf3588da refactor: do some internal refactor. 2023-06-07 15:03:04 +08:00
yihaoDeng
4fa1cc6dd3 change link opt 2023-06-07 05:26:07 +00:00
dmchen
169a2bd349 fix/TD-24644 2023-06-07 11:13:48 +08:00
liuyao
1e9c4d5fac opt stream block dispatch 2023-06-07 10:45:27 +08:00
Haojun Liao
6a3c935b4a fix(stream): fix error in fill history scan. 2023-06-07 09:15:55 +08:00
Hongze Cheng
e6fb46c072 more code 2023-06-06 16:42:51 +08:00
Hongze Cheng
89a9e01375 more code 2023-06-06 16:17:29 +08:00
wade zhang
9a0f6ae832
Merge pull request #21595 from taosdata/fix/TS-3247
fix(query/sys): pause/resume with sys scan operator
2023-06-06 11:55:10 +08:00
dapan1121
fe7ba9d92e
Merge pull request #21523 from taosdata/feat/TS-3134-3.0
feat: allow user to reset root passwd
2023-06-06 11:10:11 +08:00
Hongze Cheng
96d29bc93b more code 2023-06-06 11:07:45 +08:00
dapan1121
dff35ac584
Merge pull request #21550 from wangjiaming0909/feature/3.0/TD-23974
feature: add user priv when create db, remove priv check with create_dbs
2023-06-06 11:06:18 +08:00
Minglei Jin
57b0cb84eb fix(cache/binary): fix crash in freeItem 2023-06-06 10:23:50 +08:00
Hongze Cheng
d3bf34e92a more code 2023-06-05 22:55:00 +08:00
Hongze Cheng
aad386e795 more code 2023-06-05 22:35:06 +08:00
yihaoDeng
ae09d1d031 fix:wal error 2023-06-05 19:49:54 +08:00
Hongze Cheng
5d1783f4d4 more code 2023-06-05 18:31:59 +08:00
Hongze Cheng
9caf359ee1 more code 2023-06-05 18:29:05 +08:00
Minglei Jin
c4418046e1
Merge branch '3.0' into fix/TS-3247 2023-06-05 18:17:18 +08:00
Haojun Liao
0dd933013c enh(stream): make history task for stream running. 2023-06-05 17:58:00 +08:00
wade zhang
11321aa279
Merge pull request #21386 from taosdata/fix/TD-23549
fix(meta): split meta
2023-06-05 17:47:19 +08:00
wangmm0220
1b9387b683 fix:remove tq lock in write thread 2023-06-05 17:45:46 +08:00
wangmm0220
f2ee657b62 fix:check wal not exist again before register to push & move push logic from write thread to query thread 2023-06-05 17:21:47 +08:00
Hongze Cheng
46aa6d4896 refact code 2023-06-05 16:22:06 +08:00
Hongze Cheng
37ae918114 more code 2023-06-05 16:08:02 +08:00
Hongze Cheng
934a170e64 more code 2023-06-05 16:02:53 +08:00
Haojun Liao
fcc706c45c enh(stream): refactor the fill history task. 2023-06-05 15:59:01 +08:00
Hongze Cheng
ac62592140 more code 2023-06-05 15:46:35 +08:00
Minglei Jin
d02746d86f fix(query/sys): pause/resume with sys scan operator 2023-06-05 15:24:39 +08:00
Haojun Liao
077e1a1ed4 Merge branch '3.0' into refact/fillhistory 2023-06-05 11:41:13 +08:00
Hongze Cheng
efff4e77f0 more code 2023-06-05 09:36:26 +08:00
Hongze Cheng
5649401a65 more code 2023-06-05 09:22:20 +08:00
Hongze Cheng
3df9620450 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-05 09:10:16 +08:00
Haojun Liao
044e56fc97
Merge branch '3.0' into fix/resume_mem 2023-06-03 12:19:17 +08:00
Haojun Liao
4bb6429249 fix(query): fix syntax error. 2023-06-03 00:20:59 +08:00
Haojun Liao
becacbc84b fix(query): fix syntax error. 2023-06-02 23:36:47 +08:00
Haojun Liao
b5b4cd2a05 fix(query): load del info with upper version limitation. 2023-06-02 23:15:27 +08:00
Hongze Cheng
53ff6edad7 fix bug 2023-06-02 19:03:34 +08:00
Benguang Zhao
ae26f701ae fix: ignore TSDB_CODE_MND_TRANS_SYNC_TIMEOUT on updating trans 2023-06-02 18:49:15 +08:00
Hongze Cheng
632c6fb4dd more code 2023-06-02 18:42:15 +08:00
Haojun Liao
cca69f3038 Merge branch '3.0' into fix/resume_mem 2023-06-02 18:40:48 +08:00
Hongze Cheng
a2dafefe03 more code 2023-06-02 17:36:14 +08:00
wangmm0220
56f7a137ee fix:conflict 2023-06-02 15:47:53 +08:00
wangmm0220
b2f0d88639 fix:conflict 2023-06-02 15:43:35 +08:00
Hongze Cheng
33afb08e5c Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-02 14:40:01 +08:00
Hongze Cheng
da31d92b7e more code 2023-06-02 14:39:54 +08:00
yihaoDeng
f4bde33dc3 avoid mem leak 2023-06-02 06:06:05 +00:00
Haojun Liao
cce87a036f other: merge 3.0. 2023-06-02 13:34:20 +08:00
Haojun Liao
709e3f5079
Merge pull request #21566 from taosdata/fix/TD-24570
reset ud table name
2023-06-02 13:26:49 +08:00
Haojun Liao
d45aa7ef84
Merge pull request #21555 from taosdata/fix/liaohj_main
other: merge main into 3.0.
2023-06-02 13:11:12 +08:00
Haojun Liao
f1bd829977 refactor: do some internal refactor. 2023-06-02 13:10:54 +08:00
Haojun Liao
27b7d1ec88 refactor: do some internal refactor. 2023-06-02 11:17:44 +08:00
liuyao
27f791ac7f reset ud table name 2023-06-02 11:05:39 +08:00
Hongze Cheng
884d2cc834 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-02 09:31:54 +08:00
yihaoDeng
4d0ce625c4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-06-01 22:55:30 +08:00
wangmm0220
a7418d439b Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-06-01 22:50:51 +08:00
Hongze Cheng
5e75fe006c more code 2023-06-01 18:56:40 +08:00
wangmm0220
56782a5d41 fix:open task case & modify mqRebVgReq encode/decode style 2023-06-01 18:29:16 +08:00
Haojun Liao
ee8a9856cb
Merge pull request #21557 from taosdata/feature/TD-19042
fix:make version compatible
2023-06-01 18:25:37 +08:00
Benguang Zhao
2ef2715ee1 enh: add mndAddVgStatusAction and mndAddDbStatusAction 2023-06-01 17:58:27 +08:00
Hongze Cheng
9d1e90f914 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-06-01 17:20:37 +08:00
Hongze Cheng
65720b80fa more code 2023-06-01 17:12:26 +08:00
Hongze Cheng
a3cacfe68b more code 2023-06-01 17:08:46 +08:00
Hongze Cheng
e07afeeeaf more code 2023-06-01 17:05:20 +08:00
wangmm0220
bb772e2062 fix:make version compatible 2023-06-01 17:03:02 +08:00
wangmm0220
69499b9582 fix:make version compatible 2023-06-01 16:09:17 +08:00
wangmm0220
d20e0a06f6 fix:make version compatible 2023-06-01 16:04:45 +08:00
wangmm0220
21920721f3 fix:make version compatible 2023-06-01 15:10:08 +08:00
Hongze Cheng
e99b33ede5 more code 2023-06-01 15:08:45 +08:00
Hongze Cheng
bdc9fc473c more code 2023-06-01 11:11:02 +08:00
Minglei Jin
9b9bf2de68 meta/tbc: key cannot be null 2023-06-01 10:41:01 +08:00
Hongze Cheng
fbc4d649de more code 2023-06-01 10:36:12 +08:00
Haojun Liao
5d98a319c7
Merge pull request #21515 from taosdata/feature/TD-19042
feat: support create topic as stable with conditions
2023-06-01 09:56:55 +08:00
Haojun Liao
5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
Minglei Jin
fb2f367aac meta/split: trim invalidated uids 2023-06-01 08:13:32 +08:00
Haojun Liao
6d04c4e2fd refactor: do some internal refactor. 2023-05-31 19:05:40 +08:00
Haojun Liao
9e021087a9 refactor: do some internal refactor. 2023-05-31 19:04:53 +08:00
Haojun Liao
a3abe25539 refactor: do some internal refactor. 2023-05-31 19:03:37 +08:00
wangjiaming0909
60100a0fb6 feature: add user priv when create db, remove priv check with create_dbs 2023-05-31 18:43:56 +08:00
Hongze Cheng
d4f4ac1d89 more code 2023-05-31 17:49:08 +08:00
Haojun Liao
fa5c024b3e refactor: do some internal refactor. 2023-05-31 17:22:59 +08:00
Haojun Liao
18b971c666 fix(query): check the version range when dump partial rows of file block to sdata block directly. 2023-05-31 17:06:38 +08:00
Haojun Liao
bbb6359ea2 fix(query): add check for version range when dumping partial rows of file block to data block 2023-05-31 17:03:39 +08:00
Hongze Cheng
dc8901268e fix code 2023-05-31 16:34:50 +08:00
Hongze Cheng
cf0228f87e more code 2023-05-31 15:57:51 +08:00
Minglei Jin
99d6c5cfa0 Merge branch '3.0' into fix/TD-23549 2023-05-31 15:31:20 +08:00
Hongze Cheng
10e6e52670 more code 2023-05-31 15:19:28 +08:00
Hongze Cheng
616a675682 more code 2023-05-31 10:59:47 +08:00
Benguang Zhao
28efd7dcd7 enh: check trans conflicts in mndTransValidate 2023-05-31 10:53:36 +08:00
Haojun Liao
e237b4ac39 refactor: do some internal refactor. 2023-05-31 09:19:05 +08:00
Hongze Cheng
938d87f601 more code 2023-05-31 09:02:50 +08:00
Benguang Zhao
4a6d81855b enh: add mndTransValidate for prepare actions 2023-05-30 18:50:00 +08:00
Hongze Cheng
838a47cb45 more code 2023-05-30 18:08:32 +08:00
Hongze Cheng
03f7c6533e more code 2023-05-30 18:06:28 +08:00
Haojun Liao
eda06081ff enh(stream): refactor and serialize the attributes of history tasks. 2023-05-30 16:55:37 +08:00
Haojun Liao
d9c364d663 Merge branch '3.0' into refact/fillhistory 2023-05-30 15:51:12 +08:00
wangmm0220
689ee05527 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 15:45:46 +08:00
Hongze Cheng
e0889b404d more code 2023-05-30 15:31:11 +08:00
Haojun Liao
be8fd9e48b enh(stream): create additional task for history data processing. 2023-05-30 14:47:10 +08:00
Hongze Cheng
9222d9651e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-30 14:21:19 +08:00
Hongze Cheng
29c29871d2 more code 2023-05-30 14:20:15 +08:00
Haojun Liao
d122a398b3
Merge pull request #21516 from taosdata/fix/TD-24447
set sched status
2023-05-30 10:59:28 +08:00
Benguang Zhao
6679b8af7b fix: release action.pCont on error 2023-05-30 10:55:56 +08:00
Hongze Cheng
8626d3e691 more code 2023-05-30 10:43:44 +08:00
wangmm0220
d490ca753f Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 09:48:49 +08:00
Haojun Liao
2977a4d07f refactor: do some internal refactor. 2023-05-30 09:41:19 +08:00
Haojun Liao
65b1574fbe
Merge pull request #21499 from taosdata/mark/tmq
fix:put poll to push manager if wal not exist when offset is latest
2023-05-30 09:36:53 +08:00
Haojun Liao
20a0054c4a
Merge pull request #21472 from taosdata/enh/addCompileError
change parameter
2023-05-30 09:36:36 +08:00
dapan1121
2d6859d5d6
Merge pull request #21510 from taosdata/szhou/fix-ts3461
fix: if block row num is less than definit min rows, set the bucket index to 0
2023-05-30 08:51:24 +08:00
wade zhang
3a2831a3f4
Merge pull request #21517 from taosdata/fix/TD-24472
fix(rocks/log): set info log level to warn_level
2023-05-30 08:35:00 +08:00
Haojun Liao
bcba18d90e
Merge pull request #21521 from taosdata/refact/fillhistory
refactor: do some internal refactor.
2023-05-30 00:38:38 +08:00
Hongze Cheng
b479a0a06b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-29 21:46:26 +08:00
kailixu
9501d4f417 feat: allow user to reset root passwd 2023-05-29 19:44:11 +08:00
Hongze Cheng
41459a92c0 more code 2023-05-29 18:42:31 +08:00
Haojun Liao
3628888ecc refactor: do some internal refactor. 2023-05-29 18:02:45 +08:00
Haojun Liao
cd2d225c93 refactor: do some internal refactor. 2023-05-29 17:50:39 +08:00
wade zhang
3b6d196ec3
Merge pull request #21498 from taosdata/fix/check-empty-dnode
check empty dnode
2023-05-29 17:45:56 +08:00
wangmm0220
41ed0138b4 fix:compile error 2023-05-29 17:25:11 +08:00
wangmm0220
07bdb95b1a fix:compile error 2023-05-29 17:10:11 +08:00
wangmm0220
9eb15e41ef fix:put poll to push manager if wal not exist when offset is latest 2023-05-29 16:44:03 +08:00
dmchen
23983e506f fix test case 2023-05-29 16:12:26 +08:00
Hongze Cheng
6aac0e0c49 more code 2023-05-29 15:58:54 +08:00
Minglei Jin
3a9d55ca35 fix(rocks/log): set info log level to warn_level 2023-05-29 15:56:28 +08:00
wangmm0220
5eb1c559e5 fix:save offset if latest 2023-05-29 15:51:00 +08:00
Haojun Liao
f2887278e2 refactor: do some internal refactor. 2023-05-29 15:44:45 +08:00
liuyao
b541a0a053 set sched status 2023-05-29 15:42:47 +08:00
wangmm0220
78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
Benguang Zhao
3c698b2461 enh: add mndAddPrepareNewVgAction 2023-05-29 14:13:11 +08:00
Benguang Zhao
873ad8839b enh: add prepareActions in STrans 2023-05-29 14:13:11 +08:00
tangfangzhi
e21a2f9cce check empty 2023-05-29 14:02:36 +08:00
wangmm0220
a71878d07f feat: support create topic as stable with conditions 2023-05-29 11:46:59 +08:00
Haojun Liao
8f61e2d6ef refactor: do some internal refactor. 2023-05-29 10:50:50 +08:00
shenglian zhou
43c0656df2 fix: if block row num is less than definit min rows, set the bucket index to 0 2023-05-29 10:45:26 +08:00
yihaoDeng
342ce14c7d Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 02:37:47 +00:00
yihaoDeng
58cc631c22 Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 02:29:56 +00:00
Haojun Liao
953a69a829 refactor: do some internal refactor. 2023-05-29 10:12:27 +08:00
Hongze Cheng
9d6a264e4d more code 2023-05-28 23:33:03 +08:00
Hongze Cheng
9d031f4d7b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-28 11:08:39 +08:00
Hongze Cheng
5bcc9c540a more code 2023-05-27 23:08:08 +08:00
Haojun Liao
1e786624b2
Merge pull request #21501 from taosdata/refact/fillhistory
fix(stream): set the skip offset when resume stream task.
2023-05-27 22:45:54 +08:00
Hongze Cheng
6668da43f8 more code 2023-05-27 20:13:07 +08:00
Hongze Cheng
e4b7318ced more code 2023-05-27 19:54:07 +08:00
Hongze Cheng
442586692b more code 2023-05-27 19:01:52 +08:00
Haojun Liao
d9de1813da Merge branch '3.0' into refact/fillhistory 2023-05-27 16:31:11 +08:00
Hongze Cheng
2cf70ab0cc more code 2023-05-27 15:29:22 +08:00
Hongze Cheng
880359ddb3 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-27 11:50:25 +08:00
Hongze Cheng
62a3c27176 more code 2023-05-27 11:49:59 +08:00
Hongze Cheng
b4b0db9a3d more code 2023-05-26 23:51:18 +08:00
Hongze Cheng
0090d02226 more code 2023-05-26 23:42:47 +08:00
Haojun Liao
b38e253019 fix(stream): set the skip offset when resume stream task. 2023-05-26 22:51:58 +08:00
Hongze Cheng
9abfe52c4d more code 2023-05-26 19:41:27 +08:00
Hongze Cheng
4cb4c6388c more code 2023-05-26 19:32:02 +08:00
wangmm0220
a3e214b9e8 fix:put poll to push manager if wal not exist when offset is latest 2023-05-26 19:17:04 +08:00
wangmm0220
50487255b3 fix:put poll to push manager if wal not exist when offset is latest 2023-05-26 19:02:40 +08:00
dmchen
24937c3d5b check empty dnode 2023-05-26 19:01:13 +08:00
wade zhang
c7886d319b
Merge pull request #21490 from taosdata/fix/check-offline-when-force
check offline when force
2023-05-26 17:03:29 +08:00
wade zhang
66b7d90849
Merge pull request #21479 from taosdata/fix/TD-24405
fix(cache): fix deleted data
2023-05-26 17:02:33 +08:00
Haojun Liao
87957e2bb0
Merge pull request #21478 from taosdata/fix/TD-23423
fix tsdb read error version
2023-05-26 16:56:09 +08:00
Hongze Cheng
f5286359fa more code 2023-05-26 15:57:31 +08:00
Hongze Cheng
7acc124dfc more code 2023-05-26 15:25:29 +08:00
Minglei Jin
34b9b322cd cache/var-data: realloc for cache reading 2023-05-26 15:01:57 +08:00
Hongze Cheng
b07ad168c3 more code 2023-05-26 14:49:50 +08:00
Haojun Liao
f61f37c936 fix(tmq): set the correct offset rsp when no poll occuring. 2023-05-26 14:20:01 +08:00
Minglei Jin
6e29d7879f cache/var-data: realloc var data 2023-05-26 14:13:01 +08:00
dmchen
fcf2b58aad check offline when force 2023-05-26 12:48:37 +08:00
Hongze Cheng
9156b297ae more code 2023-05-26 11:51:08 +08:00
Haojun Liao
1e845acabe fix(tmq): allow seek before get assignment 2023-05-26 11:34:12 +08:00
Minglei Jin
bb481c52b6 cache/skyline: fix skyline false condition 2023-05-26 11:26:55 +08:00
Haojun Liao
ccbea13012 Merge branch '3.0' into refact/fillhistory 2023-05-26 10:40:53 +08:00
Haojun Liao
974b59c238 fix(query): fix bug in iterating the table list. 2023-05-26 10:10:10 +08:00
Haojun Liao
409656f7b6 fix(query): fix bug in iterating the table list. 2023-05-26 10:05:54 +08:00
Hongze Cheng
fa00d0df77 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-26 09:55:27 +08:00
wade zhang
57b999233d
Merge pull request #21483 from taosdata/fix/prompt-message-when-2-mnode
prompt message when 2 mnode
2023-05-26 09:35:03 +08:00
Haojun Liao
cea8334427
Merge pull request #21449 from taosdata/refact/fillhistory
refactor: remove the module dependency.  TD-24279
2023-05-26 09:01:45 +08:00
liuyao
75eb724c37 fix tsdb read error version 2023-05-26 08:55:23 +08:00
Haojun Liao
e24ce2111f fix: set function ptr. 2023-05-26 00:00:07 +08:00
dmchen
efa1570b6e prompt message when 2 mnode 2023-05-25 20:10:40 +08:00
Haojun Liao
1e22d875b3 fix: fix dead lock. 2023-05-25 20:00:26 +08:00
Haojun Liao
1090afd108 fix(stream): add new file. 2023-05-25 18:46:53 +08:00
Haojun Liao
c3be7b14be fix: set correct function ptr. 2023-05-25 17:51:03 +08:00
Minglei Jin
8ee1288611 fix(cache): remove deleted data 2023-05-25 17:47:55 +08:00
Benguang Zhao
f8841046bc enh: refactor func name of mndTransPerformFinishStage 2023-05-25 15:44:26 +08:00
Benguang Zhao
30104f300c enh: refactor func names of mndTransPerformFinishedStage and mndTrancCheckConflict 2023-05-25 15:44:26 +08:00
Haojun Liao
0966213847 fix(arch): set the correct module api dependency. 2023-05-25 14:21:40 +08:00
Haojun Liao
da9f33a483 fix: fix error in set function ptr. 2023-05-25 09:56:34 +08:00
wade zhang
511ff7130b
Merge pull request #21445 from taosdata/fix/TD-24373
fix(cache/read): associate tbname with primary ts column
2023-05-25 08:01:51 +08:00
Haojun Liao
4a42f6b983 fix: fix error in api call. 2023-05-25 00:50:03 +08:00
Haojun Liao
a9b18d203d fix:fix error. 2023-05-24 23:49:26 +08:00
Haojun Liao
ab907e3344 fix(query): fix syntax error. 2023-05-24 21:53:40 +08:00
Hongze Cheng
5586c6d8fb Merge branch 'fix/shared_link_rocksdb' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-24 19:05:30 +08:00
Hongze Cheng
4d526ed0cd change more 2023-05-24 18:59:09 +08:00
Minglei Jin
fc5d06681e cache/last_row: treat none as null with last_row 2023-05-24 18:55:51 +08:00
Hongze Cheng
3c2a54ab4b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-24 18:28:56 +08:00
Hongze Cheng
7d7c8af852 more code 2023-05-24 18:28:44 +08:00
wangmm0220
8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +08:00
Haojun Liao
fe09705855 fix: set the init function pointer. 2023-05-24 17:13:20 +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
Ganlin Zhao
89bea7100f fix: fix count var type error 2023-05-24 00:31:05 -07:00
Haojun Liao
99f669434a
Merge pull request #21282 from taosdata/feature/TD-23117
feat:[TD-23117] add schema for ins_topics
2023-05-24 14:54:42 +08:00
dapan1121
cbbbaca553
Merge pull request #21437 from taosdata/fix/TD-23955-3.0
fix: delete index filter for desc query
2023-05-24 14:05:07 +08:00
wade zhang
398bf8f322
Merge pull request #21446 from taosdata/fix/confirm-msg-when-add-learner
comfirm msg when add learner
2023-05-24 13:54:15 +08:00
Hongze Cheng
ab7f6eb764 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-24 13:47:35 +08:00
Hongze Cheng
106f701ebb more code 2023-05-24 13:47:28 +08:00
Haojun Liao
b2ce45b07b refactor: do some internal refactor. 2023-05-24 13:39:20 +08:00
Haojun Liao
a2f29aa0f5 refactor: do some internal refactor. 2023-05-24 13:34:46 +08:00
Haojun Liao
1f7f326bed refactor: do some internal refactor and set the api function ptr. 2023-05-24 13:22:05 +08:00
Hongze Cheng
4775b26e5e more code 2023-05-24 11:52:38 +08:00
kailixu
ef899a0cc3 fix: delete index filter for desc query 2023-05-24 11:28:45 +08:00
dmchen
ab3d54aae3 comfirm msg when add learner 2023-05-24 11:08:41 +08:00
Minglei Jin
26bfa4363d fix(cache/read): associate tbname with primary ts column 2023-05-24 11:01:47 +08:00
Hongze Cheng
d6d0bf0e41 enh: add varchar sma 2023-05-24 10:47:26 +08:00
liuyao
180abf2229 set agg task status 2023-05-24 09:34:40 +08:00
Hongze Cheng
166a86db69 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-24 09:31:20 +08:00
Hongze Cheng
0c09d6f0d2 more code 2023-05-24 09:30:14 +08:00
liuyao
b5d01f9bab set agg pause status 2023-05-24 09:19:28 +08:00
Haojun Liao
39a1fa8f78 refactor: do some internal refactor. 2023-05-23 19:20:25 +08:00
Haojun Liao
66477a28ca refactor: do some internal refactor. 2023-05-23 19:10:50 +08:00
Haojun Liao
3d084adf1f Merge remote-tracking branch 'origin/refact/fillhistory' into refact/fillhistory
# Conflicts:
#	source/dnode/vnode/inc/vnode.h
#	source/libs/executor/src/executil.c
#	source/libs/index/CMakeLists.txt
#	source/libs/index/src/indexFilter.c
2023-05-23 18:32:47 +08:00
kailixu
34cf6aad30 fix: alter dnode option has no effect 2023-05-23 18:29:53 +08:00
Haojun Liao
e67b532d8a refactor: refactor the module dependency. 2023-05-23 18:29:23 +08:00
kailixu
82b8c3c3d1 fix: delete index filter for desc query 2023-05-23 18:21:21 +08:00
kailixu
18e83173c8 fix: delete index filter for desc query 2023-05-23 17:21:45 +08:00
wade zhang
68a98d4d09
Merge pull request #21429 from taosdata/fix/TD-24306
fix(cache): sychronize commit, read and write threads with writebatch
2023-05-23 16:20:59 +08:00
Hongze Cheng
1c10694fde more code 2023-05-23 16:20:19 +08:00
Hongze Cheng
36b2495cf6 more code 2023-05-23 15:07:42 +08:00
Minglei Jin
6d620a7d7c fix(cache/read): set none to null instead of skipping column 2023-05-23 14:51:26 +08:00
Hongze Cheng
5d5add3f4b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-23 14:31:47 +08:00
Hongze Cheng
cd39d129c2 more code 2023-05-23 14:25:47 +08:00
Hongze Cheng
85c4c61027 more code 2023-05-23 14:18:23 +08:00
Minglei Jin
81048f93b0 fix(cache): sychronize commit, read and write threads with writebatch 2023-05-23 13:44:33 +08:00
yihaoDeng
c15b1e3520 opt compile 2023-05-23 11:46:02 +08:00
Hongze Cheng
91a5e17b9b more code 2023-05-23 11:45:33 +08:00
Hongze Cheng
57bde4f311 more code 2023-05-23 11:35:44 +08:00
Hongze Cheng
ca28c99f80 more code 2023-05-23 11:19:24 +08:00
wangmm0220
ed612088c0 fix:lost data because tsdbreader or task is killed 2023-05-23 10:32:13 +08:00
Hongze Cheng
89eafa18cb Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-23 09:58:53 +08:00
Hongze Cheng
46b72f340a more fix 2023-05-23 09:58:40 +08:00
kailixu
a171c0c860 Merge branch '3.0' into fix/TD-21457-3.0 2023-05-23 09:27:31 +08:00
wade zhang
9e73a69316
Merge pull request #21389 from taosdata/fix/TD-24306
fix(cache/commit): skip batch write if empty
2023-05-23 08:22:33 +08:00
kailixu
a3bf49d22f chore: revert 2023-05-22 20:35:52 +08:00
kailixu
c75aa54a3d fix: tsdb read and append _wstart for tsma 2023-05-22 20:33:29 +08:00
wangmm0220
d8387b95ff fix:set task status to 0 in inti 2023-05-22 20:14:43 +08:00
Hongze Cheng
c16126fa96 more code 2023-05-22 18:39:10 +08:00
Haojun Liao
f3491310a9
Merge pull request #21411 from taosdata/fix/TD-24144
fix:remove get schema from previous for taosx
2023-05-22 18:37:20 +08:00
Minglei Jin
75ccd024a2 cache/writebatch: separate read & write batches 2023-05-22 18:06:58 +08:00
dapan1121
08ff4f4540 fix: crash issue 2023-05-22 17:06:01 +08:00
Hongze Cheng
8b83c85b0c more code 2023-05-22 16:28:31 +08:00
kailixu
f18fc19d76 fix: tsdb read and tsma _wstart append 2023-05-22 16:13:50 +08:00
Hui Li
0f4fb1c31d
Merge pull request #21407 from taosdata/mark/tmq
fix:set task code success after kill
2023-05-22 16:10:18 +08:00
wangmm0220
ae515851c4 fix:remove get schema from previous for taosx 2023-05-22 15:32:30 +08:00
Minglei Jin
21adc23af4 cache/loading: skip partial loading tables 2023-05-22 15:21:19 +08:00
Hongze Cheng
e731a08f2d Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-22 14:07:49 +08:00
wangmm0220
591b51f624 fix:set task code success after kill 2023-05-22 12:42:21 +08:00
Haojun Liao
f520de0dab refactor: adjust the module dependency. 2023-05-22 10:07:01 +08:00
Hui Li
3f824e2045
Merge pull request #21355 from taosdata/mark/tmq
fix:error in pHandle lock
2023-05-22 08:57:45 +08:00
Haojun Liao
9423001fea
Merge pull request #21396 from taosdata/refact/fillhistory
Refact/fillhistory
2023-05-21 01:12:00 +08:00
Haojun Liao
dcb91082f9 fix(stream): fix error. 2023-05-20 23:37:40 +08:00
Haojun Liao
899e4d3350 refactor: do some internal refactor. 2023-05-20 18:13:58 +08:00
Haojun Liao
de44c9160c refactor: do some internal refactor. 2023-05-20 18:05:39 +08:00
wangmm0220
7b735c67d0 fix:move sleep logic from rpc thread to tmq thread & fix some error 2023-05-20 16:36:25 +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
dapan1121
6e5ec3d097
Merge pull request #21358 from taosdata/feat/TD-23362-3.0
feat: support update active code by SQL
2023-05-20 14:09:20 +08:00
wangmm0220
04858fae22 fix:tsdbreader is free by mistake 2023-05-20 12:20:54 +08:00
wangmm0220
1ddbdad33c fix:set task status killed when vnode receive subscribe msg from mnode 2023-05-19 21:40:33 +08:00
wangmm0220
33d6df8717 fix:set task status killed when vnode receive subscribe msg from mnode 2023-05-19 19:11:49 +08:00
dapan1121
778b7b84fd
Merge pull request #21371 from taosdata/fix/TD-24234
fix: distinct wrong result issue
2023-05-19 18:15:04 +08:00
Haojun Liao
e2ec8d738c other: add some logs. 2023-05-19 18:08:01 +08:00
wangmm0220
c7c255e967 fix:set task status killed when vnode receive subscribe msg from mnode 2023-05-19 18:06:05 +08:00
Hongze Cheng
70c2d5ae49 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-19 17:57:02 +08:00
Hongze Cheng
545d7a6ad6 more code 2023-05-19 17:56:21 +08:00
Haojun Liao
bcaa44e290
Merge pull request #21385 from taosdata/fix/liaohj_main
fix(query): add null check.
2023-05-19 17:55:02 +08:00
Hongze Cheng
de1bdf97f9 more code 2023-05-19 17:20:53 +08:00
wangmm0220
ff2b545b27 fix:set task status killed when vnode receive subscribe msg from mnode 2023-05-19 17:16:47 +08:00
Minglei Jin
a5c1b9a054 cache/commit: skip batch write if empty 2023-05-19 17:10:24 +08:00
dapan1121
42c65898ea
Merge pull request #21335 from taosdata/feat/TD-22746
feat: support client meta control
2023-05-19 16:55:08 +08:00
dapan1121
6e6853413c fix: db cfg memory issue 2023-05-19 16:48:05 +08:00
Hongze Cheng
b75aca7538 more code 2023-05-19 16:44:32 +08:00
Minglei Jin
962db65775 Merge branch '3.0' into fix/TD-23549 2023-05-19 16:19:57 +08:00
kailixu
8fd4b27c43 chore: code optimization 2023-05-19 16:10:44 +08:00
kailixu
301f7f7a41 Merge branch 'feat/TD-23362-3.0' of https://github.com/taosdata/TDengine into feat/TD-23362-3.0 2023-05-19 16:06:36 +08:00
kailixu
8571e6f6c5 chore: code optimization 2023-05-19 16:06:20 +08:00
Haojun Liao
be35194d16 fix(query): add null check. 2023-05-19 15:54:46 +08:00
Hongze Cheng
1c4abc62c3 more code 2023-05-19 15:16:01 +08:00
wangmm0220
f7ab8dabf0 fix:[TD-23972] push subscribe msg to vnode even though consumer not change 2023-05-19 15:14:39 +08:00
wangmm0220
238254e49e fix:add task status check in doQueueScan & checkout consumer in tqProcessPollReq 2023-05-19 14:06:43 +08:00
Hongze Cheng
e247870548 more code 2023-05-19 13:35:32 +08:00
Haojun Liao
d8525123a2 enh(stream): add API to retrieve last ts for multi-tables. 2023-05-19 11:03:41 +08:00
Hongze Cheng
66ea10755e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-19 10:58:12 +08:00
Hongze Cheng
944d6a9c74 more code 2023-05-19 10:24:07 +08:00
wade zhang
208c9756cf
Merge pull request #21331 from taosdata/fix/TD-24097
enh(cache/batchread): load columns in one trip
2023-05-19 10:20:47 +08:00
kailixu
de93895859 chore: code optimization 2023-05-19 09:25:26 +08:00
wade zhang
1ade314043
Merge pull request #21325 from taosdata/feat/force-drop-dnode
Feat/force drop dnode
2023-05-19 09:23:54 +08:00
dapan1121
e882601b67 fix: last table scan issue 2023-05-19 09:15:48 +08:00
wade zhang
7374ea2f0b
Merge pull request #21322 from taosdata/fix/status-resp-return-null-when-only-one-ep
status resp return null when only one ep
2023-05-19 09:04:41 +08:00
kailixu
c770a5c306 chore: code optimization 2023-05-19 06:59:28 +08:00
wangmm0220
bca1af3f5d fix:change tmq subscribe try time to 60mins 2023-05-18 21:18:44 +08:00
kailixu
e3f194ed9b chore: code optimization 2023-05-18 19:13:04 +08:00
Minglei Jin
35f74ce2e8 cache/schema: not cache schema 2023-05-18 18:35:06 +08:00
kailixu
1de90208f7 test: test case for alter dnode active code 2023-05-18 18:02:48 +08:00
Haojun Liao
c4c5bbb65c other: merge 3.0 2023-05-18 17:28:40 +08:00
Haojun Liao
dbd52ecffa
Merge pull request #21364 from taosdata/enh/rocksdbSstate
state merge into 3.0
2023-05-18 17:25:44 +08:00
Hongze Cheng
a622a1065a more code 2023-05-18 17:08:46 +08:00
liuyao
da3fc5111e fix pause agg task 2023-05-18 15:29:41 +08:00
Hongze Cheng
c7d1c88fbc more code 2023-05-18 15:06:21 +08:00
Minglei Jin
f95867d255 cache/del: fix lru key length 2023-05-18 14:48:08 +08:00
Minglei Jin
3b316051bf cache/schema: fix schema double free 2023-05-18 13:51:07 +08:00
yihaoDeng
9380b22394 merge 3.0 2023-05-18 05:46:38 +00:00
kailixu
0e891c5c14 chore: more code 2023-05-18 13:30:45 +08:00
Minglei Jin
0f8b7c87f7 cache/delete: fix rocks key length 2023-05-18 13:15:25 +08:00
kailixu
ab06dd04f4 feat: support update active code in sdb 2023-05-18 13:01:28 +08:00
kailixu
5098d44068 feat: support update active code in sdb 2023-05-18 12:59:44 +08:00
Haojun Liao
5d5b2bb16a refactor: do some internal refactor. 2023-05-18 12:59:19 +08:00
Haojun Liao
ce61b2ab00 fix: fix syntax error in tqRead 2023-05-18 11:35:45 +08:00
Haojun Liao
c3491dae16 refactor: do some interal refactor. 2023-05-18 10:56:40 +08:00
Haojun Liao
81f821a6fc refactor: do some internal refactor. 2023-05-18 10:51:43 +08:00
Hongze Cheng
c8ba83cb31 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-18 10:38:50 +08:00
dapan1121
f5ebc17fae
Merge branch '3.0' into feat/TD-22746 2023-05-18 09:10:49 +08:00
dmchen
32c6ef4b6e fix ci 2023-05-17 23:09:16 +08:00
kailixu
cf0d3ddde3 feat: support update active code by SQL 2023-05-17 20:27:12 +08:00
wangmm0220
54f4860139 fix:rollback [TD-23972] push subscribe msg to vnode even though consumer not change 2023-05-17 19:44:56 +08:00
Haojun Liao
b9bda9b30f fix(stream): set the correct start offset for resumed stream task. 2023-05-17 19:36:42 +08:00
wangmm0220
405cdfa7bc fix:error in pHandle lock 2023-05-17 19:02:16 +08:00
wangmm0220
1d9dd153ea fix:error in pHandle lock 2023-05-17 18:57:45 +08:00
Minglei Jin
765cc72618 cache/memtable: update cache when flag is on 2023-05-17 18:56:03 +08:00
dmchen
c7911c6640 fix ci 2023-05-17 18:33:35 +08:00
Haojun Liao
73b1a4bddf fix(stream): fix syntax error. 2023-05-17 18:29:52 +08:00
Haojun Liao
92feb89a09 refactor: do some internal refactor. 2023-05-17 18:08:04 +08:00
Minglei Jin
5778fa676f Merge branch '3.0' into fix/TD-24097 2023-05-17 18:04:10 +08:00
Haojun Liao
ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +08:00
Hongze Cheng
d4ab729c10 more code 2023-05-17 17:14:11 +08:00
Hongze Cheng
4b5ea55d1a more code 2023-05-17 16:46:10 +08:00
Haojun Liao
a4d9210b07 fix(tmq): add filter for taosX poll rsp. 2023-05-17 16:40:44 +08:00
Minglei Jin
f428a68ec1 cache/update: update lru when deleting or updating 2023-05-17 16:08:48 +08:00
wangmm0220
4bb25c280f fix:add log 2023-05-17 15:54:36 +08:00
Haojun Liao
041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
Minglei Jin
b892b1fdfe cache/flag: fix cache flag compiling issue 2023-05-17 15:26:10 +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
Hongze Cheng
ccbc7c5ba0 more code 2023-05-17 15:18:08 +08:00
Haojun Liao
366cd1871a
Merge pull request #21314 from taosdata/fix/liaohj_main
fix(stream):extract delete msg from wal.
2023-05-17 14:52:49 +08:00
Minglei Jin
e95613ec10 cache/commit: update & commit cache if cache not off 2023-05-17 14:32:02 +08:00
Minglei Jin
86e3c1d20d cache/stt: remove ts from merge tree loading 2023-05-17 14:05:28 +08:00
Hongze Cheng
7fd5de25e3 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-17 11:45:52 +08:00
Haojun Liao
3896e148fd log(tmq): add some logs. 2023-05-17 11:37:38 +08:00
dapan1121
fb7a06e06e
Merge pull request #21271 from taosdata/enh/tsbsPerf.4
Enh/tsbs perf.4
2023-05-17 11:00:14 +08:00
Haojun Liao
f3f52c0232 fix(stream): add some logs and set the wal offset to be the ended version when finishing the step2 recover stage. 2023-05-17 10:43:23 +08:00
Haojun Liao
d457b84aba
Merge pull request #21311 from taosdata/mark/tmq
fix:add lock to pHandle for safety
2023-05-17 09:11:39 +08:00
wangmm0220
c52a4ea4f0 fix:merge from 3.0 2023-05-17 01:11:55 +08:00
Minglei Jin
756fefaa29 cache/batchread: load columns in one trip 2023-05-16 18:56:05 +08:00
wangmm0220
90099ea1c0 fix:compile error in windows 2023-05-16 18:41:35 +08:00
wangmm0220
e6860cada8 fix:compile error in windows 2023-05-16 18:35:10 +08:00
wangmm0220
a52939127f fix:dead lock 2023-05-16 17:58:31 +08:00
Hongze Cheng
0e466a97f0 more code 2023-05-16 15:48:17 +08:00
dapan1121
0eb94d97d3
Merge pull request #21320 from taosdata/fix/TD-24167
pause source task
2023-05-16 15:39:59 +08:00
Hongze Cheng
f39b8a0652 more code 2023-05-16 15:31:38 +08:00
Hongze Cheng
ec7cb5f217 more code 2023-05-16 15:19:13 +08:00
kailixu
9faefb7498 Merge branch 'main' into enh/TD-22404-M 2023-05-16 15:17:42 +08:00
Hongze Cheng
0b17e3fe1c more code 2023-05-16 14:35:57 +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
e7df9b8fa0 enh: optimize copy group result 2023-05-16 14:12:48 +08:00
dmchen
9ff56a4e2b unsafe command 2023-05-16 14:02:54 +08:00
wangmm0220
e6e0ac7603 fix:alwalys in exec if consumer Id mismatch & check result for wal seek ver 2023-05-16 14:01:38 +08:00
Haojun Liao
e35d145734 fix(stream): fix memory leak. 2023-05-16 13:59:13 +08:00
liuyao
3c81137ffe pause source task 2023-05-16 13:43:46 +08:00
Hongze Cheng
7cb10a2b70 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-16 13:42:47 +08:00
Hongze Cheng
d273d10ff0 more code 2023-05-16 11:39:53 +08:00
dmchen
8e9b253574 status resp return null when only one ep 2023-05-16 11:31:23 +08:00
Haojun Liao
cbb02458ed fix(stream): fix the seek condition. 2023-05-16 11:19:11 +08:00
Hongze Cheng
7cc7d35be4 more code 2023-05-16 11:09:15 +08:00
Hui Li
ea50ba248e
Merge pull request #21309 from taosdata/FIX/TD-24069-main
fix: ignore crash signals in dmLogCrash
2023-05-16 11:04:21 +08:00
dapan1121
ee2521a6ab Merge remote-tracking branch 'origin/3.0' into feat/TD-22746 2023-05-16 10:53:21 +08:00
dapan1121
dc67223deb fix: file fd not clear issue 2023-05-16 10:47:49 +08:00
Haojun Liao
30e7cb5860 fix(tmq): avoid return delete msg for table subscription. 2023-05-16 10:42:02 +08:00
Hongze Cheng
f40986408c more code 2023-05-16 10:34:02 +08:00
Haojun Liao
d1a746e4e7
Merge pull request #21295 from taosdata/enh/rocksdbSstateMerge
Enh/rocksdb sstate merge
2023-05-16 10:15:45 +08:00
Hongze Cheng
96bfbbe784 refact more code 2023-05-16 10:07:46 +08:00
Hongze Cheng
b59fe9d5fc Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-16 09:46:52 +08:00
Hongze Cheng
e783609ebd more code 2023-05-16 09:36:32 +08:00
Haojun Liao
5e16db4e19 fix(stream):extract delete msg from wal. 2023-05-16 08:54:03 +08:00
wangmm0220
62520af2e5 fix:core dump 2023-05-16 00:32:21 +08:00
Benguang Zhao
b479d510da fix: ignore crash signals in dmLogCrash 2023-05-15 19:39:03 +08:00
Haojun Liao
d585f34ea9 fix(tmq): avoid seek to previous position. 2023-05-15 18:48:50 +08:00
wangmm0220
36454c73ed fix:add lock to pHandle for safety 2023-05-15 18:38:14 +08:00
dapan1121
143d3b2ee9
Merge pull request #21291 from taosdata/feat/TD-24115-3.0D
feat: create dnode limited by grant of cpu cores
2023-05-15 18:01:03 +08:00
Hongze Cheng
f8220e8b90 more code 2023-05-15 17:26:00 +08:00
Haojun Liao
04c8c933c8 fix(stream): add initial offset check. 2023-05-15 17:15:03 +08:00
Hongze Cheng
68f07c4bec more code 2023-05-15 17:14:45 +08:00
Hongze Cheng
23ad540035 more code 2023-05-15 15:56:13 +08:00
Hongze Cheng
066786e681 more code 2023-05-15 15:47:06 +08:00
Hongze Cheng
c31b1034cd Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-15 14:26:40 +08:00
Haojun Liao
17592ea294 refactor: do some internal refactor. 2023-05-15 13:49:26 +08:00
Haojun Liao
9feb0a86d6 fix(tmq): assert after the assignment of value. 2023-05-15 12:46:00 +08:00
Hongze Cheng
33b8ff9bce more code 2023-05-15 11:39:00 +08:00
Haojun Liao
6aa197123e refactor: do some internal refactor. 2023-05-15 11:29:23 +08:00
cadem
72c543563f force drop dnode 2023-05-15 11:20:27 +08:00
Haojun Liao
6f7add8870 refactor: do some internal refactor. 2023-05-15 10:48:03 +08:00
Haojun Liao
6cbedc5d4a refactor: do some internal refactor. 2023-05-15 10:45:01 +08:00
yihaoDeng
9c0d2c87c6 Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-15 01:52:42 +00:00
Haojun Liao
ac287572ef fix: free table sink info 2023-05-15 00:03:53 +08:00
Haojun Liao
3d00f6ce54 refactor: do some internal refactor. 2023-05-14 22:08:17 +08:00
Haojun Liao
8e15c64499 refactor: do some internal refactor. 2023-05-13 23:22:36 +08:00
Haojun Liao
170c603995 other: merge 3.0 2023-05-13 20:16:55 +08:00
kailixu
2b9f9add3a feat: create dnode limited by grant of cpu cores 2023-05-13 20:10:02 +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
Haojun Liao
40ffe0cd83 fix(tmq): check handle status before close sub. 2023-05-13 16:45:21 +08:00
Haojun Liao
b383651d8b fix(tmq): fix the invalid write and set the flag when closing taosx sub. 2023-05-13 16:17:26 +08:00
Haojun Liao
5b2ef2a675 other: merge main and remove invalid return data for poll. 2023-05-13 02:31:39 +08:00
wangmm0220
c95e314896 feat:[TD-23117] fix overflow in stack & add test case 2023-05-12 19:43:16 +08:00
dapan1121
3ca5559b37 fix: invalid read issue 2023-05-12 19:27:11 +08:00
wangmm0220
e17a105eff feat:[TD-23117] add schema for ins_topics 2023-05-12 18:14:43 +08:00
Haojun Liao
181f9063e9 other: merge 3.0 2023-05-12 18:13:28 +08:00
dapan1121
1a52b3d519 fix: taosd crash issue 2023-05-12 18:13:16 +08:00
wade zhang
f1ca28df09
Merge pull request #21274 from taosdata/fix/invalid-message
invalid message
2023-05-12 17:25:28 +08:00
Hongze Cheng
e7ebb5c2db more code 2023-05-12 16:23:07 +08:00
Shuduo Sang
fac7381ec3
fix: error wording about reconfig (#21049) 2023-05-12 16:20:52 +08:00
Haojun Liao
99422c87c3 fix(tq): set the offset to be the consume offset, instead of the committed offset. And update the table sim. 2023-05-12 16:14:56 +08:00
dmchen
9ebe710480 invalid message 2023-05-12 15:21:30 +08:00
kailixu
a39ff5f3bc chore: more code 2023-05-12 14:26:15 +08:00
Hongze Cheng
a15a1ab806 Merge branches 'enh/tsdb_optimize' and '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-12 14:14:45 +08:00
kailixu
0c9aa5bf3f merge main 2023-05-12 13:55:22 +08:00
kailixu
00f15c19aa merge main 2023-05-12 13:52:47 +08:00
dapan1121
69795286fa Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4 2023-05-12 13:46:16 +08:00
dapan1121
0dd0b16842 enh: optimize table scan for last query 2023-05-12 13:30:17 +08:00
Haojun Liao
7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
wangmm0220
cd105381a9 fix:[TD-24111]avoid exec pHandle task in multi query thread 2023-05-12 11:41:59 +08:00
wangmm0220
d85f0f56d5 fix:[TD-24111]avoid exec pHandle task in multi query thread 2023-05-12 10:51:13 +08:00
Hongze Cheng
a792bcad68 more code 2023-05-12 09:07:50 +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
liuyao
8b7b804606 opt partition by tbname 2023-05-11 18:47:27 +08:00
dapan1121
eda4c85dbb
Merge pull request #21253 from taosdata/feat/TD-23643-3.0
feat: support connectors licensing
2023-05-11 18:19:04 +08:00
Hongze Cheng
2a754394bf more code 2023-05-11 18:16:55 +08:00
Haojun Liao
26bea33ccc fix(tmq): add null check for print log. 2023-05-11 17:56:19 +08:00
yihaoDeng
a6fc4f9cc2 Merge branch 'enh/main' into enh/rocksdbSstateMerge 2023-05-11 08:21:13 +00:00
kailixu
4339a0a320 chore: for compatibility 2023-05-11 15:09:02 +08:00
kailixu
efd6b578ff chore: more code 2023-05-11 14:57:50 +08:00
yihaoDeng
f652f71d68 factor code 2023-05-11 06:37:57 +00:00
Haojun Liao
a76e47ef54 refactor: add some logs. 2023-05-11 14:19:27 +08:00
Haojun Liao
f0f90888ab refactor: update some logs. 2023-05-11 13:48:50 +08:00
kailixu
f444b7ac6a chore: more code 2023-05-11 13:03:21 +08:00
Haojun Liao
2b736ffd60 fix(stream): avoid duplicated task id in task id list. 2023-05-11 11:47:57 +08:00
kailixu
bd00a4f217 chore:more code 2023-05-11 11:32:39 +08:00
wade zhang
a7a85fb796
Merge pull request #21244 from taosdata/FIX/TD-24069-main
fix: not to set ignoring signals in dmLogCrash
2023-05-11 11:01:13 +08:00
Haojun Liao
8a1b0ed052 refactor: do some internal refactor. 2023-05-11 10:35:09 +08:00
Haojun Liao
b02b3117b5 refactor: do some internal refactor. 2023-05-11 10:14:29 +08:00
dapan1121
bb6b9d5dec
Merge pull request #21232 from wangjiaming0909/fix/TD-24007
fix: connect error when login with information_schema/performance_sc…
2023-05-11 09:52:29 +08:00
wade zhang
72ebd9955c
Merge pull request #21247 from taosdata/feat/restore-dnode
Feat/restore dnode
2023-05-11 09:29:22 +08:00
Minglei Jin
7d23b176e5 meta/table: new api metaTrimTables for vnode split 2023-05-11 09:09:32 +08:00
kailixu
1cf0b485e8 Merge branch '3.0' into feat/TD-23643-3.0 2023-05-11 00:17:24 +08:00
kailixu
fd107f2c26 chore: more code 2023-05-11 00:16:41 +08:00
Minglei Jin
81d4673153 cache/get: clear writebatch after writing 2023-05-10 17:52:26 +08:00
dapan1121
daedb3618b Merge remote-tracking branch 'origin/3.0' into feat/TD-22746 2023-05-10 17:47:11 +08:00