Commit Graph

5740 Commits

Author SHA1 Message Date
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