Commit graph

7700 commits

Author SHA1 Message Date
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
Ganlin Zhao
89bea7100f fix: fix count var type error 2023-05-24 00:31:05 -07: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
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
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
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
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
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
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
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
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
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
dapan1121
e882601b67 fix: last table scan issue 2023-05-19 09:15:48 +08:00
wangmm0220
bca1af3f5d fix:change tmq subscribe try time to 60mins 2023-05-18 21:18:44 +08:00
Minglei Jin
35f74ce2e8 cache/schema: not cache schema 2023-05-18 18:35:06 +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
Minglei Jin
0f8b7c87f7 cache/delete: fix rocks key length 2023-05-18 13:15:25 +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
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
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
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
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
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
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
Hongze Cheng
d273d10ff0 more code 2023-05-16 11:39:53 +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
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
Hongze Cheng
96bfbbe784 refact more code 2023-05-16 10:07:46 +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
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
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
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
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
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
dapan1121
3ca5559b37 fix: invalid read issue 2023-05-12 19:27:11 +08:00
dapan1121
1a52b3d519 fix: taosd crash issue 2023-05-12 18:13:16 +08:00
Hongze Cheng
e7ebb5c2db more code 2023-05-12 16:23:07 +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
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
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
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
Haojun Liao
2b736ffd60 fix(stream): avoid duplicated task id in task id list. 2023-05-11 11:47:57 +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
Minglei Jin
7d23b176e5 meta/table: new api metaTrimTables for vnode split 2023-05-11 09:09:32 +08:00
Minglei Jin
81d4673153 cache/get: clear writebatch after writing 2023-05-10 17:52:26 +08:00
Minglei Jin
74c9a4b80b Merge branch '3.0' into fix/TS-3181 2023-05-10 17:42:46 +08:00
Minglei Jin
10cee51d32 fix(cache/get): move rocks wring out of column iterating 2023-05-10 17:32:51 +08:00
yihaoDeng
5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
Hongze Cheng
3f4b4b5235 more code 2023-05-10 14:54:13 +08:00
Minglei Jin
9bbf36d35d cache/serialize: keep original col value untouched 2023-05-10 14:39:51 +08:00
Minglei Jin
84987c494a cache/fs: fix primary ts column loading 2023-05-10 12:25:36 +08:00
Hui Li
b1b85c3d95
Merge pull request #21227 from taosdata/fix/TD-24058
fix:[TD-24058]send poll result to client if no data 5 times to avoid …
2023-05-10 11:12:20 +08:00
Minglei Jin
0958fe5635 cache/binary: memcpy binary pData if pLastCol is from rocks lookup 2023-05-10 10:15:48 +08:00
Yihao Deng
c6e5879f44
Merge branch 'main' into enh/rocksdbSstate 2023-05-10 10:04:28 +08:00
yihaoDeng
8356533eb1 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-09 12:13:16 +00:00
dapan1121
d0e26d2efc
Merge pull request #21216 from taosdata/fix/TS-3358
fix:after restarting taosd, stream does not work.
2023-05-09 19:01:43 +08:00
dapan1121
39adac8537
Merge pull request #21224 from taosdata/fix/TS-3376
fix: fix crash caused by tsdbReaderResume error not handled
2023-05-09 18:56:36 +08:00
wangmm0220
587f750c94 fix:[TD-24058]send poll result to client if no data 5 times to avoid lost data 2023-05-09 17:42:11 +08:00
liuyao
8224d49702 fix:after restarting taosd, stream does not work. 2023-05-09 17:24:11 +08:00
Ganlin Zhao
76dd5a962a fix: fix crash caused by tsdbReaderResume error not handled 2023-05-09 17:19:45 +08:00
dapan1121
52fd6a84ac enh: support db cfg cache update 2023-05-09 17:04:20 +08:00
yihaoDeng
55014aa003 Merge branch 'enh/rocksdbSstate' into enh/rocksdbSstateMerge 2023-05-09 08:58:51 +00:00
Hongze Cheng
c748e4af25 more code 2023-05-09 16:46:23 +08:00
Hongze Cheng
61eb991eca more code 2023-05-09 16:24:18 +08:00
Hongze Cheng
023281ae32 more code 2023-05-09 14:50:37 +08:00
Hongze Cheng
faadf5d3a2 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-09 13:32:16 +08:00
Minglei Jin
412fc9b0bc cache/memory: fix double free issue with tsim/parser/last_cache.sim 2023-05-09 11:09:53 +08:00
Minglei Jin
064c46bc7b cache/dclp: double check to load from tsdb 2023-05-09 09:17:26 +08:00
dapan1121
1f973123c4
Merge pull request #21177 from taosdata/fix/TD-23972
fix:[TD-23972] push subscribe msg to vnode even though consumer not c…
2023-05-08 20:29:31 +08:00
Hongze Cheng
f45d10bb28 more code 2023-05-08 18:15:31 +08:00
Minglei Jin
9b275f7421 cache/last_row cid: first round implementation for last_row with cid 2023-05-08 17:33:35 +08:00
Hongze Cheng
ebfd8b03a3 more code 2023-05-08 16:16:45 +08:00
Minglei Jin
e0f0536d2d cache/serialize: nullize pData if zero-length 2023-05-08 15:56:54 +08:00
Hongze Cheng
198fe28967 more code 2023-05-08 13:20:15 +08:00
Minglei Jin
5349fac910 cache/last: use rowTs instead of lastRowTs 2023-05-08 11:33:01 +08:00
Minglei Jin
2eec395720 cache/commit: flush cache when tsdb commits data 2023-05-08 11:14:59 +08:00
Minglei Jin
198ce399d2 cache/get: store recalced column value back into rocks 2023-05-08 10:59:56 +08:00
Hongze Cheng
592c4393dd more code 2023-05-08 10:53:39 +08:00
Hongze Cheng
c9dc9b3170 more code 2023-05-08 10:27:55 +08:00
Yihao Deng
cb223acf82
Merge branch 'main' into enh/rocksdbSstate 2023-05-08 09:45:27 +08:00
yihaoDeng
08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
dapan1121
c83367e455 enh: add table group cache 2023-05-06 19:24:47 +08:00
Haojun Liao
9392c03b7f fix(stream): add some logs. 2023-05-06 19:05:55 +08:00
Haojun Liao
c6007d53e8
Merge pull request #21190 from taosdata/fix/TS-3347
fix:[TS-3347]set ver to first version if version stored is smaller th…
2023-05-06 18:51:49 +08:00
Minglei Jin
dca985214c cache/last: new api: merge last with cid 2023-05-06 18:44:15 +08:00
wangmm0220
279fe0803f fix:[TD-23972] push subscribe msg to vnode even though consumer not change 2023-05-06 18:35:24 +08:00
wangmm0220
ee32620808 fix:[TS-3347]set ver to first version if version stored is smaller than first version in wal when subscribe db 2023-05-06 16:22:30 +08:00
Minglei Jin
596bee8028 Merge branch '3.0' into fix/TD-23623 2023-05-06 16:07:26 +08:00
Haojun Liao
f1a638c196 refactor: do some internal refactor. 2023-05-06 13:36:42 +08:00
Haojun Liao
6b305bf745 refactor: do some internal refactor. 2023-05-06 13:35:18 +08:00
Hongze Cheng
8f058c8571 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-06 13:22:49 +08:00
Haojun Liao
7dfa4c2105 fix(query): fix syntax error. 2023-05-06 13:13:28 +08:00
Haojun Liao
da6212bab0 other: merge main. 2023-05-06 12:51:38 +08:00
wangmm0220
446097434e fix:[TD-23972] push subscribe msg to vnode even though consumer not change 2023-05-06 11:06:41 +08:00
wangmm0220
55eddbfb5e fix:[TD-23972] push subscribe msg to vnode even though consumer not change 2023-05-06 10:54:05 +08:00
Haojun Liao
1fa4327f6c Merge branch 'main' into fix/liaohj_main 2023-05-06 10:15:23 +08:00
Haojun Liao
29fcd1b83a refactor: do some internal refactor. 2023-05-06 10:08:05 +08:00
Haojun Liao
5d4a3116d5
Merge pull request #21139 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-05-06 09:49:26 +08:00
Haojun Liao
50ba55561b fix(stream): set correct group id and table id. 2023-05-05 22:11:59 +08:00
Haojun Liao
8958aabe4b fix(stream): opt task scan performance. 2023-05-05 19:33:30 +08:00
Haojun Liao
08ce790cda fix(query): fix memory leak. 2023-05-05 18:20:27 +08:00
Hongze Cheng
2fd7974113 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-05-05 15:39:29 +08:00
Haojun Liao
8b12d4d3da fix(stream): secure the delete task operation. TD-1198 2023-05-05 15:02:03 +08:00
Benguang Zhao
c949fee06b enh: commit vnode after consolidating alter hash range 2023-05-05 13:48:04 +08:00
Haojun Liao
38cbe0b768 fix(query): fix the invalid copmarison. 2023-05-05 12:52:10 +08:00
Haojun Liao
42b23e6471 fix(query): stop tsdb reader asap. 2023-05-05 10:40:55 +08:00
Minglei Jin
992480eb00 cache/read: fix ltype calc 2023-05-05 10:22:59 +08:00
Haojun Liao
32b4642dac fix(tmq): fix invalid free. 2023-05-05 00:57:43 +08:00
Haojun Liao
25f451ba81 fix(tmq): fix result data block info. 2023-05-04 23:34:35 +08:00
Benguang Zhao
5d63f438b5 enh: confirm alter hash range 2023-05-04 19:43:11 +08:00
Minglei Jin
90be20a662 cache/lstring: use ltype with cache/get 2023-05-04 18:08:03 +08:00
Haojun Liao
1a8a834a2c fix(tmq): fix memory leak. 2023-05-04 17:03:53 +08:00
Haojun Liao
23c49594b7 other: merge main. 2023-05-04 16:41:53 +08:00
Haojun Liao
09a04052ec refactor: do some internal refactor. 2023-05-04 16:15:14 +08:00
Hongze Cheng
80511b334d more code 2023-05-04 13:28:16 +08:00
Haojun Liao
11dccf12de
Merge pull request #21131 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-05-04 11:26:00 +08:00
Haojun Liao
851193a033
Merge pull request #21060 from taosdata/fix/TS-3222
opti:change push mgr to consume msg for subscribe
2023-05-04 10:16:41 +08:00
liuyao
d8a1f15d10 fix resum bug 2023-05-04 09:28:06 +08:00
kailixu
94d945a889 Merge branch 'main' into enh/TD-22404-M 2023-05-02 18:34:41 +08:00
Haojun Liao
3b814f2478 fix(stream): do some internal refactor. 2023-05-01 23:21:29 +08:00
Haojun Liao
3c61932ecc refactor: do some internal refactor. 2023-05-01 19:28:54 +08:00
Haojun Liao
563fca5c54 fix(tmq): remove unnecessary error log. 2023-05-01 14:47:01 +08:00
Haojun Liao
465c595c3a Merge branch 'main' into fix/liaohj_main 2023-04-30 18:19:35 +08:00
Haojun Liao
9cc4721e2a refactor: do some internal refactor. 2023-04-30 16:37:09 +08:00
Haojun Liao
d8e0d02e6e refactor: do some internal refactor. 2023-04-30 16:32:51 +08:00
Haojun Liao
2fe494c2c7 fix(query):add more check. 2023-04-30 02:42:26 +08:00
Haojun Liao
f645454f6c fix(query): add check. 2023-04-30 01:58:08 +08:00
Haojun Liao
a88a4f5db0 fix(query): add more check for stopping tsdb reader 2023-04-30 01:03:13 +08:00
Haojun Liao
ace193ca9b fix(stream): set the seek version if the reader's version is earlier than the first version in wal. 2023-04-29 23:34:49 +08:00
Haojun Liao
777ed1761f refactor: update logs. 2023-04-29 18:24:46 +08:00
Haojun Liao
bbb8aaa0dc refactor: add some logs. 2023-04-29 02:37:10 +08:00
Haojun Liao
8b57184a9a
Merge pull request #21123 from taosdata/fix/liaohj_main
refactor: remove assert.
2023-04-29 00:44:24 +08:00
Haojun Liao
b69137df44 refactor(log): add some logs. 2023-04-29 00:00:25 +08:00
Haojun Liao
05d416f3b9 fix(stream): fix invalid access when handling error, not start stream if tsDisablestream is set. 2023-04-28 23:53:53 +08:00
wangmm0220
3b66e63444 fix:[TD-23788] client wait if task status error in taosx transform data 2023-04-28 20:07:54 +08:00
Haojun Liao
c647ded0da fix(stream): add some logs. 2023-04-28 19:47:49 +08:00
wangmm0220
8d84e8f8a5 fix:[TD-23788] client wait if task status error in taosx transform data 2023-04-28 19:29:17 +08:00
yihaoDeng
dda1c8803c Merge branch 'enh/rocksdbSstate' into enh/rocksdbSstateMerge 2023-04-28 09:17:22 +00:00
wangmm0220
18d05ff69f fix:memory leak 2023-04-28 15:53:56 +08:00
Haojun Liao
ad059db91b
Merge pull request #21120 from taosdata/fix/liaohj_main
other: add some logs.
2023-04-28 14:12:04 +08:00
Haojun Liao
b7c8346b44 other: merge other branch. 2023-04-28 13:06:47 +08:00
Haojun Liao
f9a64cbcd6 other: add some logs. 2023-04-28 12:58:03 +08:00
Haojun Liao
a0c2b34788
Merge pull request #21119 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-04-28 12:53:31 +08:00
Haojun Liao
da0d9c78ef refactor: do some internal refactor. 2023-04-28 11:42:34 +08:00
liuyao
2984c5a758 merge main 2023-04-28 10:34:46 +08:00
wangmm0220
cce868d140 fix:offset encode assert error 2023-04-28 09:45:16 +08:00
wangmm0220
1ee1b0422c fix:change push mgr from SArray to Hash 2023-04-27 23:44:27 +08:00
yihaoDeng
36a4413bf1 merge rocksdb inst 2023-04-27 14:38:33 +00:00
wangmm0220
db5b5c828e fix:add log for msg push 2023-04-27 18:35:10 +08:00
Haojun Liao
ad7c3218f7
Merge pull request #21111 from taosdata/fix/liaohj_main
enh(query): stop tsdb reader ASAP.  TD-23249
2023-04-27 17:45:38 +08:00
Haojun Liao
802c05150a enh(query): stop tsdb reader ASAP. 2023-04-27 16:18:28 +08:00
Haojun Liao
e822dc2025 enh(query): add reader status. 2023-04-27 16:10:36 +08:00
Haojun Liao
7762e0ea47 refactor: do some internal refactor. 2023-04-27 16:10:06 +08:00
Haojun Liao
91f9b58f9a refactor: do some internal refactor. 2023-04-27 16:06:06 +08:00
wangmm0220
8677b56a4f fix:assert error in tqProcessSubmitReqForSubscribe if put pHandle to array twice 2023-04-27 15:44:44 +08:00
Haojun Liao
b7040ed15e enh(stream): support resume from the latest data, and do some internal refactor. 2023-04-27 15:07:54 +08:00
Haojun Liao
e1bd65ec0a
Merge pull request #21105 from taosdata/fix/liaohj_main
fix(query): check the init status for pReader->status.merger  TD-23903
2023-04-27 12:40:13 +08:00
Haojun Liao
3093726c5a fix(query): init row merger for tsdbread. 2023-04-27 11:49:00 +08:00
Haojun Liao
fe3f3f478a fix(query): check the init status for pReader->status.merger 2023-04-27 10:15:52 +08:00
wangmm0220
6a889ae80e Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-27 09:48:04 +08:00
Haojun Liao
db1d75bb48 refactor: do some internal refactor. 2023-04-27 09:28:20 +08:00
liuyao
863d30e5a9 opt tq read 2023-04-26 18:58:19 +08:00
wangmm0220
224d87b131 fix:cosume null if rebalance 2023-04-26 17:58:14 +08:00
Haojun Liao
9a35d4e950
Merge pull request #21087 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-04-26 17:57:37 +08:00
Minglei Jin
a1fba2df65 Merge branch '3.0' into fix/TD-23623 2023-04-26 17:38:47 +08:00
Hongze Cheng
98384b1a4e more code 2023-04-26 17:17:32 +08:00
Haojun Liao
ca4df761f1 fix(query): fix syntax error. 2023-04-26 17:14:54 +08:00
Haojun Liao
627429d490 fix(query): fix the comparion error. 2023-04-26 16:05:57 +08:00
Hongze Cheng
e2df5f772e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-26 15:36:30 +08:00
Hongze Cheng
a3877153bb more code 2023-04-26 15:35:16 +08:00
Haojun Liao
3e80f57fc7 refactor: do some internal refactor. 2023-04-26 12:09:05 +08:00
Haojun Liao
59725d1d87 refactor: do some internal refactor. 2023-04-26 12:02:43 +08:00
Haojun Liao
8d0a4772a5
Merge pull request #21070 from taosdata/fix/liaohj_main
enh(query): opt last row read performance. TD-23313
2023-04-26 11:54:48 +08:00
Hongze Cheng
37fb13fa9d more code 2023-04-26 11:16:49 +08:00
Hui Li
133327140f
Merge pull request #21078 from taosdata/fix/TS-3267
fix: more fix
2023-04-26 10:42:09 +08:00
Minglei Jin
6835e75903 cache/get: malloc zero-length binary to unify frees 2023-04-26 10:07:15 +08:00
Haojun Liao
8e2edd6ebf fix(query): fix null ptr access. 2023-04-26 10:00:00 +08:00
Minglei Jin
5758aa4d80 cache/read: fix pRow, pLastCols memory issues 2023-04-26 08:17:08 +08:00
Haojun Liao
2a45ef88b0 fix(query): fix memory leak. 2023-04-26 00:40:33 +08:00
Haojun Liao
7b7a483afc fix(query): add tmp variable to hold the TSDBROW value. 2023-04-25 18:43:48 +08:00
Minglei Jin
c8cbabe419 cache/none column: move to outter scope 2023-04-25 18:13:33 +08:00
Hongze Cheng
49728a235e fix: more fix 2023-04-25 17:32:45 +08:00
54liuyao
b79313ecd7 pause&resume 2023-04-25 16:59:09 +08:00
wangmm0220
4321012ac4 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-25 16:24:28 +08:00
wangmm0220
d1e5d6e0f9 fix:pHandle->msg is not null if rebalance 2023-04-25 16:23:58 +08:00
slzhou
aede1090ff fix: the latest schema may delete columns 2023-04-25 16:23:30 +08:00
Minglei Jin
2566bd4ae8 row/iter: fix null column iter 2023-04-25 16:17:58 +08:00
Haojun Liao
16fe48f770 fix(query): fix memory leak. 2023-04-25 16:09:58 +08:00
Haojun Liao
bca5fc7893 fix(query): fix memory leak. 2023-04-25 15:28:54 +08:00
cadem
2fd9640a39 change learner config format 2023-04-25 15:15:28 +08:00
Haojun Liao
8dbc3b3457 refactor: do some internal refactor. 2023-04-25 15:07:37 +08:00
Haojun Liao
0b6e531dd3 refactor: do some internal refactor. 2023-04-25 14:56:20 +08:00
Haojun Liao
81e54541de refactor: do some internal refactor. 2023-04-25 14:24:24 +08:00
Haojun Liao
05d1692073 refactor: do some internal refactor. 2023-04-25 13:50:05 +08:00
Haojun Liao
d8762b9bc9 refactor: do some internal refactor. 2023-04-25 10:48:21 +08:00
Haojun Liao
6467b99a52 refactor: do some internal refactor. 2023-04-25 10:23:21 +08:00
Haojun Liao
4c4e148635 refactor: do some internal refactor. 2023-04-25 10:19:37 +08:00
wangmm0220
41bec8560a opti:change push mgr to consume msg for subscribe 2023-04-25 09:58:28 +08:00
Haojun Liao
e724bc15e0 refactor: do some internal refactor. 2023-04-25 09:54:00 +08:00
Hongze Cheng
d57676c924 fix: delete table error 2023-04-25 09:52:16 +08:00
Minglei Jin
33fba6f99a cache/read: fix transferBuf index 2023-04-25 09:48:56 +08:00
Haojun Liao
ae8a9d25c0 refactor: do some internal refactor. 2023-04-25 09:41:49 +08:00
Haojun Liao
a73957aaba fix(query): fix error in add row into merger. 2023-04-25 09:24:15 +08:00
Haojun Liao
37d042a338 fix(query): fix error in add row into merger. 2023-04-25 00:33:24 +08:00
Haojun Liao
9a14e0db47 fix(query): fix error in add row into merger. 2023-04-25 00:30:43 +08:00
Haojun Liao
c6daa68e54 enh(query): opt merge life cycle. 2023-04-25 00:17:37 +08:00
wangmm0220
8572f4a32f opti:change push mgr to consume msg for subscribe 2023-04-24 19:41:30 +08:00
Minglei Jin
4adc95f9db cache/deserialize: fix binary pData calc 2023-04-24 18:21:25 +08:00
Minglei Jin
3b88efbd5f cache/delete: fix null column values 2023-04-24 17:07:20 +08:00
Haojun Liao
7360a6b65c enh(query): opt hash. 2023-04-24 16:39:55 +08:00
Haojun Liao
d73306f616 enh(query): opt last row read performance. 2023-04-24 16:08:49 +08:00
Haojun Liao
5663550de2 enh(query): opt query perf by allocate the SLDataIter when opening reader. 2023-04-24 15:47:02 +08:00
Minglei Jin
c7d5b48920 cache/read: fix pRes buffer index 2023-04-24 15:42:53 +08:00
Xiaoyu Wang
f5a974489e
Merge pull request #21045 from taosdata/fix/block-check-to-async-check
fix/block-check-to-async-check
2023-04-24 15:41:17 +08:00
Haojun Liao
48c36a8c35 Merge branch 'main' into enh/rocksdbSstate 2023-04-24 14:44:13 +08:00
Minglei Jin
f8bf98f6dc Merge branch '3.0' into fix/TD-23623 2023-04-24 14:28:49 +08:00
Haojun Liao
fa46165227 Merge branch 'main' into enh/rocksdbSstate 2023-04-24 12:59:24 +08:00
Haojun Liao
057cc2d30d
Merge pull request #21018 from taosdata/feature/3_liaohj
fix(stream): set the correct start offset for stream task.
2023-04-24 12:02:20 +08:00
Minglei Jin
8f21090343 cache/delete: just remove affected cache entries 2023-04-24 10:47:28 +08:00
cadem
a781d43577 fix/block-check-to-async-check 2023-04-24 10:23:43 +08:00
wangmm0220
9bd74ec5b2 Merge branch 'fix/TS-3222' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-24 10:14:32 +08:00
Haojun Liao
134c0528ae Merge branch 'main' into fix/liaohj_main 2023-04-24 01:43:00 +08:00
wangmm0220
77e03bfd78 opti:change push mgr to consume msg for subscribe 2023-04-23 20:14:49 +08:00
Hongze Cheng
50319f2630 more code 2023-04-23 18:00:02 +08:00
Hongze Cheng
651ca6aca2 more code 2023-04-23 17:37:12 +08:00
liuyao
641c707b37 pause&resume 2023-04-23 17:37:10 +08:00
Hongze Cheng
59e543e18d more code 2023-04-23 16:31:11 +08:00
Hongze Cheng
81efe36d30 more code 2023-04-23 16:18:18 +08:00
Hongze Cheng
172eeee609 refact more code 2023-04-23 15:45:57 +08:00
Hongze Cheng
eba557effe more code 2023-04-23 15:31:23 +08:00
wangmm0220
4bc319c6dd Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-23 15:15:33 +08:00
Xiaoyu Wang
35f02cdbad
Merge pull request #21013 from taosdata/FIX/TD-23768-main
fix: change tdbTbInsert to tdbTbUpsert for meta update in tdb
2023-04-23 15:15:17 +08:00
liuyao
5bd8fe5441 feat:add pause&resume 2023-04-23 15:09:01 +08:00
54liuyao
5089528a02 feat:stream pause&resume 2023-04-23 15:08:51 +08:00
kailixu
df40699a50 Merge branch 'main' into enh/TD-22404-M 2023-04-23 15:01:31 +08:00
Hongze Cheng
7cf2911c23 more code 2023-04-23 14:57:49 +08:00
Hongze Cheng
85a36d625e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-23 14:03:59 +08:00
Hongze Cheng
c336ec749a more code 2023-04-23 14:02:43 +08:00
Haojun Liao
6fc364db19 fix(query): add null ptr check. 2023-04-23 13:53:55 +08:00
Haojun Liao
9cf89c6b6f enh(tmq): add check for consumer Id; 2023-04-23 11:51:43 +08:00
Xiaoyu Wang
206887166c fix: vnode errcode setting error 2023-04-23 10:53:28 +08:00
yihaoDeng
917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
Haojun Liao
3dbe208712 enh(tmq): fix memory error and add retrieve wal info as required. 2023-04-22 15:34:46 +08:00
Benguang Zhao
3c53516299 fix: use tdbTbUpsert for metaUpdate functions 2023-04-21 19:24:09 +08:00
Minglei Jin
9918d326cc Merge branch '3.0' into fix/TD-23623 2023-04-21 18:39:07 +08:00
Minglei Jin
a75d43a259 cache/read: remove unused extract function 2023-04-21 18:38:20 +08:00
Minglei Jin
12fc21ae84 cache/get: use pRow from reader 2023-04-21 18:34:58 +08:00
wangmm0220
6efbcfec4b Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-21 17:46:35 +08:00
Minglei Jin
09c62e6ca2 fix values_list index when freeing 2023-04-21 16:30:00 +08:00
Minglei Jin
8e87b21a59 rocks/multi_get value: free rocks allocated memory 2023-04-21 16:23:40 +08:00
chenhaoran
7d7a0769b3 Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1 2023-04-21 16:20:37 +08:00
Minglei Jin
01d95b5e95 cache/read: use new interface with signle query 2023-04-21 16:07:22 +08:00
kailixu
6292fb766f Merge branch 'main' into enh/TD-22404-M 2023-04-21 16:04:11 +08:00
Minglei Jin
0394c6a50c free rocks errs array 2023-04-21 15:24:42 +08:00
Minglei Jin
c9959b5bf6 dst slot for last_row 2023-04-21 14:18:04 +08:00
Haojun Liao
b6f4cac619 fix(stream): set the correct offset version. 2023-04-21 13:35:24 +08:00
Hongze Cheng
2f91256a09 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-21 10:45:41 +08:00
Hongze Cheng
bf8b9e744f more code 2023-04-21 10:45:27 +08:00
Haojun Liao
8fac91e265 refactor: do some internal refactor. 2023-04-21 09:38:51 +08:00
Haojun Liao
6c641cff39 fix(stream): fix error in start stream tasks. 2023-04-21 09:37:16 +08:00
Haojun Liao
471abd9160 log: update the log. 2023-04-20 23:39:13 +08:00
Haojun Liao
5e6c06e253 fix(stream): fix the race condition during create new stream tasks. 2023-04-20 23:21:18 +08:00
dm chen
d594e4963f
Merge branch '3.0' into feat/learner 2023-04-20 19:11:06 +08:00
Haojun Liao
65fded4a28 fix(stream): set the correct number of tasks. 2023-04-20 19:03:43 +08:00
Haojun Liao
f9801ba9c5 enh(stream): stop stream asap. 2023-04-20 18:58:07 +08:00
Haojun Liao
6f595fb5fd other: add some logs. 2023-04-20 18:50:44 +08:00
wangmm0220
5df7906a62 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/rocksRevert 2023-04-20 18:33:37 +08:00
Minglei Jin
7d896bbc85 last/empty_table: continue if table's empty 2023-04-20 17:36:46 +08:00
Haojun Liao
c7e42d5422 other: do some internal refactor. 2023-04-20 17:30:02 +08:00
Haojun Liao
8323ad8670 enh(stream): add more check to stop stream asap. 2023-04-20 17:29:08 +08:00
Minglei Jin
1e51b2d781
Merge branch '3.0' into fix/TD-23623 2023-04-20 16:32:43 +08:00
Minglei Jin
642aa47887 last: first round implementation for column loading 2023-04-20 16:26:27 +08:00
Benguang Zhao
1b2fe38f75 enh: improve logging msg in metaSnapWrite 2023-04-20 16:22:16 +08:00
Haojun Liao
b60b1796f7 fix(stream): add lock during check wal to create new stream task. 2023-04-20 15:53:41 +08:00
Benguang Zhao
a21e0fe75e enh: propose vnode commit synchronously 2023-04-20 14:28:56 +08:00
Haojun Liao
742b5ee08c other: update wal logs level. 2023-04-20 13:42:16 +08:00
Haojun Liao
c654f1145d enh(stream): add new msg for seek, and do some internal refactor. 2023-04-20 10:59:16 +08:00
cadem
8b16f4b118 config compitible 2023-04-19 18:02:04 +08:00
yihaoDeng
5402a6061f Merge branch 'dev' into enh/rocksRevert 2023-04-19 17:37:07 +08:00
cadem
c22bd63ed4 vnode config compitible 2023-04-19 15:11:16 +08:00
Hongze Cheng
b81f1c7be1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-19 14:38:24 +08:00
Xiaoyu Wang
7cf9919ab0
Merge pull request #20964 from taosdata/enh/3.0_planner_optimize
feat: last queries with tags output can be read from cache
2023-04-19 14:34:32 +08:00
Haojun Liao
3f12156c53 enh(tmq): support seek in tmq. 2023-04-19 13:56:42 +08:00
Xiaoyu Wang
586b3945d1 feat: last queries with tags output can be read from cache 2023-04-19 13:09:11 +08:00
wangmm0220
594d68b8a4 fix:remove lock for consume handler 2023-04-19 11:46:59 +08:00
wangmm0220
14fd2e7904 fix:remove lock for consume handler 2023-04-19 11:44:52 +08:00
wangmm0220
1061eef144 fix:move consumer msg from fetch thread to query thread 2023-04-19 10:49:18 +08:00
wangmm0220
25542c26c7 fix:remove tmPushMsg in consumer 2023-04-19 10:43:13 +08:00
Minglei Jin
76edc16ce1 operator/cache-scan: pass col list down to tsdb cache 2023-04-19 10:04:48 +08:00
cadem
3b78d4382b add learner 2023-04-18 19:03:45 +08:00
kailixu
b93c85fbf5 Merge branch 'main' into enh/TD-22404-M 2023-04-18 18:49:25 +08:00
Haojun Liao
fb32ffd960 fix(stream): update the reference count value to be int32, insead of int8 2023-04-18 18:06:03 +08:00
dapan1121
2af63992ea
Merge pull request #20952 from taosdata/fix/TD-23639
fix: fix double free caused crash
2023-04-18 17:50:45 +08:00
Xiaoyu Wang
6669c3a5ad feat: last queries with tags output can be read from cache 2023-04-18 17:13:14 +08:00
Haojun Liao
cc67b631f6 refactor: do some internal refactor. 2023-04-18 17:01:09 +08:00
Haojun Liao
9f16802451 fix(stream): set the initial value. 2023-04-18 16:42:40 +08:00
Ganlin Zhao
e58bf86c33 fix local variable 2023-04-18 16:34:06 +08:00
Haojun Liao
abfc2455e6 fix(stream): update the atomic variables. 2023-04-18 16:21:30 +08:00
Haojun Liao
7da998ecfb other: merge main. 2023-04-18 16:15:08 +08:00
Minglei Jin
dee2ca3476 tsdb/cache: inplace_update are commented out 2023-04-18 16:09:42 +08:00
Haojun Liao
7a8dd0db45 refactor: update the log. 2023-04-18 16:08:51 +08:00
Minglei Jin
dd42db0077 tsdb/mem table: remove unused codes 2023-04-18 15:09:13 +08:00
Minglei Jin
e159c4ead9 first round rocks batch write implementation 2023-04-18 14:25:35 +08:00
Haojun Liao
76becf59b7
Merge pull request #20947 from taosdata/feature/3_liaohj
fix(stream): set the correct initial checkpoint versions.
2023-04-18 11:26:48 +08:00
Haojun Liao
97da34050b fix(query): fix invalid free. 2023-04-18 10:40:53 +08:00
Haojun Liao
7d3e5aa3d3 fix(query): set the table schema correctly when the table is dropped. 2023-04-18 09:03:30 +08:00
Haojun Liao
2ae05b8cf6 fix(stream): set the correct initial offset value. 2023-04-18 08:56:31 +08:00
liuyao
27d14f742d fix:stream memory leak 2023-04-17 17:27:02 +08:00
Ganlin Zhao
d21628b2c9 fix: fix double free caused crash 2023-04-17 16:57:29 +08:00
kailixu
751a821e5d Merge branch 'main' into enh/TD-22404-M 2023-04-17 13:57:53 +08:00
kailixu
fcb587b456 Merge branch 'main' into enh/TD-22404-M 2023-04-17 11:42:48 +08:00
Hongze Cheng
a2bf1e2c7a Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-17 10:59:41 +08:00
Haojun Liao
be90d2c511 fix(stream): disable stream task when no tasks exist. 2023-04-16 23:07:54 +08:00
Haojun Liao
1350af5267 fix(stream): set the correct initial checkpoint version to restore the operators state and add check for the initial destination tables. 2023-04-16 22:48:22 +08:00
Haojun Liao
04e042f21d Merge branch 'feature/3_liaohj' into enh/rocksRevert 2023-04-15 09:35:43 +08:00
Haojun Liao
efb9ebe875
Merge pull request #20873 from taosdata/feature/3_liaohj
enh(stream): the stream will start after vnode restore being completed.
2023-04-15 09:34:34 +08:00
Hongze Cheng
edf9fdbecc make it compile 2023-04-14 23:19:36 +08:00
Hongze Cheng
bd1c8e1902 fix more code 2023-04-14 21:59:08 +08:00
Hongze Cheng
01bacc10ef fix: an important fix 2023-04-14 21:43:40 +08:00
Haojun Liao
1cd2268a99 Merge branch 'main' into feature/3_liaohj 2023-04-14 18:30:55 +08:00
Minglei Jin
ec4ea9cf5d enh(cache/rocks): base for rocks put/get 2023-04-14 18:28:15 +08:00
Haojun Liao
ab4b08a4b5 Merge branch 'feature/3_liaohj' into enh/rocksRevert 2023-04-14 17:44:50 +08:00
Haojun Liao
e0cb8aa534 fix(stream): don't the initial task status and do some internal refactor. 2023-04-14 17:43:37 +08:00
dapan1121
423ec923ca enh: reuse tsdb cache reader 2023-04-14 14:30:20 +08:00
Hongze Cheng
d1289d4c21 more code 2023-04-14 13:39:42 +08:00
Haojun Liao
eb0e1f848a fix(stream): remove unused tqreader, do some internal refactor, set the meta value for streamtask. 2023-04-14 12:00:09 +08:00
Haojun Liao
b57c813681 other: merge feature/3_liaohj 2023-04-14 10:36:54 +08:00
Xiaoyu Wang
96d2c5b9e3
Merge pull request #20927 from taosdata/FIX/TD-23552-main
enh: try to propose vnode commit at vnode closing
2023-04-14 09:14:10 +08:00
Haojun Liao
f8b672f09f other: merge main. 2023-04-14 09:07:18 +08:00
Haojun Liao
4d83118ff7 fix(stream): fix memory leak. 2023-04-13 23:49:14 +08:00
Haojun Liao
70b45a4cf0 fix(stream): all data should be extracted from wal. 2023-04-13 23:22:09 +08:00
Benguang Zhao
d8386754ee enh: try to propose vnode commit at vnode closing 2023-04-13 19:45:24 +08:00
Xiaoyu Wang
7e51190bc8
Merge pull request #20914 from taosdata/fix/TD-22941-1
fix(tsdb/read): release bi cache entry before returning
2023-04-13 19:24:06 +08:00
Hongze Cheng
ac0bb0cf44 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-13 15:13:42 +08:00
Hongze Cheng
e60672d019 more code 2023-04-13 15:13:27 +08:00
Minglei Jin
ab372d501a fix(tsdb/read): release bi cache entry before returning 2023-04-13 14:33:37 +08:00
Xiaoyu Wang
a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
Xiaoyu Wang
3d962cd950
Merge pull request #20905 from taosdata/fix/TD-22941
fix(tsdb/cache): fix block index ref releasing
2023-04-13 13:37:20 +08:00
Minglei Jin
589ed9d0ce fix(tsdb/cache): fix block index ref releasing 2023-04-13 12:09:44 +08:00
Minglei Jin
ef219095cf fix(tsdb/read): remove duplicat schema fetching 2023-04-13 10:06:49 +08:00
kailixu
85e11d8cbf Merge branch 'main' into enh/TD-22404-M 2023-04-12 18:30:43 +08:00
Hongze Cheng
58ed42b063 more code 2023-04-12 15:18:12 +08:00
Xiaoyu Wang
933660ae8d Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main 2023-04-12 14:13:23 +08:00
Hongze Cheng
3f8f7bb451 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-12 11:28:30 +08:00
Hongze Cheng
d24fed6ffa more code 2023-04-12 11:14:52 +08:00
Xiaoyu Wang
813591f993
Merge pull request #20872 from taosdata/fix/TD-23474
fix(tsdb/cache): skip schema updating for non ts row
2023-04-12 10:47:02 +08:00
Xiaoyu Wang
8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Haojun Liao
f6315af0c9 other: merge main. 2023-04-11 19:41:17 +08:00
Haojun Liao
5ab54481f0 refactor: do some internal refactor. 2023-04-11 19:24:34 +08:00
Haojun Liao
f083697dba refactor(tq): do some internal refactor. 2023-04-11 19:04:33 +08:00
Haojun Liao
24c9495772
Merge pull request #20857 from taosdata/fix/TS-3081
fix:optimize log & change the length of tag if tag is null in schemaless
2023-04-11 19:01:07 +08:00
yihaoDeng
b24b91886a Merge branch 'dev3' into enh/rocksRevert 2023-04-11 10:59:00 +00:00
Minglei Jin
3ac5b35f4b fix(tsdb/cache): skip schema updating for non ts row 2023-04-11 18:57:11 +08:00
Hongze Cheng
8d7055b123 more code 2023-04-11 17:04:52 +08:00
Haojun Liao
aae2758863 fix(stream): disable the deploy msg when restart taosd. 2023-04-11 16:58:51 +08:00
Xiaoyu Wang
4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Haojun Liao
18479d8115 refactor: do some internall refactor. 2023-04-11 15:42:24 +08:00
Hongze Cheng
1df5680e9e more code 2023-04-11 15:34:40 +08:00
Hongze Cheng
2f51c609f4 more code 2023-04-11 15:01:42 +08:00
Hongze Cheng
a72633d715 more code 2023-04-11 14:22:36 +08:00
wangmm0220
c40c695ea7 fix:optimize log & change the length of tag if tag is null in schemaless 2023-04-11 13:49:18 +08:00
Haojun Liao
15cceb5a5a refactor: do some internal refactors. 2023-04-11 11:53:10 +08:00
Hongze Cheng
47b961018c more code 2023-04-11 11:00:35 +08:00
Haojun Liao
a4ba5401f9 enh(stream): set the start version of all operators. 2023-04-11 10:01:36 +08:00
liuyao
524bb214e7 delete invalid code 2023-04-10 19:18:56 +08:00
Haojun Liao
497c9ea9c8 Merge branch 'main' into feature/3_liaohj 2023-04-10 17:57:26 +08:00
Hongze Cheng
6bc0d17605 more code 2023-04-10 17:52:51 +08:00
Haojun Liao
7419c0bfe9 enh(stream): the stream will start after vnode restore being completed. 2023-04-10 16:56:14 +08:00
Hongze Cheng
a0039fe271 more code 2023-04-10 15:00:01 +08:00
Hongze Cheng
90a13bf451 more code 2023-04-10 14:50:50 +08:00
Hongze Cheng
fe4dca9b1e more code 2023-04-10 14:09:39 +08:00
Xiaoyu Wang
4dff8950c2
Merge pull request #20812 from taosdata/fix/TS-3025
fix(tsdb/read): use the correct schema with multilevel merging
2023-04-10 10:30:37 +08:00
kailixu
7f6fdd4b6b Merge branch 'main' into enh/TD-22404-M 2023-04-09 13:26:56 +08:00
Haojun Liao
f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
kailixu
3530ae0307 Merge branch 'main' into enh/TD-22404-M 2023-04-07 17:51:40 +08:00
Hongze Cheng
f100a328b4 more code 2023-04-07 16:52:30 +08:00
Haojun Liao
5de76e4b72
Merge pull request #20809 from taosdata/fix/TD-23517
fix:[TD-23517] set offset type to wal if only meta & check if tag is …
2023-04-07 16:35:08 +08:00
Minglei Jin
8ae43fe6cb fix(tsdb/read): use the correct schema for mem/imem rows 2023-04-07 15:28:23 +08:00
Hongze Cheng
afbaeb0d2d more code 2023-04-07 15:12:31 +08:00
Minglei Jin
f262ac8230 fix(tsdb/read): use irow's schema instead of NULL 2023-04-07 14:37:56 +08:00
wangmm0220
05ec2b0928 fix:[TD-23517] set offset type to wal if only meta & check if tag is the same type in schemaless 2023-04-07 14:24:29 +08:00
Hongze Cheng
d370d6a662 more code 2023-04-07 14:23:42 +08:00
Minglei Jin
1ff8511eb3 tsdb/row merger: comment init out 2023-04-07 13:43:07 +08:00
Minglei Jin
55f7e41f3b tsdb/row merger: remove tsdbRowMerge 2023-04-07 13:31:33 +08:00
Minglei Jin
360113115f fix(tsdb/row merger): remove unused code 2023-04-07 09:49:48 +08:00
Hongze Cheng
4e8e3854a7 more code 2023-04-06 16:26:41 +08:00
Hongze Cheng
e8e0e4976e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-06 15:51:20 +08:00
Hongze Cheng
fd16a6b3b7 more code 2023-04-06 14:27:18 +08:00
Haojun Liao
871cfb4760
Merge pull request #20775 from taosdata/fix/TD-23450
fix:tq memory leak
2023-04-06 11:48:45 +08:00
Haojun Liao
2b2059ef18
Merge pull request #20534 from taosdata/fix/TD-22671
fix:error in TD-23218 & remove useless logic
2023-04-06 11:47:24 +08:00
yihaoDeng
5aff5aa93b add backpressure 2023-04-04 12:38:56 +00:00
54liuyao
519e2f1cfd fix:tq memory leak 2023-04-04 18:21:37 +08:00
yihaoDeng
628bb62c8a add backpressure 2023-04-04 07:20:05 +00:00
Haojun Liao
c91d8a5901 Merge branch 'main' into feature/3_liaohj 2023-04-04 15:18:24 +08:00
Xiaoyu Wang
e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Hongze Cheng
6e6100f254 more code 2023-04-04 14:38:17 +08:00
Xiaoyu Wang
0e53e578a7
Merge pull request #20748 from taosdata/fix/TD-23473
ehn(plan/optimizer): remove tbname fetching with cached groupby
2023-04-04 09:36:56 +08:00
dapan1121
ec3c706c3b
Merge pull request #20739 from taosdata/fix/TS-3063
fix(query): fix interp tsdbReader external range not setting properly
2023-04-04 09:23:47 +08:00
wangmm0220
d651ba02ae fix:lose consume data because of exec close if consume while insert data 2023-04-03 19:54:52 +08:00
Haojun Liao
d48be5c0ce refactor: do some internal refactor. 2023-04-03 18:23:35 +08:00
Haojun Liao
a3ac8b647c refactor: do some internal refactor. 2023-04-03 18:20:35 +08:00
Haojun Liao
482c319bee refactor: do some internal refactor. 2023-04-03 18:07:28 +08:00
Haojun Liao
3ef7d43dae refactor: do some internal refactor. 2023-04-03 17:47:48 +08:00
Ganlin Zhao
aa6a4efd5b fix(query): fix interp tsdbReader external range not setting properly 2023-04-03 16:18:16 +08:00
Hongze Cheng
2bab385071 more code 2023-04-03 16:15:21 +08:00
Hongze Cheng
7e48fc3ca5 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-04-03 15:25:04 +08:00
Hongze Cheng
ffb655bae6 more code 2023-04-03 13:59:37 +08:00
wangmm0220
2d6436c57d fix:modify log & sleep 500ms if data is inserting while consume 2023-04-03 11:24:22 +08:00
wangmm0220
858144145f fix:memory leak 2023-04-02 23:39:59 +08:00
wangmm0220
b029c8f157 fix:remove useless setmsg 2023-04-02 22:34:51 +08:00
wangmm0220
afcc3d2064 opti:code for tmq 2023-03-31 19:02:38 +08:00
wangmm0220
97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
Hongze Cheng
171d360cac
Revert "current from binary to json" 2023-03-31 15:25:00 +08:00
Hongze Cheng
552ea09690 more code 2023-03-30 17:43:54 +08:00
Hongze Cheng
88907b1996 more code 2023-03-30 17:05:58 +08:00
Hongze Cheng
8afa2c5354 more code 2023-03-30 16:06:07 +08:00
dapan1121
15578cf980
Merge branch 'main' into fix/cencVer 2023-03-30 15:36:30 +08:00
kailixu
9552ac2800 enh: coverity scan for sma 2023-03-30 15:11:35 +08:00
Haojun Liao
5f4cb41e28 fix(tmq): set correct start offset value. 2023-03-29 23:45:41 +08:00
Haojun Liao
c8ad465a0d refactor: do some internal refactor. 2023-03-29 19:40:34 +08:00
Haojun Liao
56c98d7768 refactor: do some internal refactor. 2023-03-29 19:35:04 +08:00
kailixu
9ee43c271d enh: coverity scan for sma 2023-03-29 18:38:35 +08:00
wangmm0220
2243184a4d fix:conflicts 2023-03-29 17:53:05 +08:00
Hongze Cheng
0404810252 more code 2023-03-29 17:34:36 +08:00
dapan1121
6a1150301e fix: column rows size 2023-03-29 17:30:20 +08:00
wangmm0220
9d9ae749d1 opti:tmq logic & fix CI cases 2023-03-29 17:27:04 +08:00
Haojun Liao
25245b9005 Merge branch 'main' into feature/3_liaohj 2023-03-29 16:40:12 +08:00
Haojun Liao
152fc5daab fix(stream):fix the race condition when creating new tsables. 2023-03-29 16:36:35 +08:00
kailixu
fabd96deef enh: coverity scan for sma 2023-03-29 15:56:44 +08:00
dapan1121
a90354cd92 fix: restore debug code 2023-03-29 15:56:08 +08:00
dapan1121
9952be43f6 Merge remote-tracking branch 'origin/main' into fix/cencVer 2023-03-29 15:50:14 +08:00
dapan1121
4f06728c17 fix: restore sl level 2023-03-29 15:48:11 +08:00
dapan1121
84eef542d5 fix: memory rows count issue 2023-03-29 15:45:18 +08:00
Xiaoyu Wang
b9d905c2d3
Merge pull request #20686 from taosdata/fix/liaohj
fix(tsdb/read): use correct scheme for mem & imem merging
2023-03-29 15:38:21 +08:00
Minglei Jin
91c16f0344 tsdb/read: remove dup mem schema fetching 2023-03-29 15:34:55 +08:00
Minglei Jin
7eb8a63944 Merge branch 'fix/liaohj' of https://github.com/taosdata/TDengine into fix/liaohj 2023-03-29 14:21:05 +08:00
Minglei Jin
8cf8ac84d7 fix(tsdb/read): use correct scheme for mem & imem merging 2023-03-29 14:19:15 +08:00
Hongze Cheng
d2185b7e68 more code 2023-03-29 13:27:36 +08:00
dapan1121
2714ce2af8 fix: rows count issue 2023-03-29 13:22:12 +08:00
kailixu
eb301a1d61 enh: coverage for sma 2023-03-29 12:16:12 +08:00
dapan1121
0659814d16
Merge pull request #20674 from taosdata/fix/TS-3010
fix: query schema is old issue
2023-03-29 11:41:07 +08:00
Xiaoyu Wang
eaf56916fe
Merge pull request #20678 from taosdata/FIX/TD-22975-main
enh: separate sync read and write
2023-03-29 11:09:31 +08:00
dapan1121
0327a8eaa3 fix: block rows number type 2023-03-29 10:46:56 +08:00
Haojun Liao
7a050d64bd fix(query): set ptr to be NULL. 2023-03-29 10:27:05 +08:00
dapan1121
702202d4af fix: fix block scan issue 2023-03-29 10:14:53 +08:00
Haojun Liao
f1ff5dcec4 fix(query): use hashmap to keep the multiple schema. 2023-03-28 22:53:57 +08:00
dapan1121
a0c8dd52b1 fix: memory count issue 2023-03-28 19:42:09 +08:00
dapan1121
c5f37d284e fix: memory row count issue 2023-03-28 19:27:49 +08:00
dapan1121
e0f951e668 fix: memory rows issue 2023-03-28 19:15:38 +08:00
wangmm0220
d0c55ef572 fix:conflicts 2023-03-28 18:12:13 +08:00
Benguang Zhao
ae8d87643f Merge branch 'main' into FIX/TD-22975-main 2023-03-28 18:00:51 +08:00
dapan1121
def8c9044e Merge remote-tracking branch 'origin/enh/TS-2967' into fix/cencVer 2023-03-28 17:47:41 +08:00
dapan1121
a87d35be08 fix: optimize performance 2023-03-28 17:40:46 +08:00
Hongze Cheng
8233a5bc31 more code 2023-03-28 16:43:22 +08:00
Haojun Liao
0ae2034ebb fix: fix syntax error. 2023-03-28 16:05:05 +08:00
Haojun Liao
7342aeb750 fix(tmq): fix the syntax error. 2023-03-28 15:42:53 +08:00
Hongze Cheng
dc10b0196e more code 2023-03-28 15:38:55 +08:00
dapan1121
22ad3129b9 fix: query schema is old issue 2023-03-28 15:21:47 +08:00
Haojun Liao
a883e57cf2 Merge branch 'main' into fix/liaohj 2023-03-28 15:07:32 +08:00
Haojun Liao
68f310dd48 refactor: do some internal refactor. 2023-03-28 15:05:10 +08:00
Haojun Liao
4fd3064fd9 refactor: do some internal refactor. 2023-03-28 14:43:37 +08:00
Haojun Liao
ac9773b5df
Merge pull request #20670 from taosdata/fix/liaohj
refactor: do some internal refactor.
2023-03-28 14:32:10 +08:00
Haojun Liao
c36c5253c5 refactor: do some internal refactor. 2023-03-28 13:31:40 +08:00
Haojun Liao
fca79dbc53 Merge branch 'fix/liaohj' into main 2023-03-28 11:20:01 +08:00
Haojun Liao
c158087d66 fix(tmq): kill the ongoing tsdb scans while transferring the ownership of vnode to other consumers. 2023-03-28 09:53:49 +08:00
Haojun Liao
5c128e2292 refactor: do some internal refactor. 2023-03-28 09:27:48 +08:00
dapan1121
61571d9296 enh: optimize count performance 2023-03-27 19:40:29 +08:00
Hongze Cheng
23e78dd908 more code 2023-03-27 19:12:25 +08:00
Xiaoyu Wang
77f27bb9df
Merge pull request #20613 from taosdata/FIX/TD-23308-main
enh: disable timely vnodeCommit
2023-03-27 17:58:20 +08:00
Hongze Cheng
8f84e88616 more code 2023-03-27 17:07:59 +08:00
Hongze Cheng
7b82bd5ebb Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-03-27 16:30:40 +08:00
Hongze Cheng
978c73fb48 more code 2023-03-27 16:30:22 +08:00
kailixu
11bf7511e5 Merge branch 'main' into enh/TD-22404-M 2023-03-27 11:16:11 +08:00
Hongze Cheng
69a2f7129c more code 2023-03-27 09:42:08 +08:00
wangmm0220
f1d67b6059 fix:conflict 2023-03-25 19:03:23 +08:00
wangmm0220
750cd8c5a4 fix:ci error 2023-03-25 16:33:47 +08:00
dapan1121
8a89550f16 fix: skiplist level 2023-03-25 13:10:14 +08:00
wangmm0220
9f5e435140 fix:conflict from main 2023-03-25 11:49:37 +08:00
dapan1121
dd12e41227
Merge pull request #20618 from taosdata/fix/TS-2974
fix: change float display mode
2023-03-25 09:19:04 +08:00
dapan1121
481091bae6 fix: sma load issue 2023-03-24 19:01:19 +08:00
Hongze Cheng
0a13fc497d more code 2023-03-24 18:07:16 +08:00
Hongze Cheng
052d9c6e4b more code 2023-03-24 17:57:37 +08:00
dapan1121
8bf49fdbd2 fix: skiplist level 2023-03-24 17:16:06 +08:00
Haojun Liao
b22cc82270 others: merge main. 2023-03-24 15:43:13 +08:00
Haojun Liao
8f6ac6d771 fix(tmq): wait for 2mins when subscribe topics. 2023-03-24 15:36:42 +08:00
dapan1121
4167e4c00c fix: some columns sma are not set issue 2023-03-24 15:20:27 +08:00
wangmm0220
57331cd71d Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-24 14:51:11 +08:00
wangmm0220
5d06474f2e fix:send data batch if consume wal where subscribe db 2023-03-24 14:43:29 +08:00
Hongze Cheng
873c9705fe more code 2023-03-24 14:24:34 +08:00
wangmm0220
1a2513d212 Merge branch 'fix/TD023101' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-24 10:12:12 +08:00
wangmm0220
bf78f63e22 fix:send data batch if consume wal where subscribe db 2023-03-24 10:10:52 +08:00
cadem
86ca5ce210 fix/trigger election by sync msg 2023-03-24 09:13:20 +08:00
Benguang Zhao
9be09492f0 enh: disable timely vnodeCommit 2023-03-24 09:05:06 +08:00
Xiaoyu Wang
bddba107be
Merge pull request #20608 from taosdata/fix/TS-2960
fix(tdb/restore): rollback journal files backward
2023-03-23 19:47:31 +08:00
Hongze Cheng
62231ef14c more code 2023-03-23 18:40:44 +08:00
Hongze Cheng
8fa2f08711 more code 2023-03-23 17:15:51 +08:00
Hongze Cheng
d596f3be4a Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-03-23 16:29:03 +08:00
Hongze Cheng
5173d85c8c more code 2023-03-23 16:28:13 +08:00
dapan1121
7f50b463bb
Merge pull request #20599 from taosdata/fix/mainT3.0
fix: merge main to 3.0
2023-03-23 16:17:01 +08:00
Hongze Cheng
7bc38466bf more code 2023-03-23 16:10:08 +08:00
Hongze Cheng
2b7fa84e24 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-03-23 13:27:07 +08:00
Hongze Cheng
54da9e6ec5 more code 2023-03-23 13:26:57 +08:00
Hongze Cheng
71c967d603 more code 2023-03-23 13:15:14 +08:00
Xiaoyu Wang
a5d8549cb1
Merge pull request #20593 from taosdata/FEAT/TD-23258-3.0
feat: support WAL_RETENTION_PERIOD and WAL_RETENTION_SIZE for alter database
2023-03-23 11:43:01 +08:00
Xiaoyu Wang
323d8ee0b4
Merge pull request #20598 from taosdata/FIX/TD-23187-main
fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose
2023-03-23 11:42:48 +08:00
wangmm0220
5f9c7e9a7d fix:[TS-2961] consume error change from snapshot to wal for taosx 2023-03-22 20:14:19 +08:00
wangmm0220
6fae38619d fix:error in TD-23218 & remove useless logic 2023-03-22 19:36:12 +08:00
Hongze Cheng
9490bf2a5e more code 2023-03-22 19:24:40 +08:00
dapan1121
e58afd12e1 fix: merge main to 3.0 2023-03-22 17:42:09 +08:00
wangmm0220
dd4cf0597b fix:error in optimize consume logic 2023-03-22 17:04:02 +08:00
dapan1121
5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Benguang Zhao
24af249f55 fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose 2023-03-22 16:05:57 +08:00
Hongze Cheng
4f0833e1a0 more code 2023-03-22 14:41:16 +08:00
Hongze Cheng
275f195c50 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-03-22 14:12:17 +08:00
Benguang Zhao
0b101e4952 feat: support WAL_RETENTION_PERIOD and WAL_RETENTION_SIZE for alter database 2023-03-22 11:40:24 +08:00
Minglei Jin
0bf98096c9 fix(tsdb/cache): init isLast once for each fileset 2023-03-22 10:57:27 +08:00
Minglei Jin
cb93ac2613 enh(tsdb/cache): make merge tree next one less 2023-03-22 10:50:34 +08:00
wangmm0220
c07e563ecd fix:error in optimize consume logic 2023-03-22 10:43:11 +08:00
Minglei Jin
0b31aac2c5 enh(tsdb/cache): skip data block with merge tree 2023-03-22 10:19:58 +08:00
cadem
ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
yihaoDeng
914d391845 fix tag filter 2023-03-21 12:28:16 +00:00
Haojun Liao
69ca2b2f7b fix(tmq): do some internal refactor. 2023-03-21 19:40:36 +08:00
Haojun Liao
c3acab2070 fix(tmq): do some internal refactor. 2023-03-21 19:38:34 +08:00
dapan1121
3ab55496c1
Merge pull request #20561 from taosdata/fix/TS-2891-M
fix: select ins_columns from stb/tb
2023-03-21 16:24:46 +08:00
Haojun Liao
ca29dd344f other: merge main. 2023-03-21 14:04:52 +08:00
Hongze Cheng
e2de2d1286 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-03-21 14:04:47 +08:00
Haojun Liao
d5a386a563 fix(client): fix coverity issues. 2023-03-21 14:03:36 +08:00
Haojun Liao
18b121c69c fix(tmq): fix the invalid write and do some internal refactor. 2023-03-21 13:45:43 +08:00
Haojun Liao
ea0cc2c584
Merge pull request #20554 from taosdata/fix/TS-2828
fix: add retry if insert error with meta change
2023-03-21 09:01:22 +08:00
kailixu
179579f204 chore: more code 2023-03-20 17:41:22 +08:00
wangmm0220
f7b7320f5f fix:set offset if read wal none 2023-03-20 16:57:45 +08:00
wangmm0220
506c192bff fix:error in TD-23218 & remove useless logic 2023-03-20 16:26:15 +08:00
Haojun Liao
ca1dffff45
Merge pull request #20508 from taosdata/fix/liaohj
fix(client): fix potential memory leak.
2023-03-20 16:11:22 +08:00
wangmm0220
f80078030c fix:error in TD-23218 & remove useless logic 2023-03-20 15:40:01 +08:00
Haojun Liao
625b2dc901
Merge pull request #20513 from taosdata/fix/TD-23136
fix:converity scan defects
2023-03-20 15:37:59 +08:00
Haojun Liao
2517f9bb83 fix(tmq): add some logs. 2023-03-20 15:27:16 +08:00
wangmm0220
c0b41ea0b3 fix:error in TD-23218 & remove useless logic 2023-03-20 14:09:13 +08:00
Haojun Liao
a24d537d9e Merge remote-tracking branch 'origin/fix/liaohj' into fix/liaohj 2023-03-20 13:28:13 +08:00
Haojun Liao
4cb1c51d4e fix(tmq): update some logs. 2023-03-20 13:27:58 +08:00
yihaoDeng
192570ce77 fix tag filter 2023-03-20 04:14:57 +00:00
Hongze Cheng
664133c945 prepare optimization 2023-03-20 10:59:16 +08:00
wangmm0220
a5144f0ba2 fix:set offset if read wal none 2023-03-20 10:10:07 +08:00
Haojun Liao
a5e9fad0f9 fix(query): set correct lastkeyInstt. 2023-03-19 23:58:17 +08:00
Haojun Liao
c678740968 refactor: do some internal refactor. 2023-03-19 19:22:43 +08:00
Haojun Liao
7e712a14b6 fix(tmq): adjust log. 2023-03-19 19:06:28 +08:00
Xiaoyu Wang
f86c8d0d6e enh: optimize last pruning logic 2023-03-19 14:40:16 +08:00
Xiaoyu Wang
6277b2564b enh: optimize last pruning logic 2023-03-19 13:41:32 +08:00
Xiaoyu Wang
9affd11eb7
Merge pull request #20542 from taosdata/fix/main_bugfix_wxy
enh: optimize last pruning logic
2023-03-19 12:00:18 +08:00
Xiaoyu Wang
5a4fe943dc enh: optimize last pruning logic 2023-03-19 11:01:39 +08:00
Haojun Liao
ae5155edcf fix(tmq): do some internal refactor. 2023-03-19 10:49:30 +08:00
Minglei Jin
3a5542bbbc fix(tsdb/cache): update nCols of merge tree to avoid assert failed 2023-03-19 10:19:49 +08:00
wangmm0220
ccba1d07c6 fix:error in TD-23218 & remove useless logic 2023-03-18 18:42:49 +08:00
wangmm0220
7616a283e3 fix:error in TD-23218 & remove useless logic 2023-03-18 18:23:38 +08:00
yihaoDeng
afaa77cc3e fix tag filter 2023-03-18 10:01:45 +00:00
yihaoDeng
f24e06f36b fix tag filter 2023-03-18 08:58:26 +00:00
kailixu
4317564d5f Merge branch 'main' into enh/TD-22404-M 2023-03-18 14:25:34 +08:00
dapan1121
859f2594ed fix: add sma load time 2023-03-17 15:21:43 +08:00
wangmm0220
0a54d00cd2 fix:converity scan defects 2023-03-17 14:54:27 +08:00
Shengliang Guan
aa656c9c29
Merge pull request #20505 from taosdata/fix/TD-23196
ehn(tsdb/cache): skip invalid row or data block directly with merge tree
2023-03-17 13:19:06 +08:00
Haojun Liao
d5a8a4aefe
Merge pull request #20502 from taosdata/fix/liaohj
fix(client): set the initial value for num_of_rows.
2023-03-17 12:50:04 +08:00
Minglei Jin
ca115b1c87 fix(tsdb/cache): break loop to return current row 2023-03-17 11:41:17 +08:00
wangmm0220
4fdef7421c fix:add log for taosCreateLog error 2023-03-17 10:50:54 +08:00
Minglei Jin
a8d146c512 ehn(tsdb/cache): skip invalid row or data block directly with merge tree 2023-03-17 10:22:36 +08:00
Haojun Liao
970155a845 fix(query): fix coverity issues. 2023-03-16 21:53:34 +08:00
wangmm0220
6323a6e801 fix:conflicts 2023-03-16 19:18:07 +08:00
wangmm0220
14970478dc fix:conflicts 2023-03-16 19:15:08 +08:00
wangmm0220
fa2e7b234c fix:add log for schemaless & sleep longer if modify schema error 2023-03-16 19:13:15 +08:00
Shengliang Guan
925693c8a9
Merge pull request #20493 from taosdata/fix/TD-23172
ehn(tsdb/cache): load necessary columns only
2023-03-16 15:49:04 +08:00
yihaoDeng
3ac11ce87a enh: change log 2023-03-16 06:17:45 +00:00
Minglei Jin
b1949b5584 fix(tsdb/cache): skip remaining rows in current data block 2023-03-16 14:11:34 +08:00
Haojun Liao
345b46769c
Merge pull request #20490 from taosdata/fix/liaohj
fix(tmq): disable non-leader vnode responsing the poll request.
2023-03-16 14:00:42 +08:00
Minglei Jin
6e0343fc08 enh(tsdb/cache): load necessary columns only 2023-03-16 11:18:36 +08:00
Haojun Liao
a1682664f2 fix(tmq): disable non-leader vnode responsing the poll request. 2023-03-16 10:12:34 +08:00
yihaoDeng
ef092c1cce enh: add queue limit 2023-03-15 11:54:36 +00:00
Shengliang Guan
af4532dc63
Merge pull request #20476 from taosdata/fix/TD-23163
enh(tsdb/cache): skip invalid datablock directly when traversing fs with last
2023-03-15 19:03:48 +08:00
Minglei Jin
04d501d64a fix: destroy aColArray anyway 2023-03-15 17:41:29 +08:00
Minglei Jin
f1414355e3 tsdb/cache: skip invalid datablock directly when traversing fs with last 2023-03-15 16:24:36 +08:00
Haojun Liao
36cec7894b
Merge pull request #20472 from taosdata/fix/liaohj
fix(query): set the correct cached tags list key length, and update s…
2023-03-15 15:56:50 +08:00
Haojun Liao
52576071ae refactor: do some internal refactor. 2023-03-15 14:37:48 +08:00
Haojun Liao
253a760810 fix(query): set the correct cached tags list key length, and update some logs. 2023-03-15 14:30:12 +08:00
Shengliang Guan
09ca41b3f7
Merge pull request #20467 from taosdata/fix/TS-2893
fix:create same sub table
2023-03-15 14:07:47 +08:00
kailixu
43a029e3c4 enh: coverity scan for sma 2023-03-15 12:30:44 +08:00
54liuyao
d5defa3def fix:create same sub table 2023-03-15 11:10:55 +08:00
Hongze Cheng
e43b606917 current from binary to json 2023-03-15 10:48:51 +08:00
Benguang Zhao
cc76d78673 enh: separate sync read and write events 2023-03-14 20:35:39 +08:00
Haojun Liao
32ddecc347 other: merge main. 2023-03-14 12:13:09 +08:00
Shengliang Guan
e98b32a69f
Merge pull request #20427 from taosdata/fix/main_bugfix_wxy
fix: last redundant read stt file
2023-03-14 09:41:19 +08:00
Shengliang Guan
214c595491
Merge pull request #20412 from taosdata/fix/TD-23095
fix:auto fill null column
2023-03-14 09:36:57 +08:00
Shengliang Guan
bf03965931
Merge pull request #20413 from taosdata/FIX/TD-22564-main
enh: not allow to propose if fsm applying progress lagging behind too far
2023-03-14 09:36:04 +08:00
Shengliang Guan
6989f1be61
Merge pull request #20418 from taosdata/fix/TD-22671
fix:deal with ASSERT in tmq
2023-03-14 09:34:52 +08:00
Xiaoyu Wang
ca39dfcf2d feat: show vgroup display num of cache tables 2023-03-13 17:21:32 +08:00
Haojun Liao
731a2138df fix(tmq): fix error in tmq. 2023-03-13 17:08:17 +08:00
Xiaoyu Wang
62377619ba enh: optimizing stt file reading in last query 2023-03-13 15:05:24 +08:00
Haojun Liao
7f2aae69d4 fix(tmq): fix error in taosx 2023-03-13 01:54:29 +08:00
Xiaoyu Wang
25778754e2 fix: last redundant read stt file 2023-03-12 22:36:26 +08:00
Xiaoyu Wang
45e38d258c fix: last redundant read stt file 2023-03-12 20:40:17 +08:00
Haojun Liao
564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
wangmm0220
0e2cf0ed73 fix:deal with ASSERT in tmq 2023-03-11 16:51:34 +08:00
Xiaoyu Wang
a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
wangmm0220
9cc7a9f504 fix:deal with ASSERT in tmq 2023-03-11 16:12:11 +08:00
Shengliang Guan
584f213739
Merge pull request #20401 from taosdata/fix/main_bugfix_wxy
fix: error in last cache handle deleted data
2023-03-11 15:43:55 +08:00
54liuyao
84ef1c78d4 fix:auto fill null column 2023-03-11 11:33:50 +08:00
Xiaoyu Wang
38a6d02ca9 Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-03-11 10:58:47 +08:00
Benguang Zhao
d679eaf648 enh: update pMnode->applied only when pMsg->code as zero 2023-03-10 18:10:34 +08:00
Xiaoyu Wang
11e55f028b fix: error in last cache handle deleted data 2023-03-10 17:49:27 +08:00
Hongze Cheng
7e071ff458 enh: optimize snapshot transfer 2023-03-10 16:01:40 +08:00
Shengliang Guan
cf1bf07bbb
Merge pull request #20387 from taosdata/fix/main_bugfix_wxy
enh: optimize last/last_row cost when the cache was first loaded
2023-03-10 14:51:45 +08:00
Haojun Liao
05ddf68247 fix(tmq): fix invalid free. 2023-03-10 14:27:34 +08:00
Haojun Liao
d8807d3d5a fix(tmq): fix memory leak. 2023-03-10 14:23:16 +08:00
Xiaoyu Wang
4e4f7de0ab enh: optimize last/last_row cost when the cache was first loaded 2023-03-10 12:00:17 +08:00
Haojun Liao
0d1b2e4b5a fix(tmq): use before remove hash item. 2023-03-10 10:31:53 +08:00
Shengliang Guan
c70c9546f2
Merge pull request #20372 from taosdata/fix/main_bugfix_wxy
enh: optimize last/last_row cost when the cache was first loaded
2023-03-10 10:07:22 +08:00
Shengliang Guan
37bc466f59
Merge pull request #20373 from taosdata/fix/TS-2853
fix:get dest table version
2023-03-10 10:05:01 +08:00
Haojun Liao
691cb08e88 refactor: remove some unused attributes. 2023-03-10 09:23:03 +08:00
Haojun Liao
09e84884be refactor: remove invalid assert 2023-03-09 23:31:29 +08:00
Haojun Liao
03aa391859 fix(tmq): add lock before close the tsdbreader. 2023-03-09 23:03:51 +08:00
Benguang Zhao
96e70c2795 enh: update logging msg in vnodeRestoreFinish 2023-03-09 20:05:19 +08:00
54liuyao
5acf665b7e fix:get dest table version 2023-03-09 19:36:10 +08:00
Benguang Zhao
5e53b1225b enh: finish restore with commit and applied indexes instead of num of items in apply queue 2023-03-09 19:35:42 +08:00
Xiaoyu Wang
47417e003e enh: optimize last/last_row cost when the cache was first loaded 2023-03-09 18:54:15 +08:00
Benguang Zhao
1392711e66 enh: add fsm FpAppliedIndexCb to get the current applied index 2023-03-09 18:14:04 +08:00
Benguang Zhao
9d10739908 enh: send rsp of negotiation failure ahead of apply queue 2023-03-09 16:18:44 +08:00
Hongze Cheng
afd01bb9b6 Merge branch 'main' of https://github.com/taosdata/TDengine into feat/TS-2846 2023-03-09 15:26:04 +08:00
Hongze Cheng
16262512b2 feat: alter stt_trigger and minrows 2023-03-09 15:25:47 +08:00
Shengliang Guan
00854f677c
Merge pull request #20335 from taosdata/fix/TD-22753
fix: unit  sma and tag index error msg
2023-03-09 15:20:47 +08:00
Xiaoyu Wang
66bb55187d Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main 2023-03-08 18:30:24 +08:00
yihaoDeng
01a5d5d219 unit sma and tag index error msg 2023-03-08 18:16:29 +08:00
yihaoDeng
d8d74b3514 unit sma and tag index error msg 2023-03-08 16:02:46 +08:00
Hongze Cheng
05688386a0 little fix 2023-03-08 15:19:55 +08:00
Hongze Cheng
a56c99daac fix: add more msg check 2023-03-08 14:45:04 +08:00
Hongze Cheng
b5b6f31023 Merge branch 'main' of https://github.com/taosdata/TDengine into feat/compact_with_time_range 2023-03-08 13:47:40 +08:00
Xiaoyu Wang
4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
Xiaoyu Wang
0dc34018b6 fix: insert data crash after empty table last cache 2023-03-08 10:06:48 +08:00
Hongze Cheng
dc0d7c26ea Merge branch 'main' of https://github.com/taosdata/TDengine into feat/compact_with_time_range 2023-03-08 08:53:56 +08:00
Hongze Cheng
89281ee488 compact with time range 2023-03-07 21:46:34 +08:00
Shengliang Guan
fe729a4756
Merge pull request #20305 from taosdata/fix/main_bugfix_wxy
fix: taosd crash when modify the schema and query last_row
2023-03-07 20:31:18 +08:00
Xiaoyu Wang
163224f4e2 fix: taosd crash when modify the schema and query last_row 2023-03-07 19:42:05 +08:00
Xiaoyu Wang
ab86f6abee fix: taosd crash when modify the schema and query last_row 2023-03-07 18:15:17 +08:00
Shengliang Guan
4ea87deef7
Merge pull request #20301 from taosdata/fix/main_bugfix_wxy
fix: insert data crash after empty table last_row cache
2023-03-07 18:08:23 +08:00
Haojun Liao
d54ae0c840 fix(tmq): free reader after check the reader status. 2023-03-07 17:49:20 +08:00
Xiaoyu Wang
ab5cce806c fix: fix: after the last_row cache is created, modify the schema and query again, resulting in taosd crash 2023-03-07 16:25:46 +08:00
Xiaoyu Wang
8e6534d9f3 fix: insert data crash after empty table last_row cache 2023-03-07 16:06:56 +08:00
Shengliang Guan
325b3439df
Merge pull request #20290 from taosdata/fix/main_bugfix_wxy
fix: after the last cache is created, modify the schema and query again, resulting in taosd crash
2023-03-07 11:07:07 +08:00
Hongze Cheng
424a37fd3a some code 2023-03-07 10:20:48 +08:00
Xiaoyu Wang
bc9eb47e04 fix: after the last cache is created, modify the schema and query again, resulting in taosd crash 2023-03-07 10:14:39 +08:00
Haojun Liao
2790368a03
Merge pull request #20269 from taosdata/feature/3_liaohj
fix(qurey): fix som errors and add some logs.
2023-03-06 20:38:22 +08:00
Xiaoyu Wang
b2247a10cb fix: last cache invalid write 2023-03-06 18:00:53 +08:00
wangmm0220
86ef6522ae fix:wal curVersion error if switch to wal 2023-03-06 17:40:02 +08:00
Shengliang Guan
7edcbfd58b Merge branch 'fix/stopFunc' into feature/3_liaohj 2023-03-06 09:43:00 +08:00
Haojun Liao
22a85734c6 fix(mq): add more chek for balance couner to avoid the negative value emerges. 2023-03-05 13:23:50 +08:00
wangmm0220
e54e12eff0 fix:give error if col is same in schemless & fix json parse error in TD-22903 2023-03-04 11:57:27 +08:00
Haojun Liao
24bb33f24a refactor: add some logs. 2023-03-03 18:34:38 +08:00
Shengliang Guan
25e0ed8cb5 Merge branch 'fix/TD-22951' into feature/3_liaohj 2023-03-03 18:21:55 +08:00
Hongze Cheng
7f62507e4a Merge branch 'main' of https://github.com/taosdata/TDengine into 3.0.3.00302 2023-03-03 16:41:35 +08:00
Shengliang Guan
658bd47315 Merge remote-tracking branch 'origin/main' into feature/3_liaohj 2023-03-03 10:56:09 +08:00
Haojun Liao
e8c11c58f0 fix(tq): add some logs. 2023-03-03 10:20:52 +08:00
Xiaoyu Wang
ed5a58fbb6
Merge pull request #20243 from taosdata/fix/main_bugfix_wxy
fix: last cache read problem after schema change
2023-03-02 20:52:22 +08:00
Hongze Cheng
ed48296acd Merge branch 'main' of https://github.com/taosdata/TDengine into 3.0.3.00302 2023-03-02 19:47:22 +08:00
Xiaoyu Wang
7649ede074 fix: last cache read problem after schema change 2023-03-02 19:45:21 +08:00
Xiaoyu Wang
b09bb40e2d
Merge pull request #20242 from taosdata/fix/auto_retention
fix: auto retention
2023-03-02 19:32:25 +08:00
Xiaoyu Wang
7deee1c4c7 fix: last cache read problem after schema change 2023-03-02 18:22:42 +08:00
Hongze Cheng
dfaf26dfc5 add data scan 2023-03-02 18:10:02 +08:00
Shengliang Guan
5840e2f770
Merge pull request #20152 from taosdata/fix/TD-22764
fix:core dump if data block size is 0
2023-03-02 17:29:03 +08:00
Haojun Liao
37281ae17f
Merge pull request #20228 from taosdata/feature/3_liaohj
fix(query): record the correct last accessed key in the stt file.
2023-03-02 17:13:31 +08:00
Hongze Cheng
e0819db5de fix: auto retention 2023-03-02 15:06:11 +08:00
dapan1121
341f813a61 Merge remote-tracking branch 'origin/main' into fix/TS-2770 2023-03-02 08:29:37 +08:00
Haojun Liao
8d32d256ad fix(query): set correct lastkeyinstt. 2023-03-02 00:48:17 +08:00
Haojun Liao
c5102c9ea5 Merge branch 'main' into feature/3_liaohj 2023-03-01 23:31:57 +08:00
Haojun Liao
443852cc3f fix(query): set correct last key. 2023-03-01 21:46:25 +08:00
Xiaoyu Wang
0fe9b5ca19
Merge pull request #20222 from taosdata/feat/compact
more compact to enterprise
2023-03-01 20:19:42 +08:00
Haojun Liao
3327beba1e fix(query): record the correct last accessed key in the stt file. 2023-03-01 14:56:51 +08:00
Xiaoyu Wang
74a4051881 move compact to enterprise 2023-03-01 14:48:31 +08:00
dapan1121
ee70606f19 fix: projection query in descending order result error issue 2023-03-01 14:48:15 +08:00
Haojun Liao
10a119e3fb
Merge pull request #20106 from taosdata/fix/TD-22667-3.0
fix:error by coverity scan
2023-03-01 13:31:59 +08:00
Haojun Liao
a3ffddba2d
Merge pull request #20204 from taosdata/fix/3_coverity
fix(query): fix coverity issue.
2023-03-01 09:28:36 +08:00
Hongze Cheng
d319d6fe00 more compact to enterprise 2023-02-28 19:52:03 +08:00
Xiaoyu Wang
e36d9a4c25 merge main 2023-02-28 16:13:28 +08:00
cyang
2164acce88 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-22764 2023-02-28 16:10:09 +08:00
Haojun Liao
f1f9e570e6 Merge branch '3.0' into fix/3_coverity 2023-02-28 16:03:28 +08:00
Haojun Liao
dc45ec2660 fix(query): set the correct bucket index. 2023-02-28 15:17:32 +08:00
wangmm0220
986ae9c4d0 fix:conflicts 2023-02-28 15:11:16 +08:00
Haojun Liao
22e52ebb38 fix(query): fix block distribution error. 2023-02-28 14:25:19 +08:00
Haojun Liao
4172041ec8 fix(query): fix error in displaying block distribution. 2023-02-28 14:20:14 +08:00
Haojun Liao
60188e82a6 fix(query): fix coverity issue. 2023-02-28 13:42:19 +08:00
Haojun Liao
1ac30b7710
Merge pull request #20169 from taosdata/feature/3_liaohj
refactor: do some internal refactor and add some logs for tmq.
2023-02-28 12:01:22 +08:00
WANG MINGMING
5dfc9ed4d0
Merge branch '3.0' into fix/TD-22667-3.0 2023-02-28 09:52:34 +08:00
Haojun Liao
52a8912969
Merge pull request #20183 from taosdata/fix/TD-22797
fix: avoid filter slow when not exist target value
2023-02-28 09:18:46 +08:00
Haojun Liao
d18dd3067b other: merge main. 2023-02-28 00:38:37 +08:00
Haojun Liao
5e9f53560d
Merge branch 'main' into feature/3_liaohj 2023-02-27 18:23:35 +08:00
Hongze Cheng
1fa5d02b94 more code 2023-02-27 18:20:09 +08:00
Hongze Cheng
d963a4f20c Merge branch 'main' of https://github.com/taosdata/TDengine into feat/auto_retention 2023-02-27 18:11:12 +08:00
Hongze Cheng
ee36cf8aca mroe code 2023-02-27 18:11:04 +08:00
Hongze Cheng
8e3084ecc0 feat: auto retention 2023-02-27 18:09:51 +08:00
Xiaoyu Wang
6a5934983c
Merge pull request #20181 from taosdata/fix/3.0_merge_main
merge main
2023-02-27 17:08:35 +08:00
yihaoDeng
c13cea4f44 fix: avoid filter slow when filter not exist value 2023-02-27 14:34:38 +08:00
Xiaoyu Wang
efa56d5352 merge main 2023-02-27 14:18:03 +08:00
Xiaoyu Wang
f97a140a3c merge 3.0 2023-02-27 14:16:33 +08:00
cyang
6a15c36fc1 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-22764 2023-02-27 10:05:05 +08:00
54liuyao
f2dfe5ab74 fix:create same sub table 2023-02-27 09:55:34 +08:00
wangmm0220
c638564179 fix:confilcts from main 2023-02-26 23:09:57 +08:00
Haojun Liao
b46098793d refactor: do some internal refactor and add some logs for tmq. 2023-02-26 12:16:45 +08:00
dapan1121
77295df8ec
Merge pull request #20161 from taosdata/fix/TS-2729
fix: table scan crash issue
2023-02-26 07:45:17 +08:00
dapan1121
50ee40308b fix: realloc uid list 2023-02-25 16:10:48 +08:00
Haojun Liao
0369ff2231 other: merge main. 2023-02-25 15:42:32 +08:00
dapan1121
10e35f1ed0 fix: free pointer issue 2023-02-25 14:15:24 +08:00
Haojun Liao
514369c611 other: merge main 2023-02-25 11:06:13 +08:00
Haojun Liao
d6fca036e5 refactor: do some internal refactor. 2023-02-25 11:02:42 +08:00
Haojun Liao
90c6641cff
Merge pull request #20131 from taosdata/fix/coverity_yihao
fix: fix asan problem
2023-02-25 10:42:39 +08:00
Xiaoyu Wang
d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
Xiaoyu Wang
320ad8d1f2
Merge pull request #20150 from taosdata/fix/TD-22710
fix: compact wrong data count
2023-02-25 10:02:56 +08:00
Xiaoyu Wang
5856a39827
Merge pull request #20123 from taosdata/fix/3.0_merge_main
merge main
2023-02-25 10:01:26 +08:00
dapan1121
05bd600ef8 fix: table scan crash issue 2023-02-25 09:34:37 +08:00
Yihao Deng
22b1bc1049
Merge branch '3.0' into fix/coverity_yihao 2023-02-24 21:22:58 +08:00
wangmm0220
54a546931c fix:optimize version logic in tmq and remove useless code 2023-02-24 19:22:08 +08:00
Haojun Liao
097723f446
Merge pull request #20151 from taosdata/feature/3_liaohj
fix(query): expand output buffer.
2023-02-24 18:56:51 +08:00
Hui Li
965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
cyang
21234a33dc fix:converity scan error 2023-02-24 17:02:30 +08:00
Xiaoyu Wang
961107d1ca merge main 2023-02-24 16:55:50 +08:00
Haojun Liao
6120c73aaa
Merge pull request #20122 from taosdata/enh/TD-22715
fix: fix distributed table error
2023-02-24 16:44:43 +08:00
wangmm0220
181d588f85 fix:core dump if data block size is 0 2023-02-24 16:04:35 +08:00
Hongze Cheng
2a8f7e121a Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-22710 2023-02-24 14:41:42 +08:00
Hongze Cheng
765ff98f6a fix: compact wrong data count 2023-02-24 14:41:23 +08:00
Haojun Liao
80babb19f0 fix(query): fix syntax errors on centos. 2023-02-24 14:34:53 +08:00
Haojun Liao
993ae9e7e9 Merge branch '3.0' into fix/3_coverity 2023-02-24 14:34:01 +08:00
Haojun Liao
26ab5e011b fix(query): fix syntax errors on centos. 2023-02-24 14:05:52 +08:00
Xiaoyu Wang
58fc265b80 merge main 2023-02-24 13:26:45 +08:00
Haojun Liao
22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Haojun Liao
645c3e672f
Merge pull request #20144 from taosdata/fix/3_coverity
fix(query): fix coverity issue.
2023-02-24 11:31:36 +08:00
Xiaoyu Wang
d06dedd5cc
Merge pull request #20103 from taosdata/fix/TD-22668
fix: coverity scan issues
2023-02-24 10:53:49 +08:00
Haojun Liao
7821bbe0d0 refactor: add some logs. 2023-02-24 10:08:25 +08:00
Haojun Liao
cc393f3939
Merge pull request #20143 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2023-02-24 09:58:44 +08:00
Haojun Liao
97024f1468 fix(query): fix coverity issue. 2023-02-24 09:48:34 +08:00
Haojun Liao
bbb571a383 refactor: do some internal refactor. 2023-02-24 00:06:18 +08:00
Haojun Liao
dbb1e9bd59 refactor: do some internal refactor. 2023-02-23 21:59:55 +08:00
yihaoDeng
2013ba0d8f fix: fix asan problem 2023-02-23 17:54:51 +08:00
54liuyao
e42d5ba3dc fix:table name is null 2023-02-23 17:31:47 +08:00
Haojun Liao
6e39bec448
Merge pull request #20089 from taosdata/fix/TD-22671
fix:remove useless logic in tmq
2023-02-23 17:27:00 +08:00
Xiaoyu Wang
1ab144609e merge main 2023-02-23 14:58:22 +08:00
yihaoDeng
7d75939fae fix: fix invalid dist count 2023-02-23 14:35:05 +08:00
54liuyao
72e7f617e2 fix:disable stream 2023-02-23 14:24:45 +08:00
Haojun Liao
c16bbfadbb
Merge pull request #20115 from taosdata/feature/3_liaohj
refactor: add some logs.
2023-02-23 11:23:48 +08:00
dapan1121
29f84355eb
Merge pull request #20107 from taosdata/fix/TD-22689
fix: taosd crash issue caused of out of fd
2023-02-23 10:48:21 +08:00
Xiaoyu Wang
ebcd7415c1
Merge pull request #20086 from taosdata/fix/TD-22670
fix(tsdb/cache): use state's tsdb instead of readers
2023-02-23 10:39:26 +08:00
Xiaoyu Wang
7dc3c6b4e8
Merge pull request #20056 from taosdata/FIX/TD-22595-main
fix: synchronize access to pVnode->inUse
2023-02-23 10:39:00 +08:00
Haojun Liao
b203107922
Merge branch 'main' into feature/3_liaohj 2023-02-23 10:22:17 +08:00
Haojun Liao
6015729560 refactor: add some logs. 2023-02-23 09:21:32 +08:00
Haojun Liao
4432ae51e6
Merge branch 'main' into fix/liaohj 2023-02-23 09:04:32 +08:00
Haojun Liao
5b1c2fc314
Merge pull request #20094 from taosdata/feature/3_liaohj
fix(tmq): update the epset when the leader of vnode changed.
2023-02-23 08:58:40 +08:00
dapan1121
532fb08309 fix: rsma invalid read issue 2023-02-22 18:13:24 +08:00
dapan1121
5a587d15f3 fix: taosd crash issue 2023-02-22 17:12:08 +08:00
wangmm0220
91d5df423f fix:error by coverity scan 2023-02-22 15:48:39 +08:00
Minglei Jin
8db525667f fix(meta/query): remove incorrect file & line args 2023-02-22 14:49:54 +08:00
Minglei Jin
6929f74559 fix(tsdb/cache): check the return result of data block creating 2023-02-22 14:48:57 +08:00
Haojun Liao
8532de31cf refactor: remove assert. 2023-02-22 14:32:39 +08:00
Hongze Cheng
81ee050a0f fix: coverity scan problem 2023-02-22 14:29:14 +08:00
Haojun Liao
82067f3bd2 fix(query): fix coverity issues. 2023-02-22 13:38:13 +08:00
Haojun Liao
61a7001274 fix(query): fix coverity issues. 2023-02-22 10:50:42 +08:00
wangmm0220
b28c0ad952 fix:remove useless logic in tmq 2023-02-21 18:49:39 +08:00
Minglei Jin
724e7bc3a1 fix(tsdb/cache): use state's tsdb instead of readers 2023-02-21 18:23:18 +08:00
Benguang Zhao
a78556a3e6 fix: synchronize access to pVnode->inUse 2023-02-21 16:52:24 +08:00
dapan1121
0b0af5240d
Merge pull request #20002 from taosdata/fix/forceStopTask
fix: add force stop task and rename conflict structer name
2023-02-21 16:30:18 +08:00
Xiaoyu Wang
7337f5ff7d
Merge pull request #20052 from taosdata/fix/3.0_merge_main
merge main
2023-02-21 16:27:19 +08:00
Xiaoyu Wang
b304456fef fix: rsma error 2023-02-21 11:17:59 +08:00
Xiaoyu Wang
9370d67e43 fix: tsdb reader resume 2023-02-21 09:43:56 +08:00
Xiaoyu Wang
319dfd8f06 merge 3.0 2023-02-20 17:21:37 +08:00
Xiaoyu Wang
9aa8b07a74
Merge pull request #20054 from taosdata/enh/3.0_planner_optimize
fix: wal compatibility of normal tables
2023-02-20 16:40:45 +08:00
Haojun Liao
ad0be66a78
Merge pull request #19935 from taosdata/enh/dynamicIdx
feat:  change  index dynamicly
2023-02-20 15:48:49 +08:00
Xiaoyu Wang
c79b63ab13 fix: wal compatibility of normal tables 2023-02-20 15:44:36 +08:00
Xiaoyu Wang
c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao
7fe250412f refactor:do some internal refactor. 2023-02-20 10:13:11 +08:00
Haojun Liao
8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
Xiaoyu Wang
6ecd5b2971
Merge pull request #20019 from taosdata/enh/3.0_planner_optimize
feat: compatible with older versions of wal
2023-02-18 19:34:28 +08:00
Xiaoyu Wang
a8630c0aa3
Merge pull request #20031 from taosdata/FIX/TD-22224-main
fix: not allow to read if sync is restoring
2023-02-18 18:31:46 +08:00
yihaoDeng
51755e9783 fix: fix drop error 2023-02-18 16:44:29 +08:00
yihaoDeng
db7dec0347 fix filter error 2023-02-18 11:21:10 +08:00
yihaoDeng
1acb4dd676 opt filter 2023-02-18 09:38:54 +08:00
Benguang Zhao
d51c3c36fb fix: not allow to read if sync is restoring 2023-02-17 19:47:52 +08:00
Xiaoyu Wang
0f4de9daec feat: compatible with older versions of wal 2023-02-17 18:06:57 +08:00
Xiaoyu Wang
d5cd2d36af feat: compatible with older versions of wal 2023-02-17 15:55:55 +08:00
Xiaoyu Wang
a7dad151f3
Merge pull request #20004 from taosdata/fix/TS-2625
fix(tsdb/cache): use block index cache with last/last_row
2023-02-17 15:27:49 +08:00
Hongze Cheng
aefdf9160a fix: auto trim database 2023-02-17 10:38:55 +08:00
Xiaoyu Wang
b7f4b93d22 merge 3.0 2023-02-17 09:23:41 +08:00
Xiaoyu Wang
dc984d92f7 feat: compatible with older versions of wal 2023-02-17 09:21:07 +08:00
Hongze Cheng
1640ccc4b2 fix: another error 2023-02-16 17:50:45 +08:00
Liu Jicong
2a4708d82a fix: save fill history state 2023-02-16 17:01:09 +08:00
Hongze Cheng
3c37ad11e6 fix: other problems 2023-02-16 15:55:59 +08:00
Minglei Jin
de9cafb04e fix(tsdb/cache): disable sharding for block index cache 2023-02-16 15:50:19 +08:00
Haojun Liao
f8b59fc5bf
Merge pull request #19999 from taosdata/feat/TS-2633
feat:add disable stream option
2023-02-16 13:23:08 +08:00
Minglei Jin
4959e8fa7c
Merge branch 'main' into fix/TS-2625 2023-02-16 12:33:59 +08:00
Haojun Liao
f34bc0344c
Merge pull request #20001 from taosdata/fix/nodisk
fix(query): fix memory leak and invalid free for tag filter cache.
2023-02-16 10:46:50 +08:00
Minglei Jin
56f1afb19c fix(tsdb/cache): use block index cache with last/last_row 2023-02-16 09:28:35 +08:00
Haojun Liao
fd379310f6
Merge pull request #19979 from taosdata/fix/tq_oom
fix: handle insufficient resource
2023-02-16 09:17:52 +08:00
dapan1121
ed4e8313e0 fix: add force stop task and rename conflict structer name 2023-02-16 08:55:13 +08:00
Haojun Liao
c7a9ed34d0 fix(query): fix memory leak and invalid free for tag filter cache. 2023-02-15 23:24:43 +08:00
Haojun Liao
717392782a fix(query): remove the invalid free. 2023-02-15 19:50:56 +08:00
54liuyao
43966abbc6 feat:add disable stream option 2023-02-15 18:39:05 +08:00
Hongze Cheng
3289f79ab2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-15 18:00:22 +08:00
Hongze Cheng
c1a3a0855b finish code 2023-02-15 17:59:54 +08:00
Haojun Liao
cb35b453d4
Merge pull request #19870 from taosdata/feature/3_liaohj
other: merge opt to main.
2023-02-15 12:55:04 +08:00
54liuyao
88970c88a9 fix:dispatch create sub table 2023-02-15 11:04:49 +08:00
yihaoDeng
df296c15f7 opt: opt tag index 2023-02-14 17:31:10 +08:00
yihaoDeng
dabcf00ade fix RC 2023-02-14 16:54:20 +08:00
Liu Jicong
b147ba2812 fix: handle insufficient resource 2023-02-14 16:18:40 +08:00
Xiaoyu Wang
9fb5c8f3a1
Merge pull request #19961 from taosdata/fix/TD-22432
fix(tsdb/cache): invalidate cache entry if schema changed
2023-02-14 14:53:02 +08:00
Minglei Jin
ea81fc0b30 fix(vnd): zero meta in vnode when closing 2023-02-14 10:56:00 +08:00
Minglei Jin
8ec5df8d7d fix(tsdb/cache): Not free zero length var data 2023-02-14 10:20:55 +08:00
Minglei Jin
ee9c59dc77 fix(tsdb/cache): invalidate cache entry if schema changed 2023-02-13 19:30:48 +08:00
Haojun Liao
c1e7b3be66 fix(query): 1. reset the pointer, when initialize the reader failed. 2. add check for null pointer when extracting cached rows. 2023-02-13 19:10:31 +08:00
Haojun Liao
c9ce01c878 Merge branch 'main' into feature/3_liaohj 2023-02-13 17:09:27 +08:00
yihaoDeng
e4906283cb fix json_tag crash 2023-02-13 15:47:19 +08:00
Haojun Liao
c597a1e4ce refactor: do some internal refactor. 2023-02-13 15:46:47 +08:00
wangmm0220
b054ef9a9f fix:conflict from 3.0 2023-02-13 14:04:36 +08:00
yihaoDeng
16da9d78a9 fix: fix filter error result 2023-02-13 13:47:22 +08:00
wangmm0220
0e630b8f81 fix:remove id in execReader & enable task case 2023-02-13 13:38:05 +08:00
Yihao Deng
5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
yihaoDeng
0fd0c64157 fix: fix filter error result 2023-02-13 13:28:52 +08:00
yihaoDeng
0f803fca10 fix: fix filter error result 2023-02-13 11:40:40 +08:00
Hongze Cheng
454e56fd09 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-13 10:37:32 +08:00
Haojun Liao
27a53a0c64 fix(query): set the correct table iter. 2023-02-13 10:05:26 +08:00
Xiaoyu Wang
6483b92f0c
Merge pull request #19923 from taosdata/fix/3.0_merge_main
merge main
2023-02-13 09:48:45 +08:00
Liu Jicong
0cd6bd3d86 Merge branch 'main' into enh/stream_buffer_param 2023-02-13 09:48:02 +08:00
Hongze Cheng
10167a90cd refact code 2023-02-13 09:39:21 +08:00
Hongze Cheng
cce25bbcd8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-13 09:14:24 +08:00
Haojun Liao
34036b932f fix(query): fix error in windows. 2023-02-13 01:05:40 +08:00
Haojun Liao
f85cf08f87 fix(query): set the initial iterator table before check data in buffer. 2023-02-12 22:09:46 +08:00
yihaoDeng
a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Haojun Liao
f6a262eeb1 fix(query): fix invalid write. 2023-02-11 01:56:28 +08:00
Haojun Liao
1b53f4b0bd
Merge pull request #19919 from taosdata/fix/liaohj
fix(query): add check for table/super table dropped
2023-02-10 23:00:55 +08:00
Haojun Liao
a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Haojun Liao
5dfa0e69a9 fix(query): set correct schema info for normal table. 2023-02-10 19:06:23 +08:00
yihaoDeng
9d8e3e0c8f fix mem leak 2023-02-10 18:29:03 +08:00
Haojun Liao
6839ed22f2 fix(query): fix bug in tag filter. 2023-02-10 18:28:35 +08:00
Xiaoyu Wang
3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Hongze Cheng
039a0d2270 fix: compile issue 2023-02-10 18:01:22 +08:00
Haojun Liao
e378668571
Merge pull request #19915 from taosdata/fix/nodisk
ehn(query): dynamic set the initial buffer size for data block from d…
2023-02-10 17:49:46 +08:00
Haojun Liao
f6b2da8c06 fix(query): add check for table/super table dropped, when retrieving cache rows. 2023-02-10 16:53:11 +08:00
Hongze Cheng
9694933ec8 fix: compact issue 2023-02-10 16:24:29 +08:00
Haojun Liao
c8f1c3b6e4 fix(query): set the max rows as the default block buffer rows. 2023-02-10 16:18:30 +08:00
Haojun Liao
72287a3b5f fix(query): set correct tag value during tag filter and do some internal refactor. 2023-02-10 16:03:11 +08:00
Haojun Liao
17f05c0020 refactor: disable the limitation of maximum buffer size. 2023-02-10 14:40:37 +08:00
Haojun Liao
4908c563cc ehn(query): dynamic set the initial buffer size for data block from disk. 2023-02-10 14:35:18 +08:00
Haojun Liao
440122e010
Merge pull request #19900 from taosdata/fix/nodisk
fix(query): set lastkey during check of valid ts.
2023-02-10 13:45:08 +08:00
Hongze Cheng
f523a96c2d fix compact problem 2023-02-10 13:38:21 +08:00
Haojun Liao
4f4d39a16b fix(query): set correct last key. 2023-02-10 11:32:18 +08:00
yihaoDeng
cf129cacb9 add mutex 2023-02-10 10:51:25 +08:00
Xiaoyu Wang
b2e60da1cf merge main 2023-02-10 10:34:55 +08:00
Haojun Liao
0fbaf4eab0 fix(query): set lastkey during check of valid ts. 2023-02-09 23:01:44 +08:00
yihaoDeng
d4cfeb1f6c add more test case 2023-02-09 21:04:11 +08:00
Xiaoyu Wang
86d231ce50
Merge pull request #19872 from taosdata/feat/vnode_compact
feat: data compaction
2023-02-09 16:24:50 +08:00
yihaoDeng
5315500287 fix filter error 2023-02-09 16:09:46 +08:00
Haojun Liao
6cf363600b
Merge pull request #19785 from taosdata/fix/TD-21899
fix:auto create table & NULL NONE problem for taosx
2023-02-09 15:31:13 +08:00
Xiaoyu Wang
9bc225ffda merge 3.0 2023-02-09 09:44:29 +08:00
Xiaoyu Wang
79440f7a26
Merge pull request #19860 from taosdata/fix/3.0_merge_main
merge main
2023-02-09 09:22:19 +08:00
yihaoDeng
a8d2375bd8 fix filter error 2023-02-08 23:30:12 +08:00
yihaoDeng
9ba5381b5a fix filter error 2023-02-08 23:04:49 +08:00
yihaoDeng
4b6c073623 fix filter error 2023-02-08 23:01:20 +08:00
yihaoDeng
5881bdb6ff add test case 2023-02-08 22:13:29 +08:00
Hongze Cheng
8d6e6d2fe0 more code 2023-02-08 17:46:11 +08:00
Xiaoyu Wang
277469083f
Merge pull request #19848 from taosdata/FIX/TD-22121-main
enh: set terrno as Invalid table ID while tdbTbGet suid failure in metaUpdateTagIdx
2023-02-08 16:29:23 +08:00
Xiaoyu Wang
50819c46ec
Merge pull request #19852 from taosdata/FIX/TD-22184-main
enh: return error on unexpected snapshot msg
2023-02-08 16:29:10 +08:00
Hongze Cheng
c398f9d299 more code 2023-02-08 16:11:47 +08:00
Liu Jicong
ae4ad7d851 Merge branch 'main' into enh/stream_buffer_param 2023-02-08 16:09:35 +08:00
Hongze Cheng
0f70a61253 more code 2023-02-08 14:28:54 +08:00
Haojun Liao
9dc8946143
Merge pull request #19859 from taosdata/fix/nodisk
fix(query): reset the data load flag when build clean file  block.
2023-02-08 14:24:35 +08:00
Hongze Cheng
e22e4f626a more code 2023-02-08 11:30:38 +08:00
Hongze Cheng
5a56e39613 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 11:15:51 +08:00
Hongze Cheng
108ce09c85 more code 2023-02-08 11:15:36 +08:00
Hongze Cheng
d9e8b3c047 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 10:20:22 +08:00
Xiaoyu Wang
09925437e3 merge main 2023-02-08 09:51:52 +08:00
Xiaoyu Wang
44a5e0070b
Merge pull request #19840 from taosdata/fix/TD-22245-batch-delete
fix(vnd): no rlock on writing thread's path
2023-02-08 09:17:33 +08:00
Haojun Liao
e199f96d94 fix(query): reset the data load flag when build clean file block. 2023-02-08 09:14:38 +08:00
Hongze Cheng
9b338ae095 more code 2023-02-07 22:05:36 +08:00
Shengliang Guan
7fdeaf19be Merge remote-tracking branch 'origin/3.0' into enh/TD-18702 2023-02-07 20:29:14 +08:00
Benguang Zhao
9b522cec3a enh: return error on unexpected snapshot msg 2023-02-07 19:16:39 +08:00
Haojun Liao
445c3bd250 fix(query): remove sleep. 2023-02-07 18:27:32 +08:00
Haojun Liao
5dfdb91135 fix(query): check if table exists or not during build data block in tsdbread. 2023-02-07 17:16:20 +08:00
Hongze Cheng
c7267c7c9f more code 2023-02-07 16:49:29 +08:00
Benguang Zhao
2330bf5b49 enh: set terrno as TSDB_CODE_TDB_INVALID_TABLE_ID while tdbTbGet suid failure 2023-02-07 16:20:06 +08:00
Minglei Jin
2f0e5eae32 fix(vnd): no wlock on writing thread's path 2023-02-07 15:15:56 +08:00
kailixu
8df67a9a3c fix: rsma close and commit 2023-02-07 15:10:11 +08:00
Hongze Cheng
a885d6e3d2 more code 2023-02-07 14:08:20 +08:00
kailixu
9598fe684e Merge branch '3.0' into fix/TD-22047-3.0 2023-02-07 10:42:16 +08:00
Haojun Liao
5e2bb75275 fix(query):set correct initial key value for mem/imem data. 2023-02-06 17:56:45 +08:00
Haojun Liao
3822225231 other: merge main. 2023-02-06 16:24:15 +08:00
Haojun Liao
08b3ce7cc0 fix(query): remove timing code. 2023-02-06 16:08:41 +08:00
Haojun Liao
b53d2669da other: merge main 2023-02-06 16:02:54 +08:00
Haojun Liao
e7b97cc086 fix(query): set the correct timestamp value in case that only imem has data. 2023-02-06 15:59:47 +08:00
Xiaoyu Wang
0b6852d7eb
Merge pull request #19813 from taosdata/enh/TD-22139
enh(tsdb/cache): new block index cache for querying
2023-02-06 15:42:42 +08:00
Hongze Cheng
09628401f8 refact code 2023-02-06 14:49:50 +08:00
Minglei Jin
b83f93d564 fix(query): release lru handle before returning from block idx loading 2023-02-06 14:41:17 +08:00
Minglei Jin
a6d52aed4f fix(tsdb/cache): use 5M cache for block index instead of 1M 2023-02-06 14:18:49 +08:00
Xiaoyu Wang
f2ff17dace merge 3.0 2023-02-06 14:18:13 +08:00
Minglei Jin
023b8377fb enh(tsdb/cache): new block index cache for querying 2023-02-06 14:12:57 +08:00
Haojun Liao
882451df0b
Merge pull request #19809 from taosdata/fix/nodisk
fix(query): add null ptr check when retrieving the block info.
2023-02-06 12:57:23 +08:00
Haojun Liao
89b1843382 fix(query): add null ptr check when retrieving the block info. 2023-02-06 10:59:45 +08:00
wangmm0220
762f6466f3 fix:conflicts from 3.0 2023-02-06 09:23:29 +08:00
wangmm0220
33de4e2aba fix:memory leak 2023-02-06 09:21:46 +08:00
yihaoDeng
0dd4433e58 opt index 2023-02-05 11:49:45 +08:00
yihaoDeng
9b7d935682 opt index 2023-02-04 21:02:06 +08:00
Haojun Liao
8dcd73abf0
Merge pull request #19790 from taosdata/fix/nodisk
fix(query): set the correct number of rows when calculating using sma
2023-02-04 00:58:59 +08:00
dapan1121
225bf28536
Merge pull request #19744 from taosdata/fix/TD-22009
enhance: optimize building table delete skyline performance
2023-02-03 19:00:47 +08:00
Haojun Liao
845530e125 other: add some logs. 2023-02-03 17:33:35 +08:00
Xiaoyu Wang
5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Haojun Liao
f803fa44b5 fix(query): set the correct number of rows when calculating using sma for min/max function. 2023-02-03 16:50:13 +08:00
wangmm0220
51760c10ec fix:conflicts from 3.0 2023-02-03 15:40:20 +08:00
wangmm0220
c576d1fa91 fix:error for subscribe stable 2023-02-03 14:54:25 +08:00
Hongze Cheng
f982428e46 mroe code 2023-02-03 14:46:45 +08:00
Shengliang Guan
3b475d4c0d fix: adjust some log while split 2023-02-03 14:40:19 +08:00
Hongze Cheng
49631f6e96 fix: snapshot coredump caused by type 2023-02-03 14:34:55 +08:00
Haojun Liao
e29ca4f5d8 refactor(query): use real number of stt instead of default value. 2023-02-03 10:04:15 +08:00
Liu Jicong
6248804b28 fix log 2023-02-03 09:14:52 +08:00
Haojun Liao
baaa57567e refactor: do some internal refactor. 2023-02-03 09:13:13 +08:00
Haojun Liao
9c32ebc011
Merge pull request #19745 from taosdata/fix/tq
fix: tq open
2023-02-03 09:11:51 +08:00
Haojun Liao
7168f90c51 refactor(query): disable file size check when reading data files. 2023-02-02 17:49:07 +08:00
Haojun Liao
40b7718078 refactor(query): disable file size check when reading data files. 2023-02-02 17:45:21 +08:00
Haojun Liao
e9490a3235 refactor(query): disable tag filter cache by default. 2023-02-02 17:38:21 +08:00
wangmm0220
c8d49b603d fix:roll back htol length for block raw data 2023-02-02 17:23:01 +08:00
Liu Jicong
8cd362c8d0 fix log 2023-02-02 16:15:12 +08:00
Haojun Liao
edca89b731 refactor: opt query perf. 2023-02-02 15:15:46 +08:00
Haojun Liao
fd6ea6ba2f other: merge main. 2023-02-02 14:12:24 +08:00
Haojun Liao
ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
Liu Jicong
924e5bfe6c add debug log 2023-02-02 13:34:11 +08:00
Haojun Liao
97ca4dfd0b
Merge pull request #19732 from taosdata/feat/ly_stream_stable
Feat/ly stream stable
2023-02-02 10:57:09 +08:00
Minglei Jin
69d6fb5bfe fix(meta): use metaAbort instead of tdbAbort with metaClose 2023-02-02 10:20:34 +08:00
Haojun Liao
3897a91a95 refactor: do some internal refactor. 2023-02-02 10:17:39 +08:00
Haojun Liao
6a5ce7d663 refactor: opt tag filter perf. 2023-02-02 10:11:36 +08:00
Xiaoyu Wang
7e3b987e65
Merge pull request #19727 from taosdata/fix/TD-22143
fix(query): protect read snap with reader mutex when closing reader
2023-02-02 09:13:58 +08:00
Haojun Liao
423e04d5a1
Merge pull request #19740 from taosdata/fix/nodisk
refactor: add some logs.
2023-02-02 09:12:16 +08:00
Liu Jicong
041d0d817a fix: tq open 2023-02-02 09:11:17 +08:00
dapan1121
9a261ab2d7 improvement: optimize build table delete skyline performance 2023-02-02 08:45:38 +08:00
Haojun Liao
9fe1512c55 refactor: add some logs. 2023-02-01 22:41:39 +08:00
Haojun Liao
5215a218d4
Merge pull request #19735 from taosdata/fix/nodisk
fix(query): move the reset to other place.
2023-02-01 22:07:29 +08:00
Hongze Cheng
e13499b542 add some log 2023-02-01 18:42:39 +08:00
Haojun Liao
8e4c6ccbb3 fix(query): move the reset to other place. 2023-02-01 18:15:35 +08:00
54liuyao
c4414ec646 feat(stream):exists stable bug&ci 2023-02-01 17:27:04 +08:00
Haojun Liao
04b6576a51
Merge pull request #19728 from taosdata/fix/nodisk
fix(query): reset the del file index when beginning last file check.
2023-02-01 17:16:17 +08:00
Shengliang Guan
fa3356d3c8
Merge pull request #19698 from taosdata/enh/TD-18702
enh: split vgroup
2023-02-01 17:03:06 +08:00
wangmm0220
8a21d7f307 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-21899 2023-02-01 16:13:06 +08:00
wangmm0220
2bf0916bcf fix:split block data if there are none value in block for taosx 2023-02-01 16:12:59 +08:00
Minglei Jin
dca720fc7d fix(query): protect read snap with reader mutex when closing reader 2023-02-01 15:09:21 +08:00
yihaoDeng
3a1ce7c517 fix filter error 2023-02-01 11:02:28 +08:00
Hongze Cheng
03fa4578da Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-01 09:14:00 +08:00
yihaoDeng
5e455b6aef opt table filter 2023-01-31 23:18:35 +08:00
yihaoDeng
fa0b70b156 opt tag filter 2023-01-31 22:43:59 +08:00
yihaoDeng
6100a0d51f fix invalid ver 2023-01-31 21:03:35 +08:00
Xiaoyu Wang
fc829aec52
Merge pull request #19689 from taosdata/fix/TD-22030
fix(query): reset snap to null after untaking mem snap
2023-01-31 16:51:07 +08:00
Shengliang Guan
fb0ef25dbd test: adjust split case 2023-01-31 16:40:53 +08:00
dapan1121
c8394cbf6e fix: add get tb from mem time info 2023-01-31 16:38:29 +08:00
Shengliang Guan
2a8d791e39 Merge remote-tracking branch 'origin/3.0' into enh/TD-18702 2023-01-31 16:31:26 +08:00
Shengliang Guan
9f2078ae0d enh: rename tsdb file 2023-01-31 16:28:37 +08:00
Shengliang Guan
5d8f05749c fix: coredump while tdbAbort 2023-01-31 15:49:56 +08:00
Hongze Cheng
579f65115d add debug info 2023-01-31 15:23:21 +08:00
Minglei Jin
0257c4a90b fix(query): release reader's lock if not composed block 2023-01-31 15:04:48 +08:00
Shengliang Guan
fbc4513ee3 enh: call vnodeBegin after vnodeSyncCommit 2023-01-31 15:01:10 +08:00
Hongze Cheng
db9a6b119d fix 2023-01-31 14:58:50 +08:00
Hongze Cheng
11bc53bbd7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-01-31 14:07:58 +08:00
Hongze Cheng
cabf3e8683 fix: invalid read 2023-01-31 11:22:06 +08:00
Shengliang Guan
53ac9c7229 enh: commit tsdb after split 2023-01-31 10:59:34 +08:00
Minglei Jin
251fdd35ba fix(tsdb/read): wrap tsdb reader's lock with acquire/release 2023-01-30 19:26:36 +08:00
yihaoDeng
0dea988c84 fix deadlock 2023-01-30 18:26:42 +08:00
Hongze Cheng
2d03fb6041 fix memory leak 2023-01-30 18:16:55 +08:00
Shengliang Guan
141fcdd49b enh: alter vnode hashrange in cfg file 2023-01-30 17:54:54 +08:00
wangmm0220
4128c5653c fix:error in tmq for taosx 2023-01-30 17:23:04 +08:00
Shengliang Guan
8bc0d4ba74 enh: add alter vnode hashrange request 2023-01-30 16:33:17 +08:00
Hongze Cheng
c04810e8d5 fix: more code 2023-01-30 15:51:54 +08:00
Hongze Cheng
5904f967f5 fix: snapshot problem 2023-01-30 15:38:19 +08:00
Hongze Cheng
90ff718c57 Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 11:41:26 +08:00
Hongze Cheng
9502fb3633 fix memory leak 2023-01-30 11:40:41 +08:00
Hongze Cheng
0f00862d8b Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 10:17:59 +08:00
Haojun Liao
1741e98a4e fix(query): reset the del file index when beginning last file check. 2023-01-30 10:13:54 +08:00
Hongze Cheng
3deedfb5c6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 10:11:45 +08:00
wangmm0220
94a3fa4ff3 fix:htol(length) & set vgId,uid correct for auto create table in taosx 2023-01-30 09:55:22 +08:00
kailixu
a558e49999 fix: tsdb snapshot reader type 2023-01-29 22:13:14 +08:00
kailixu
57885eae5a Merge branch '3.0' into fix/TD-22047-3.0 2023-01-29 22:01:16 +08:00
Liu Jicong
98906bb272 remove assert 2023-01-29 15:24:31 +08:00
Benguang Zhao
2f9218b79c fix: tqOffsetSnapRead success on tq/offset-ver not existing 2023-01-29 15:14:26 +08:00
Hongze Cheng
27f3b02196 more code fix 2023-01-29 15:09:13 +08:00
Hongze Cheng
f6335a795b fix: assert coredump 2023-01-29 14:47:45 +08:00
Hongze Cheng
5e7b6602c5 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-29 14:05:15 +08:00
Minglei Jin
101772fe1b fix(query): reset snap to null after untaking mem snap 2023-01-29 13:43:37 +08:00
Xiaoyu Wang
6e247e8911
Merge pull request #19679 from taosdata/fix/TD-22030
fix(query): reset iter, iiter's hasVal to false when suspending reader
2023-01-29 11:04:41 +08:00
Hongze Cheng
e0b0ce2395 refact more code 2023-01-29 10:21:39 +08:00
Minglei Jin
ac3e6323e2 fix(query): reset all block scan info when suspending reader 2023-01-29 09:33:32 +08:00
Hongze Cheng
ded3d6e7c9 more code 2023-01-29 09:08:02 +08:00
Hongze Cheng
f3e199dda2 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-21761 2023-01-28 19:34:08 +08:00
wangmm0220
d96cdff8f3 fix:add logic for auto create table while inserting data for taosx 2023-01-28 18:25:43 +08:00
Xiaoyu Wang
eb86f5ae71 merge main 2023-01-28 18:10:08 +08:00
Hongze Cheng
b996618e65 more code 2023-01-28 18:03:13 +08:00
Xiaoyu Wang
24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Liu Jicong
f5c4ca3380 fix: wal ref 2023-01-28 17:17:55 +08:00
kailixu
1fb2df0385 fix: rsma close and commit refactor 2023-01-28 17:00:53 +08:00
Hongze Cheng
fb2b42f968 refact more code 2023-01-28 16:51:22 +08:00
Liu Jicong
2a71d47668 fix: wal ref 2023-01-28 16:11:17 +08:00
Minglei Jin
b4807d9aa9 fix(query): reset iter, iiter's hasVal to false when suspending reader 2023-01-28 14:06:37 +08:00
Hongze Cheng
545e4d7f02 make it compile 2023-01-28 13:30:15 +08:00
Hongze Cheng
8d56306517 more code 2023-01-28 11:31:32 +08:00
Xiaoyu Wang
f487c4e63f
Merge pull request #19524 from taosdata/fix/long_query
fix(query): switch buffer pool recycle on
2023-01-28 08:51:51 +08:00
Hongze Cheng
2f5eeb8000 make it compile 2023-01-26 21:57:22 +08:00
Hongze Cheng
ec886154a4 more code 2023-01-26 21:48:54 +08:00
Hongze Cheng
a902d412eb more code 2023-01-26 20:20:39 +08:00
Hongze Cheng
b8578e242e Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-21761 2023-01-26 17:14:57 +08:00
Hongze Cheng
4f0a605cc0 more code 2023-01-22 17:20:26 +08:00
kailixu
1e06fb1783 chore: code optimization 2023-01-21 16:15:12 +08:00
kailixu
08a5ed4a07 chore: revert the code 2023-01-21 16:11:33 +08:00
kailixu
338a2a74cb chore: revert the code 2023-01-21 16:08:33 +08:00
kailixu
2416d34a80 fix: memory leak for row merge 2023-01-21 16:07:27 +08:00
kailixu
39b69ba39e fix: row schema version for row merger 2023-01-21 13:44:25 +08:00
Hongze Cheng
fff4a96bdf more code 2023-01-19 22:18:39 +08:00
Hongze Cheng
7203819888 more code 2023-01-19 21:46:27 +08:00
Hongze Cheng
b88327d737 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-21761 2023-01-18 23:32:52 +08:00
yihaoDeng
bfd711c08f Merge remote-tracking branch 'origin/3.0' into dynamicIdx 2023-01-18 22:01:49 +08:00
Hongze Cheng
516306b598 more code 2023-01-18 17:28:18 +08:00
dapan1121
2d42608813
Merge pull request #19632 from taosdata/fix/TS-2461
fix: rows number exceeds block capacity issue
2023-01-18 16:56:05 +08:00
dapan1121
17bfb8228a fix: rows number exceeds block capacity issue 2023-01-18 15:55:24 +08:00
Hongze Cheng
d6028bdde1 some code 2023-01-18 14:59:02 +08:00
kailixu
d9ae5a755c fix: tsdb fs head/data/sma nRef 2023-01-18 11:05:39 +08:00
kailixu
70fb18e611 fix: tsdb ReadSnap take/untake 2023-01-17 15:11:11 +08:00
Haojun Liao
49dedc3c3f fix(query): opt perf. 2023-01-17 10:24:19 +08:00
Shengliang Guan
01647debb9
Merge pull request #19581 from taosdata/enh/TD-20047
fix: update epset on dnode info changed
2023-01-17 08:53:43 +08:00
Haojun Liao
7425820c21 refactor: do some internal refactor. 2023-01-16 23:58:45 +08:00
Shengliang Guan
d476b6db13 enh: update epset on dnode info changed 2023-01-16 15:41:50 +08:00
kailixu
b562b25b75 Merge branch '3.0' into fix/TD-21873-3.0 2023-01-16 13:39:30 +08:00
dapan1121
62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
Haojun Liao
94e8aafcf6
Merge pull request #19543 from taosdata/feat/ly_stream
create stream and use existing super table
2023-01-14 23:30:25 +08:00
Haojun Liao
82f4db302e refactor: do some internal refactor. 2023-01-14 23:17:57 +08:00
Haojun Liao
7aee35c457 fix(query): init the value. 2023-01-13 15:54:23 +08:00
kailixu
8f0f060410 Merge branch '3.0' into fix/TD-21873-3.0 2023-01-13 15:14:11 +08:00
Haojun Liao
5386fe7cc4 fix(query): init the value. 2023-01-13 14:57:09 +08:00
Haojun Liao
cd6532ca7e enh(query): prepare the buffer on the stack, instead of heap. 2023-01-13 14:49:07 +08:00
yihaoDeng
3c97e3fc1a add execute plan 2023-01-13 14:39:50 +08:00
Haojun Liao
6332c982b5 fix(query): fix invalid read 2023-01-13 14:16:59 +08:00
Xiaoyu Wang
9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
Haojun Liao
bb5fb42c2f refactor: do some internal refactor. 2023-01-13 13:48:20 +08:00
Haojun Liao
7dcad62775 refactor: do some internal refactor. 2023-01-13 10:56:47 +08:00
Haojun Liao
5ff84757fe refactor: do some internal refactor. 2023-01-13 10:53:36 +08:00
Haojun Liao
71ca1d84ef refactor: do some internal refactor. 2023-01-13 10:53:19 +08:00
Haojun Liao
6bffcfaad8 refactor: do some internal refactor. 2023-01-13 10:45:07 +08:00
Haojun Liao
28baef1051 refactor: do some internal refactor. 2023-01-13 10:40:12 +08:00
Haojun Liao
a71f029eec refactor: do some internal refactor. 2023-01-13 10:36:05 +08:00
54liuyao
3ec1560faa create stream and use existing super table 2023-01-13 10:26:49 +08:00
kailixu
6851a7db04 fix: memory leak 2023-01-13 02:12:04 +08:00
Haojun Liao
8bed2612a6 refactor: do some internal refactor. 2023-01-12 23:24:41 +08:00
Haojun Liao
a96de23363 fix(query): add the check of item when putting in cache. 2023-01-12 22:50:02 +08:00
kailixu
e571ddf37e fix: tsma transaction refactor 2023-01-12 21:13:15 +08:00
Haojun Liao
d36e68bd9b fix(query): add the check of item when putting in cache. 2023-01-12 19:25:28 +08:00
Haojun Liao
96feaaadbe fix(query): add the check of item when putting in cache. 2023-01-12 19:24:23 +08:00
Shengliang Guan
cd0404bc25 refact: adjust return value of tmsgUpdateDnodeInfo 2023-01-12 17:08:33 +08:00
yihaoDeng
72b43d240d add/delete tag idx 2023-01-12 16:31:55 +08:00
Haojun Liao
effcfc057d fix(query): fix compare error. 2023-01-12 15:00:07 +08:00
Minglei Jin
beb637554c bp/proactive: remove incorrect proactive assert 2023-01-12 10:54:58 +08:00
Minglei Jin
086253b413 Revert "vnode: disable buffer pool recycling for 3.0 merging"
This reverts commit ba68d5d7b3.
2023-01-12 09:52:03 +08:00
Hongze Cheng
e3498d61b4 refact code 2023-01-12 09:27:18 +08:00
yihaoDeng
69f0fe9792 add/delete tag idx 2023-01-11 17:03:23 +08:00
yihaoDeng
a7eee2c178 add/delete tag idx 2023-01-11 16:28:59 +08:00
Shengliang Guan
45ec75a5f3
Merge pull request #19472 from taosdata/fix/long_query
Fix/long_query
2023-01-11 15:58:26 +08:00
Haojun Liao
53f27901a5 Merge branch 'main' into feature/3_liaohj 2023-01-11 15:42:34 +08:00
Minglei Jin
ba68d5d7b3 vnode: disable buffer pool recycling for 3.0 merging 2023-01-11 14:03:51 +08:00
yihaoDeng
3e738363aa add/delete tag index 2023-01-11 13:36:07 +08:00
wangmm0220
3b4ff4d094 fix:add logic for scan ins_columns 2023-01-10 20:32:31 +08:00
Haojun Liao
2d73a50469 enh(query): opt filter check. 2023-01-10 19:31:30 +08:00
Minglei Jin
5024fc1e9f tsdb/suspend: fix table block scan info 2023-01-10 18:40:15 +08:00
dapan1121
c3cb4a52fc
Merge pull request #19425 from taosdata/fix/TD-21778
fix: tsdb read invalid memory read issue
2023-01-10 17:10:19 +08:00
Hongze Cheng
020b79a094 little fix 2023-01-10 17:04:23 +08:00
Hongze Cheng
38b9eb8179 Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 17:00:31 +08:00
Hongze Cheng
1154f90aa0 fix: cond wait EINVAL 2023-01-10 17:00:25 +08:00
Minglei Jin
4032340e92 tsdb/reader: reset reader status with lock protected 2023-01-10 16:45:58 +08:00
Minglei Jin
086ec24688 tsdb/reader: reset reader status with lock protected 2023-01-10 16:07:37 +08:00
dapan1121
fd0d4bb830
Update tsdb.h
fix: remove tmp field
2023-01-10 15:39:16 +08:00
dapan1121
459d2932b1 fix: memcpy empty value issue 2023-01-10 13:44:24 +08:00
Hui Li
8545bf06e3
Merge pull request #19467 from taosdata/fix/liaohj
fix(query): fix error for retrieve data only in last files.
2023-01-10 13:40:30 +08:00
Haojun Liao
08321f3c6d enh(query): update the log. 2023-01-10 13:35:25 +08:00
Haojun Liao
b2a70c0a34 enh(query): jump out of loop once queried tables are all found. 2023-01-10 13:33:27 +08:00
Haojun Liao
1354eac985 Merge branch 'main' into feature/3_liaohj 2023-01-10 13:21:49 +08:00
Hongze Cheng
141f294a3a Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 11:56:17 +08:00
Hongze Cheng
2e161729b6 refact code 2023-01-10 11:56:09 +08:00
Minglei Jin
e48bdbfd0f tsdb/log-query: new proactive flag for mem table unref 2023-01-10 11:52:40 +08:00
Hongze Cheng
bff8c216cc more code 2023-01-10 11:36:40 +08:00
dapan1121
bfc483aa30 fix: row merge flag issue 2023-01-10 11:32:13 +08:00
Hongze Cheng
bb2ed08afc Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 11:01:50 +08:00
Hongze Cheng
f26f661f47 more code 2023-01-10 11:01:41 +08:00
Haojun Liao
e244a484f8 fix(query): add additional check for imem/mem 2023-01-10 10:49:35 +08:00
Minglei Jin
d69ec98723 tsdb/read: reseek with try lock mutex 2023-01-10 10:38:44 +08:00
54liuyao
d5ade95b31 feat(stream):user define tag 2023-01-10 10:13:56 +08:00
Minglei Jin
f0e9656b62 Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 10:12:30 +08:00
Minglei Jin
3178843b72 tsdb/cache: reseek with busy always 2023-01-10 10:11:17 +08:00
Hongze Cheng
851dba5166 refact code 2023-01-10 09:56:38 +08:00
Hongze Cheng
1dfeaf8b18 refact code 2023-01-10 09:53:38 +08:00
Hongze Cheng
f848324d54 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 09:42:45 +08:00
Shengliang Guan
b9b8a7ed35
Merge pull request #19429 from taosdata/merge/mainto3.0_0108
merge from main to 3.0
2023-01-10 09:31:55 +08:00
Haojun Liao
6a6d53b896
fix(query): fix error for retrieve data only in last files. (#19457)
* fix: add test cases;

* fix(query): fix error for retrieve data only in last files.
2023-01-09 20:55:34 +08:00
dapan1121
df2175087b fix: memory leak and invalid read issue 2023-01-09 19:47:17 +08:00
Haojun Liao
16f0900fe9 fix(query): fix error for retrieve data only in last files. 2023-01-09 19:26:39 +08:00
Hongze Cheng
933bd7b78c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-09 19:03:19 +08:00
Hongze Cheng
ad9e8a9aa3 more code 2023-01-09 19:03:09 +08:00
dapan1121
54558b438c
Merge pull request #19448 from taosdata/refact/submit_req_marks
fix:table name error in schemaless
2023-01-09 18:36:57 +08:00
Hongze Cheng
f8c9ae50b8 more code 2023-01-09 16:06:07 +08:00
Hongze Cheng
2e443c395e more code 2023-01-09 15:51:30 +08:00
wangmm0220
a462f518e3 fix:table name error in schemaless 2023-01-09 15:14:20 +08:00
Hongze Cheng
15995e7631 more code 2023-01-09 14:54:49 +08:00
dapan1121
80586ad997 fix: invalid free issue 2023-01-09 11:33:26 +08:00
Hongze Cheng
375545435c adjust more code 2023-01-09 10:09:31 +08:00
Benguang Zhao
a2085703bf Merge branch main into FIX/TD-21812-main 2023-01-09 10:08:28 +08:00
Shengliang Guan
398161eb5f Merge branch 'main' into merge/mainto3.0_0108 2023-01-09 10:00:53 +08:00
Shengliang Guan
f2d6ed8635
Merge pull request #19125 from taosdata/FIX/TD-21043-main
enh: vnodeCommit on consensus only
2023-01-09 09:41:34 +08:00
Shengliang Guan
35893eb9b1
Merge pull request #19435 from taosdata/fix/liaohj
fix(query): do not merge rows in last file when no data blocks exist.
2023-01-09 09:41:12 +08:00
Hongze Cheng
fda6fccac8 more code 2023-01-09 09:24:26 +08:00
Benguang Zhao
90830e5410 fix: use pInfo->info.state.committed instead of the current one for async vnodeCommit 2023-01-09 09:08:59 +08:00
Haojun Liao
95a6720b2a fix(query): do not merge rows in last file when no data blocks exist. 2023-01-08 23:02:16 +08:00
Haojun Liao
f90fa07ea9 refactor: add avx support zigzag decode. 2023-01-08 12:34:18 +08:00
Shengliang Guan
d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
Hongze Cheng
c4b6a99caf Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-08 09:45:55 +08:00
Shengliang Guan
42d911bf8e Merge remote-tracking branch 'origin/main' into FIX/TD-21043-main 2023-01-08 09:44:07 +08:00
dapan1121
d70e32e7d3 fix: compile issue 2023-01-07 14:56:43 +08:00
Shengliang Guan
104a6f86dc
Merge pull request #19417 from taosdata/fix/TD-21664
fix(meta): cleanup coverity scan issues
2023-01-07 10:53:28 +08:00
Haojun Liao
972f9b6948 refactor: do some internal refactor. 2023-01-07 00:59:05 +08:00
yihaoDeng
7e720269e2 update add/del tag index 2023-01-06 21:33:42 +08:00
dapan1121
66e62bb010 fix: tsdb read invalid memory read issue 2023-01-06 19:19:31 +08:00
Minglei Jin
610b5631aa fix(vnd/snap): keep vnode stats transfered from leader 2023-01-06 18:00:01 +08:00
Minglei Jin
88185c1ad6 fix(meta): cleanup coverity scan issues 2023-01-06 15:43:54 +08:00
Hongze Cheng
d7ec7ed936 more code 2023-01-06 15:24:27 +08:00
kailixu
55156ebcb3 fix: coverity issue 2023-01-06 14:20:24 +08:00
Hongze Cheng
75cd1fc9bf Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-06 13:45:35 +08:00
Shengliang Guan
a56d28ea57
Merge pull request #19396 from taosdata/fix/TD-21757
fix: tsdb snap wrong suid
2023-01-06 13:28:00 +08:00
Haojun Liao
9dd07cc1e1 other:merge main. 2023-01-06 12:54:26 +08:00
kailixu
9c33f014b1 fix: rsma commit without table 2023-01-06 10:57:04 +08:00
Shengliang Guan
77bbbdc776
Merge pull request #19388 from taosdata/fix/little_change
fix: little change
2023-01-06 08:59:55 +08:00
kailixu
f3831b54db fix: rsma commit without table 2023-01-06 07:41:07 +08:00
Haojun Liao
4f89bf78d8 enh(query): do some internal refactor. 2023-01-05 19:18:24 +08:00
Haojun Liao
29155ad460 enh(query): disable the file length check. 2023-01-05 19:11:08 +08:00
Hongze Cheng
d9d4074377 fix: tsdb snap wrong suid 2023-01-05 17:32:39 +08:00
Shengliang Guan
3016f35e9f Merge branch '3.0' into merge/mainto3.0_0105 2023-01-05 16:08:23 +08:00
Shengliang Guan
ef3e60c387 Merge branch 'fix/TD-21746' into FIX/TD-21043-main 2023-01-05 15:58:30 +08:00
Hongze Cheng
e710802f1f more code 2023-01-05 15:40:15 +08:00
yihaoDeng
a64e9d53b4 updata index 2023-01-05 15:39:35 +08:00
Hongze Cheng
fef8976836 fix: little change 2023-01-05 15:00:29 +08:00
Minglei Jin
4e1f5b2979 fix(meta): cleanup coverity scan issues 2023-01-05 14:04:21 +08:00
Hongze Cheng
a046dbb02b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-01-05 13:57:55 +08:00
dapan1121
1a75fa71bd
Merge pull request #19371 from taosdata/enh/TD-21211-3.0
enh: return error when data out of range
2023-01-05 13:35:06 +08:00
Shengliang Guan
7e5d97f0da fix: stop snapshot receiver on sync post close 2023-01-05 12:00:35 +08:00
Shengliang Guan
84ec8a7f3d Merge branch 'main' into fix/TD-21353 2023-01-05 11:53:38 +08:00
Minglei Jin
0dd9e4bdee fix(vnode): new vnodePostClose for closing sync module 2023-01-05 11:35:39 +08:00
Benguang Zhao
9d5e74a3ff Merge branch 'main' into FIX/TD-21043-main 2023-01-05 09:47:22 +08:00
yihaoDeng
9586f86ceb update add/drop index msg 2023-01-04 22:26:52 +08:00
Benguang Zhao
442902e5cb fix: send rpc response on closing sync or failing to enqueue 2023-01-04 19:18:46 +08:00
kailixu
f8f74c1780 enh: return error when data out of range 2023-01-04 19:11:33 +08:00
Minglei Jin
57c303b4f1 Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-04 17:58:06 +08:00
Minglei Jin
6591b98245 fix(tsdb): comment qlist out to please CI 2023-01-04 17:57:50 +08:00
Liu Jicong
5ee7e7aed9 fix: init tsdb read snap 2023-01-04 17:55:00 +08:00
Minglei Jin
625bf9992f
Merge branch '3.0' into fix/long_query 2023-01-04 15:15:51 +08:00
Liu Jicong
e30c00875c enh: close tsdb reader 2023-01-04 15:14:00 +08:00
Xiaoyu Wang
9df6f69371 merge 3.0 2023-01-04 15:02:31 +08:00
yihaoDeng
5bb20a9a2c Merge branch 'ddv' into dynamicIdx 2023-01-04 14:20:39 +08:00
Shengliang Guan
e2056ba8fb Merge branch 'main' into FIX/TD-21043-main 2023-01-04 11:48:35 +08:00
Xiaoyu Wang
fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
Hongze Cheng
0a085da032 enh: use diff atomic op 2023-01-04 09:35:48 +08:00
Shengliang Guan
34260cd397 Merge branch 'main' into FIX/TD-21043-main 2023-01-04 09:29:07 +08:00
kailixu
8ab9acee4c chore: more code 2023-01-03 23:36:17 +08:00
kailixu
bdbda4c621 Merge branch '3.0' into enh/TD-21211-3.0 2023-01-03 23:13:58 +08:00
Shengliang Guan
3d30466c84
Merge pull request #19344 from taosdata/fix/TD-21689
fix: vnode set the wrong replica info after snapshot transfered
2023-01-03 22:33:02 +08:00
Shengliang Guan
17d9d2852c
Merge pull request #19334 from taosdata/fix/wal_ref
fix: load wal ref when init
2023-01-03 20:06:16 +08:00
Shengliang Guan
70b513c09c fix: vnode set the wrong replica info after snapshot transfered 2023-01-03 19:47:04 +08:00
Minglei Jin
b020383046 fix(tsdb): comment qlist out to please CI 2023-01-03 18:30:50 +08:00
Hongze Cheng
c6a71a4b66 more code 2023-01-03 18:29:30 +08:00
Liu Jicong
534561ffe1 merge 3.0 2023-01-03 18:18:39 +08:00
Liu Jicong
f26032e279 fix conflict 2023-01-03 18:17:40 +08:00
Hongze Cheng
5e579398e8 more code 2023-01-03 18:16:52 +08:00
dapan1121
2313d5316f
Merge pull request #19326 from taosdata/feat/TS-2221-3.0
feat: support total vgroups count for show table distributed command
2023-01-03 18:02:00 +08:00
Minglei Jin
07f16b1660 Merge branch 'v3.0' into fix/long_query 2023-01-03 17:21:10 +08:00
Hongze Cheng
1567fe2f67 fix: skiplist concurrent access 2023-01-03 17:19:19 +08:00
Liu Jicong
9e71a58675 fix: load wal ref when init 2023-01-03 16:45:45 +08:00
Shengliang Guan
5660199016
Merge pull request #19322 from taosdata/hotfix--add-log
enh: add log
2023-01-03 14:48:53 +08:00
Alex Duan
b68e440cc2 feat: support total vgroups count for table 2023-01-03 14:13:51 +08:00
Liu Jicong
9eaf8b561f fix compile 2023-01-03 13:35:49 +08:00
Hongze Cheng
9fd2ac0b4c add log 2023-01-03 11:57:25 +08:00
Liu Jicong
eacde27fdb refactor: remove unused code 2023-01-03 11:24:11 +08:00
Liu Jicong
617d8d4013 fix mem leak 2023-01-03 11:18:48 +08:00
Minglei Jin
e4e72dd9e9 fix(tsdb/read): new tsdbReleaseDataBlock api from release reader's lock 2023-01-03 09:43:29 +08:00
kailixu
fd44bf15b8 chore: rsma code optimization 2023-01-02 23:07:48 +08:00
kailixu
9a67de6ce8 chore: rsma bug fix 2023-01-02 22:44:18 +08:00
kailixu
8c6120db92 enh: rsma asserts process 2023-01-02 18:24:47 +08:00
kailixu
ea7c1338ff chore: merge 3.0 2023-01-02 16:48:27 +08:00
Benguang Zhao
4031dc1af4 Merge branch main into FIX/TD-21043-main 2023-01-02 16:41:46 +08:00
kailixu
8905a4839e fix: tsma result submit for row/column update 2023-01-02 15:57:36 +08:00
Benguang Zhao
3edde0eadf fix: tdbAbort on metaClose or streamMetaClose instead of tdbTxnClose 2023-01-01 21:07:32 +08:00
Shengliang Guan
929be865f1 Merge branch 'main' into fix/TS-2349 2022-12-30 17:42:56 +08:00
Shengliang Guan
c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Hongze Cheng
4936eb5b2c more code 2022-12-30 16:55:49 +08:00
Minglei Jin
d3c97947f3 fix(tsdb/read): use int32_t instead of size_t for taosHashGetSize 2022-12-30 16:04:18 +08:00
Hongze Cheng
835c42e5c7 more code 2022-12-30 15:40:13 +08:00
Hongze Cheng
47d493e851 more code 2022-12-30 14:49:55 +08:00
Hongze Cheng
38b4c5c14a more code 2022-12-30 14:20:55 +08:00
Benguang Zhao
ed43aeaa9b enh: add vndCommitMaxInterval cfg param 2022-12-29 19:47:28 +08:00
Hongze Cheng
1d4a569da6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-29 17:57:40 +08:00
Hongze Cheng
112a6b833a more code 2022-12-29 17:57:23 +08:00
Minglei Jin
2ed9c19da4 Merge branch 'v3.0' into fix/long_query 2022-12-29 17:43:51 +08:00
Hongze Cheng
6f947af8cc more code 2022-12-29 17:40:55 +08:00
Shengliang Guan
fad687161b
Merge pull request #19255 from taosdata/enh/stream_drop_when_scan
enh: optimize drop when scan exec
2022-12-29 17:17:59 +08:00
Hongze Cheng
3aa1f8ca90 more code 2022-12-29 16:34:41 +08:00
Liu Jicong
66b9fa01f7 enh: optimize drop when scan exec 2022-12-29 15:51:12 +08:00
Hongze Cheng
01f6823bc1 more code 2022-12-29 15:46:17 +08:00
Minglei Jin
7f8d051281 fix(meta/snap): return -1 when decoder meta entry failed 2022-12-29 14:51:55 +08:00
Hongze Cheng
ac18d377f3 fix some error 2022-12-29 10:18:53 +08:00
Benguang Zhao
d307413c36 Merge branch 'main' into FIX/TD-21043-main 2022-12-29 10:03:17 +08:00
Hongze Cheng
de6be90cb5 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-29 10:00:47 +08:00
Hongze Cheng
de82f3a806 more code 2022-12-29 09:59:28 +08:00
Minglei Jin
1269d20cd9 Merge branch '3.0' into fix/TD-21210 2022-12-29 09:27:35 +08:00
Hongze Cheng
6f30871fd6 more code 2022-12-29 09:10:57 +08:00
Shengliang Guan
78c14a2c88 Merge remote-tracking branch 'origin/3.0' into merge/mainto3.0_1228 2022-12-28 14:59:02 +08:00
Benguang Zhao
6fc47beb71 enh: streamMetaCommit in sync with vnodeCommit 2022-12-28 14:34:23 +08:00
Hongze Cheng
e0e7cc4f87 more code 2022-12-28 14:21:06 +08:00
Hongze Cheng
a0fa31954c Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-28 13:53:59 +08:00
Hongze Cheng
a21fbd05e4 more code 2022-12-28 13:37:22 +08:00
Shengliang Guan
d342ebcd77
Merge pull request #18720 from taosdata/refact/submit_req
Refact/submit req
2022-12-28 10:29:00 +08:00
Hongze Cheng
a09b5b8b5e more code 2022-12-27 17:58:37 +08:00
Minglei Jin
f608481ffb fix(meta/assert/cleanup): remove asserts 2022-12-27 17:48:58 +08:00
Hongze Cheng
916c297348 Merge branch 'feat/vnode_compact' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-27 16:59:58 +08:00
Hongze Cheng
1427f9218c more code 2022-12-27 16:59:52 +08:00
Shengliang Guan
344696b951
Merge pull request #19182 from taosdata/enh/TS-2338
enh: send compact msg from mnode to vnode
2022-12-27 16:54:40 +08:00
Benguang Zhao
92e05b8ece enh: schedule vnodeCommit uniformly distributed 2022-12-27 16:28:44 +08:00
Shengliang Guan
7a3079e79a enh: send compact msg from mnode to vnode 2022-12-27 16:12:50 +08:00
Shengliang Guan
c844922aef
Merge pull request #19172 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-27 16:07:23 +08:00
Hongze Cheng
3b3b8d4f9a more code 2022-12-27 15:19:35 +08:00
Benguang Zhao
8916722dd7 Merge branch main to FIX/TD-21043-main 2022-12-27 14:50:39 +08:00
Liu Jicong
b2cec0f1e9 fix: skip msg 2022-12-27 14:02:23 +08:00
Haojun Liao
58b5d2e0aa fix(query): fix race condition. 2022-12-27 11:02:07 +08:00
Benguang Zhao
c1c7f2593f enh: initialize commitMs as the time when vnodeOpen 2022-12-27 10:38:56 +08:00
Hongze Cheng
ba3697c6d8 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-27 10:24:57 +08:00
Benguang Zhao
137e7d009d fix: update nextRowIterGet of tsdbCache 2022-12-26 20:52:42 +08:00
Shengliang Guan
794fb5d1b5 fix: handle error if sync buffer is full 2022-12-26 20:40:33 +08:00
kailixu
0fab1c8569 Merge branch '3.0' into enh/TD-21211-3.0 2022-12-26 19:36:11 +08:00
Hongze Cheng
5abaf4409d mroe code 2022-12-26 17:12:08 +08:00
Hongze Cheng
53226eae7c more code 2022-12-26 16:23:33 +08:00
Shengliang Guan
b381c42c9d enh: adjust log while transfer snapshot 2022-12-26 15:59:45 +08:00
kailixu
b0598237ad enh: sma assert/log optimization 2022-12-26 15:23:44 +08:00
Shengliang Guan
686a1a1566
Merge pull request #19141 from taosdata/fix/TD-19250-9
fix(meta): reader unlock coverity issue
2022-12-26 14:54:07 +08:00
Benguang Zhao
fda2f55fe5 Merge branch main to FIX/TD-21043-main 2022-12-26 14:26:25 +08:00
Haojun Liao
8a4fb244fb fix(query): fix coverity issues. 2022-12-26 14:20:05 +08:00
Haojun Liao
f54f6201be fix(query): fix coverity issues. 2022-12-26 14:07:22 +08:00
Haojun Liao
9107c3149b fix(query): fix syntax error. 2022-12-26 13:49:16 +08:00
Haojun Liao
1a07451bc3 refactor: do some internal refactor. 2022-12-26 13:45:25 +08:00
Hongze Cheng
d15453eb4e more code 2022-12-26 13:28:23 +08:00
Haojun Liao
723efba79b
Merge branch '3.0' into refact/submit_req 2022-12-26 13:25:25 +08:00
Hongze Cheng
b000fb09ba Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-26 13:17:30 +08:00
Liu Jicong
3b24f882ed fix mem leak 2022-12-26 11:34:05 +08:00
Minglei Jin
516cfe5caf Merge branch 'main' into fix/TD-21498 2022-12-26 11:05:00 +08:00
Shengliang Guan
43561bfb8c
Merge pull request #19103 from taosdata/fix/TD-21446
fix: restart snapshot sender on receiver is restart
2022-12-26 10:58:55 +08:00
Haojun Liao
a5165ab5e7 refactor: do some internal refactor. 2022-12-26 10:58:17 +08:00
Haojun Liao
fbc9e77004
Merge branch '3.0' into refact/submit_req 2022-12-26 10:26:17 +08:00
Minglei Jin
a94a14475a fix(meta): reader unlock coverity issue 2022-12-26 10:24:46 +08:00
Liu Jicong
834495d62a refact: adapt to new sml api 2022-12-26 10:14:59 +08:00
Minglei Jin
3ea9fadfc8 fix(vnd): save vnode info at the begining of vnode prepare commit 2022-12-26 10:10:49 +08:00
Hongze Cheng
8135efb541 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-26 09:28:00 +08:00
Shengliang Guan
664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Shengliang Guan
028cc52846
Merge pull request #19116 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-26 09:12:35 +08:00
kailixu
3db53d9ff6 chore: stream state path 2022-12-26 07:04:18 +08:00
kailixu
cde0c03e01 fix: rsma/tsma CI error 2022-12-26 02:37:31 +08:00
kailixu
9c9c263ace chore: rsma query debug log 2022-12-26 01:22:43 +08:00
kailixu
d983dd89d1 chore: rsma snapshot 2022-12-26 01:16:51 +08:00
kailixu
dfa7e0f59a chore: rsma fs apply change 2022-12-25 23:59:48 +08:00
kailixu
73710da55f chore: rsma sync and assert 2022-12-25 21:54:09 +08:00
kailixu
ed3a0c1dc1 chore: vgId format uniform 2022-12-24 23:44:01 +08:00
kailixu
6d01e18f31 chore: rsma fs and vnode commit optimization 2022-12-24 23:37:58 +08:00
kailixu
4f25c0f7d3 Merge branch '3.0' into feature/TD-19148-D 2022-12-24 00:59:35 +08:00
Haojun Liao
1edf1e1799 refactor: do some internal refactor. 2022-12-23 23:02:40 +08:00
Benguang Zhao
5159d60f56 enh: vnodeCommit on consensus only 2022-12-23 20:16:32 +08:00
Liu Jicong
0d56da7508 fix: skip msg 2022-12-23 19:04:39 +08:00
Xiaoyu Wang
0c269c317b merge 3.0 2022-12-23 17:50:05 +08:00
Haojun Liao
224f5a72c2 refactor: do some internal refactor. 2022-12-23 17:45:12 +08:00
dapan1121
d39e34ce7c
Merge pull request #19071 from taosdata/fix/TS-2276-main
Fix(tsdb): table block distributed totalSize is zero
2022-12-23 11:54:13 +08:00
Shengliang Guan
3e4125ae07 Merge remote-tracking branch 'origin/main' into fix/TD-21446 2022-12-23 11:04:03 +08:00
Shengliang Guan
0ea1d145d5
Merge pull request #19101 from taosdata/feature/3_liaohj
fix(query): set start row index for desc scan.
2022-12-23 11:02:42 +08:00
Shengliang Guan
babe828a4a
Merge pull request #19093 from taosdata/fix/TS-2307
fix(meta/malloc): use new aligned buffer pool malloc
2022-12-23 10:19:59 +08:00
Haojun Liao
ff01a0d2b5 fix(query): remove todo 2022-12-23 09:42:55 +08:00
Shengliang Guan
773423a6b6 fix: remove some logs 2022-12-23 09:11:45 +08:00
Haojun Liao
884f9dfee1 fix(query): set start row index for desc scan. 2022-12-23 00:56:03 +08:00
Haojun Liao
c2f6d4ab77 fix(query): add some logs. 2022-12-23 00:16:15 +08:00
Shengliang Guan
2668def457
Merge pull request #19076 from taosdata/feature/3_liaohj
fix(query): add lock for cache.
2022-12-22 20:12:50 +08:00
Shengliang Guan
48b6bd438d fix: restart snapshot sender on receiver is restart 2022-12-22 17:30:02 +08:00
Minglei Jin
e302cb320f fix(meta/malloc): use new aligned buffer pool malloc 2022-12-22 17:29:29 +08:00
wangmm0220
fd76fdb9e0 opti:taosx for write_raw_block 2022-12-22 16:50:21 +08:00
Haojun Liao
8210c49a85 fix(query): fix memory leak. 2022-12-22 15:47:02 +08:00
Haojun Liao
55159a7ceb fix(query): update the mutex. 2022-12-22 15:44:40 +08:00
Hongze Cheng
ecca2fc0b0 more code 2022-12-22 15:18:41 +08:00
Hongze Cheng
3278c11491 more code 2022-12-22 15:02:39 +08:00
yihaoDeng
92707c50b1 Merge branch 'dev3' into dynamicIdx 2022-12-22 11:48:15 +08:00
Minglei Jin
25e3f653ee fix(tdb/abort): invalidate flushed pages in cache not on dirty tree 2022-12-22 10:50:16 +08:00
Hongze Cheng
78e3a0e345 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-22 10:06:45 +08:00
Shengliang Guan
2454cf0c5d
Merge pull request #19058 from taosdata/release/ver-3.0.2.1
release: build 3.0.2.1
2022-12-21 21:00:33 +08:00
Haojun Liao
71a61c3106 fix(query): add lock for cache. 2022-12-21 19:19:20 +08:00
Alex Duan
950529d148 fix(query): show distributed table modify average calc ++ 2022-12-21 19:03:48 +08:00
Shengliang Guan
46df0e8dd1
Merge pull request #19067 from taosdata/feature/3_liaohj
fix(query): update the blockInfo
2022-12-21 17:57:52 +08:00
Alex Duan
8dfbcc5a83 fix(query): getFileBlockDistInfo totalSize set use index 0 2022-12-21 17:19:00 +08:00
Alex Duan
ebf35651f3 fix(query): getFileBlockDistInfo totalSize set 2022-12-21 17:01:59 +08:00
Haojun Liao
d5a770c98a fix(query): add comment. 2022-12-21 16:25:18 +08:00
Haojun Liao
d1b85f893e fix(query): update the blockInfo 2022-12-21 16:24:37 +08:00
Liu Jicong
89455cf1d1 add debug log 2022-12-21 14:59:05 +08:00
Hongze Cheng
5ab1cba45e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-21 14:36:36 +08:00
Hongze Cheng
a8eb32da9f more code 2022-12-21 14:36:12 +08:00
Liu Jicong
2a7de0cd46 refactor: remove assert 2022-12-21 13:54:14 +08:00
yihaoDeng
a68b8fc43e set mergeTree sst trigger to Max 2022-12-20 17:11:22 +08:00
dapan1121
32e8202a25 enh: refact insert into select processing 2022-12-20 16:55:11 +08:00