Commit Graph

14370 Commits

Author SHA1 Message Date
Hongze Cheng f4a9c5e3c8
Merge pull request #25669 from taosdata/enh/TD-29953
Enh/TD-29953
2024-05-15 17:26:26 +08:00
Hongze Cheng 9dd3f326ea
Merge pull request #25731 from taosdata/enh/TD-29968-3.0
enh: grant support s3/active-active/dual-replica/db_encryption
2024-05-15 15:52:28 +08:00
Haojun Liao abd90c733a fix(stream): remove backend files only after the in-memory task is dropped. 2024-05-15 14:24:35 +08:00
54liuyao 2a67b83a27 adj code 2024-05-15 14:11:55 +08:00
Haojun Liao 43e018e210
Merge pull request #25733 from taosdata/fix/TD-29745
optimize scan data
2024-05-15 13:41:08 +08:00
54liuyao 167cdc79c5 format code 2024-05-15 10:54:53 +08:00
54liuyao 4c603fee55 format code 2024-05-15 10:54:24 +08:00
54liuyao 3c56f623ed adj inline func 2024-05-15 10:46:19 +08:00
Hongze Cheng 156b5e71f4
Merge pull request #25735 from taosdata/fix/TD-29772-3.0
fix/TD-29772
2024-05-15 09:13:01 +08:00
54liuyao ab3ba3f2e4 optimize scan tsdb 2024-05-15 09:09:20 +08:00
Haojun Liao a3bd3a4c76
Merge pull request #25769 from taosdata/fix/TS-4791
fix(tsdb): fix the length of column type overflow.
2024-05-15 00:44:59 +08:00
Haojun Liao 610aa80e65 fix(stream): init backend for fill-history task. 2024-05-15 00:08:38 +08:00
Haojun Liao 9300b7a401 fix(tsdb): fix the length of column type overflow. 2024-05-14 16:22:11 +08:00
Haojun Liao 6898eba6ed fix(stream): expand stream tasks are divided into two phase, the first is to build stream task and then expand stream task before start stream tasks. 2024-05-14 14:34:31 +08:00
Minglei Jin b6eec20dfb fix(s3/grant): checking grant when doing migrate 2024-05-14 11:01:06 +08:00
Shungang Li 694680600e fix: tsdbCache vartype of zero size 2024-05-14 09:23:32 +08:00
Haojun Liao b7e7de0354 fix(stream): set the stream task load flag. 2024-05-13 16:45:38 +08:00
Haojun Liao 3dfffe9113 fix(stream): async load and start stream tasks. 2024-05-13 15:31:26 +08:00
kailixu 6f07e48826 Merge branch '3.0' into enh/TD-29968-3.0 2024-05-13 10:35:53 +08:00
dmchen 939183d3df fix/TD-29772 2024-05-13 01:56:49 +00:00
Haojun Liao 56a1e7e01f
Merge pull request #25727 from taosdata/fix/xftan/TD-29988-3.0
fix: build fails on macOS and Windows
2024-05-13 09:44:19 +08:00
kailixu 60e02eb3e6 Merge branch '3.0' into enh/TD-29968-3.0 2024-05-12 23:15:40 +08:00
kailixu e3442474cf fix: grants for database encryption 2024-05-12 23:09:56 +08:00
dapan1121 05788d25b0
Merge pull request #25629 from taosdata/fix/TD-29893-3.0
fix:[TD-29893]avoid returning 0 if vnode init error
2024-05-12 18:07:08 +08:00
Shungang Li c575d7a850 enh: grant check for dual-replica-ha 2024-05-11 18:32:04 +08:00
t_max f030af3aab fix: build fails on macOS and Windows 2024-05-11 14:59:05 +08:00
Haojun Liao d7e1f37cd4 Merge branch '3.0' into fix/3_liaohj 2024-05-11 10:28:12 +08:00
dmchen 9cf2529cac check grant first 2024-05-11 02:12:31 +00:00
Haojun Liao 7f93ec2c53 fix(stream): update the checkpoint info for followers, and some internal refactor. 2024-05-11 09:37:02 +08:00
Hongze Cheng 4d4fa9ea94
Merge pull request #25703 from taosdata/fix/TD-29912
fix: handle memleak in vnodeSnapWriterOpen, add log for abort_edit
2024-05-10 15:29:44 +08:00
Hongze Cheng db68b9a1f0
Merge pull request #25707 from taosdata/fix/TD-29981
fix: refactor lastcache ser/des for compatibility
2024-05-10 09:15:29 +08:00
Shungang Li 0ac5d393e6 fix: tsdbcache last disk data format change 2024-05-09 23:37:28 +08:00
Shungang Li 544999c01b fix: tsdbCacheSerialize copy from null ptr 2024-05-09 22:55:29 +08:00
Shungang Li 457b98fee8 fix: adjust SValueV0 data order 2024-05-09 21:52:43 +08:00
Shungang Li 7ae4415890 fix: refactor lastcache ser/des for compatibility 2024-05-09 19:04:11 +08:00
Minglei Jin 41eb82c4de enh(s3/grant): disable s3 with expired grant 2024-05-09 15:19:50 +08:00
Shungang Li 6895bb121f fix: handle memleak in vnodeSnapWriterOpen, add log for abort_edit 2024-05-09 14:55:48 +08:00
dmchen e5547eccbf encrypt grant 2024-05-09 02:44:38 +00:00
dmchen 454b4047cb fix/audit-memory-leak 2024-05-09 10:19:14 +08:00
Hongze Cheng e76d15e33f
Merge pull request #25690 from taosdata/fix/TD-29962
enh: refactor tsdbCache ser/des
2024-05-09 09:04:09 +08:00
Shungang Li 70598a3038 enh: refactor tsdbCache ser/des 2024-05-09 00:13:19 +08:00
Hongze Cheng 9e21eacf26
Merge pull request #25687 from taosdata/fix/TD-29934-3.0
fix(tsdb/cache-update): compare when rocks's colVal not null
2024-05-08 21:48:01 +08:00
Minglei Jin 3d1612e44b fix(tsdb/cache-update): compare when rocks's colVal not null 2024-05-08 19:27:43 +08:00
Hongze Cheng 431c3c0066
Merge pull request #25675 from taosdata/fix/TD-29934-3.0
fix(tsdb/cache-update): discard none colVals for same timestamp
2024-05-08 18:54:17 +08:00
Minglei Jin bb227a9798 fix(tsdb/cache-update): discard none colVals for same timestamp 2024-05-08 17:29:07 +08:00
Shungang Li 733c8f8f9a fix: (compatibility) SLastCol field change cause 'last' crash 2024-05-08 16:12:43 +08:00
yihaoDeng 697ca8914e enh compress 2024-06-22 11:35:47 +08:00
Haojun Liao b26656fd1c
Merge pull request #25661 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-05-08 13:03:13 +08:00
Haojun Liao 64ae35affe fix(test): fix syntax error. 2024-05-08 09:18:36 +08:00
Haojun Liao cdeb4462fb refactor: do some internal refactor. 2024-05-07 23:43:21 +08:00
Haojun Liao 55a630911d
Merge pull request #25653 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-05-07 23:12:30 +08:00
Haojun Liao b6debd985b fix(stream): always return success if repeatly recv checkpoint source msg. 2024-05-07 16:33:08 +08:00
Hongze Cheng c4b2f5681c
Merge pull request #25654 from taosdata/fix/TD-29845
fix: fix last col version when updating rocks
2024-05-07 11:33:51 +08:00
Haojun Liao 0e0f98eb8d refactor: do some internal refactor. 2024-05-07 10:50:44 +08:00
Minglei Jin 562bf0fe1e tsdb/cache: fix last col version when updating rocks 2024-05-07 10:24:07 +08:00
Shungang Li b979c584fb fix: tsdbCacheGetBatch ref of tmp memory 2024-05-07 10:22:58 +08:00
Hongze Cheng 3ffe2740e5
Merge pull request #25138 from taosdata/ENH/TD-29195-3.0
enh: add logging info for alter vnode hash range action
2024-05-07 09:02:32 +08:00
Haojun Liao 3b43b8f8c7
Merge pull request #25646 from taosdata/fix/3_liaohj
fix(stream): set global close flag in the streamMeta.
2024-05-06 22:19:23 +08:00
Haojun Liao 18c66a5491 refactor: do some internal refactor. 2024-05-06 18:17:38 +08:00
Haojun Liao 7ad7ef7cfc refactor: do some internal refactor. 2024-05-06 17:03:41 +08:00
wangmm0220 5f6d3fcf7e fix:[TD-29893]avoid returning 0 if vnode init error 2024-05-06 10:09:53 +08:00
Haojun Liao 44100139a4
Merge pull request #25614 from taosdata/fix/3_liaohj
fix(stream): close task if it's in checkdown stream procedure.
2024-05-01 08:06:59 +08:00
dapan1121 355db3a0a3
Merge pull request #25609 from taosdata/fix/TD-29869
fix:[TD-29869]use latest vg info when drop topic
2024-05-01 07:37:03 +08:00
Haojun Liao cdc7b03ac6 fix(stream): fix syntax error. 2024-04-30 22:44:32 +08:00
Haojun Liao 732e52d64d refactor: do some internal refactor, and add some logs. 2024-04-30 19:11:58 +08:00
Haojun Liao 94a0f9ab8f other: merge 3.0 2024-04-30 17:12:46 +08:00
Haojun Liao 629502e12e refactor: do some internal refactor. 2024-04-30 17:00:51 +08:00
Haojun Liao f2bc93b78d
Merge pull request #25598 from taosdata/fix/3_liaohj
refactor(stream): opt stream sink perf.
2024-04-30 16:59:22 +08:00
dapan1121 f54dd2b818
Merge pull request #25602 from taosdata/fix/TS-4728-3.0
fix:use path of SStreamMeta
2024-04-30 16:12:50 +08:00
Haojun Liao cb5a0563e6 fix(stream): fix error caused by merge. 2024-04-30 15:43:12 +08:00
wangmm0220 0758c4ece0 fix:[TD-29869]use latest vg info when drop topic 2024-04-30 15:38:09 +08:00
wangmm0220 35003cbb34 fix:use path of SStreamMeta 2024-04-30 14:36:16 +08:00
Haojun Liao d73fd5492a fix(test): update test case. 2024-04-30 14:24:20 +08:00
Haojun Liao 4c27af9b13 refactor: do some internal refactor. 2024-04-30 13:25:39 +08:00
wangmm0220 3a1c210601 fix:use path of SStreamMeta 2024-04-30 11:06:03 +08:00
Hongze Cheng 09dcbdd352
Merge pull request #25593 from taosdata/opt/optTransfer30
opt transfer
2024-04-30 10:50:28 +08:00
Haojun Liao d3e676b084 fix(cos): fix syntax error. 2024-04-30 10:14:32 +08:00
Haojun Liao 9c39d11ea0 other: add some logs for drop streams. 2024-04-30 09:55:56 +08:00
Haojun Liao 54e9522c62 refactor(stream): opt stream sink perf. 2024-04-30 09:41:29 +08:00
Haojun Liao 9ba8e6bd34 refactor: add logs for drop streams. 2024-04-30 09:26:06 +08:00
dapan1121 6187bf4e06
Merge pull request #25584 from taosdata/fix/TS-4728-3.0
fix:[TS-4728]transform store data if data is too big
2024-04-30 09:02:40 +08:00
wangmm0220 cd3f3046f7 fix:memory leak 2024-04-29 19:36:41 +08:00
Yihao Deng f99cad9443 opt transfer 2024-04-29 11:30:38 +00:00
wangmm0220 1f85cb42e6 fix:[TS-4728]transform strore data if data is too big 2024-04-29 17:22:40 +08:00
Haojun Liao ed73617cc3
Merge pull request #25575 from taosdata/fix/3_liaohj
fix(tsdb): set the correct start pos for binary search.
2024-04-29 16:48:01 +08:00
Haojun Liao b0ef022e87 fix(tsdb): set the correct start pos for binary search. 2024-04-29 15:13:52 +08:00
Haojun Liao 7a5cdb81d5 fix(tsdb): set the correct start pos for binary search. 2024-04-29 14:40:49 +08:00
dapan1121 0997355460
Merge pull request #25560 from taosdata/tsma_tradeoff
usable tsma
2024-04-29 09:22:50 +08:00
wangjiaming0909 cb008f18dc usable tsma 2024-04-29 09:18:40 +08:00
dapan1121 df4421b0a2
Merge pull request #25542 from taosdata/fix/TD-29841
use debug log when fetching no tsmas for table
2024-04-29 08:26:12 +08:00
Haojun Liao f115a33a94
Merge pull request #25538 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-04-28 23:21:52 +08:00
Haojun Liao bf5d523116 fix(stream): disable the exec of complete check status in timer thread. 2024-04-28 17:57:34 +08:00
Hongze Cheng 13cd60f17f
Merge pull request #25524 from taosdata/feat/TD-29823
Feat/TD-29823
2024-04-28 17:51:39 +08:00
Hongze Cheng 0253aed220
Merge pull request #25522 from taosdata/enh/TD-29801-3.0
enh: batch create table
2024-04-28 17:16:23 +08:00
Haojun Liao 3c5ca17737 Merge branch '3.0' into fix/3_liaohj 2024-04-28 13:57:16 +08:00
kailixu 4eb1763b52 enh: batch create table 2024-04-28 13:52:17 +08:00
wangjiaming0909 88cc43250f use debug log when fetching no tsmas for table 2024-04-28 12:42:10 +08:00
Yihao Deng d9c112244b profile opt 2024-04-28 03:48:00 +00:00
kailixu 4d572ebe88 enh: batch create table 2024-04-28 11:25:40 +08:00
kailixu bc1f9bca93 enh: batch create table 2024-04-28 11:07:53 +08:00
kailixu e392b39323 enh: batch create table 2024-04-28 10:24:16 +08:00
Haojun Liao ed962186a1 enh(stream): add attrs for stream tasks. 2024-04-28 10:22:09 +08:00
Haojun Liao b2d8260f14 refactor: do some internal refactor. 2024-04-28 10:05:22 +08:00
Haojun Liao 384efdc185
Merge pull request #25531 from taosdata/fix/3_liaohj
fix(stream):add ref for task in check rsp monitor timer.
2024-04-28 09:22:00 +08:00
kailixu 53e9e0b3af enh: batch create table 2024-04-28 04:58:05 +08:00
kailixu 3b504e6e96 enh: batch create table 2024-04-28 04:47:00 +08:00
kailixu 504263315d enh: batch create table 2024-04-28 04:37:30 +08:00
kailixu 0b5e35643c Merge branch '3.0' into enh/TD-29801-3.0 2024-04-28 04:27:25 +08:00
Haojun Liao 8e47adba09 fix(util): fix syntax error. 2024-04-27 17:46:23 +08:00
Haojun Liao 324072fed8
Merge pull request #25525 from taosdata/fix/3_liaohj
fix(stream): update stream task meta info.
2024-04-26 18:15:09 +08:00
Haojun Liao 6d06188b9f fix(stream): fix memory leak. 2024-04-26 17:06:15 +08:00
Haojun Liao b1b3246066 fix(stream): update the checkpoint executed transId range. 2024-04-26 17:03:01 +08:00
Haojun Liao 5f5595a6ab
Merge pull request #25517 from taosdata/fix/3_liaohj
fix(stream): add task node into update list if it is timeout for more than 100sec.
2024-04-26 17:00:23 +08:00
Hongze Cheng 63a735a546
Merge pull request #25512 from taosdata/fix/TD-29713
fix: arb reduce duplicate updates
2024-04-26 16:33:04 +08:00
Yihao Deng ac15015cb8 Add RpcNoDelayfp function to handle specific message types 2024-04-26 08:10:39 +00:00
Haojun Liao 8b53f76691 fix(stream): discard the repeatly recv checkpoint-source msg. 2024-04-26 15:56:34 +08:00
kailixu 55ec5f164c enh: batch create table 2024-04-26 15:09:53 +08:00
Hongze Cheng efdc943a3d Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-4706-3.0 2024-04-26 14:57:58 +08:00
Haojun Liao c565e31638
Merge pull request #25510 from taosdata/fix/3_liaohj
fix(stream): handle disorder node Update trans Id.
2024-04-26 12:44:00 +08:00
wangjiaming0909 ffea69ac5c remove forbid funcs 2024-04-26 12:14:43 +08:00
Shungang Li 21f508fe58 fix: arb reduce duplicate updates 2024-04-26 11:40:06 +08:00
Haojun Liao 815489d20a fix(tsdb): set the pk info when converting fileblockinfo to binrecord. 2024-04-26 11:10:20 +08:00
Haojun Liao 77961ea791 fix(stream): handle disorder node Update trans Id. 2024-04-26 09:45:42 +08:00
Haojun Liao feb176149e
Merge pull request #25507 from taosdata/fix/3_liaohj
fix(tsdb): overlap check take pk into consideration.
2024-04-26 09:06:38 +08:00
Hongze Cheng f500762af7 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-4706-3.0 2024-04-26 09:00:09 +08:00
Haojun Liao 59a3e8ca40 fix(tsdb): overlap check take pk into consideration. 2024-04-25 23:25:24 +08:00
Haojun Liao b3d2ccec83
Merge pull request #25483 from taosdata/fix/3_liaohj
fix(query): add ts in cache_scan_operator if pk exists and only retri…
2024-04-25 22:32:26 +08:00
Haojun Liao eef5e6e409 fix(stream): fix syntax error. 2024-04-25 18:30:33 +08:00
Haojun Liao 3b932599ab fix(stream): fix syntax error. 2024-04-25 17:47:03 +08:00
Minglei Jin eaa1e7a775 tsdb/writer: use latest version of data for writing 2024-04-25 16:40:58 +08:00
Haojun Liao cd8baa7ba0 fix(stream): add log for update task epset, set correct update flag if epset updated. 2024-04-25 16:39:11 +08:00
Minglei Jin a9094d7602 fix(cos/multi-writing): use lasted version of data 2024-04-25 16:37:24 +08:00
Haojun Liao c7806ebca2 fix(util): fix race condition. 2024-04-25 13:58:02 +08:00
Haojun Liao 740115e117
Merge pull request #25474 from taosdata/fix/TD-29749
fix(stream):opt bloom filter
2024-04-25 11:29:28 +08:00
Hongze Cheng 10d82a3acf
Merge pull request #25476 from taosdata/enh/TS-4710-3.0
enh: recover file
2024-04-25 11:15:02 +08:00
Hongze Cheng ca9aebc5ff
Merge pull request #25473 from taosdata/fix/TD-29773
Fix/TD-29773
2024-04-25 09:45:47 +08:00
Haojun Liao ac860f7fe8 fix(query): add ts in cache_scan_operator if pk exists and only retrieve ts column. 2024-04-25 09:29:42 +08:00
54liuyao 2a72ceadd1 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-04-24 18:57:22 +08:00
Haojun Liao 3b08ee3d16
Merge pull request #25458 from taosdata/fix/3_liaohj
fix(stream): add task update trans conflict level.
2024-04-24 18:54:06 +08:00
Hongze Cheng c085efb4f8
Merge pull request #25456 from taosdata/FIX/TD-29704-3.0
fix: execute undo actions of TRN_EXEC_SERIAL trans sequentially
2024-04-24 18:09:56 +08:00
Hongze Cheng 2cac0d5691 enh: recover file 2024-04-24 18:04:10 +08:00
dapan1121 ab2c9aaf5b
Merge pull request #25466 from taosdata/enh/TD-29758
enh:[TD-29758]optimize log in tmq
2024-04-24 17:47:28 +08:00
54liuyao 3300bf04c1 opt bloom filter 2024-04-24 17:27:24 +08:00
Yihao Deng 1181f9de28 Fix metaGetColCmpr function and remove commented code 2024-04-24 08:22:54 +00:00
Hongze Cheng b1fb14e49e
Merge pull request #25465 from taosdata/fix/TD-29759
fix(s3migrate/datas3): init fd of from & to early
2024-04-24 11:29:47 +08:00
Benguang Zhao 9f8e970a32 enh: set default errcode as action in progress in executing serial trans 2024-04-24 11:23:53 +08:00
Hongze Cheng e47d17e826
Merge pull request #25451 from taosdata/enh/refactorCompress
refactor compress
2024-04-24 10:55:00 +08:00
Hongze Cheng c3275dc61c
Merge pull request #25459 from taosdata/fix/TD-29750-3.0
fix: if not exists logic for topic/stream/table
2024-04-24 10:52:53 +08:00
Benguang Zhao 396c08e14a fix: execute undo actions of TRN_EXEC_SERIAL trans sequentially 2024-04-24 10:52:49 +08:00
Benguang Zhao edcd1b87d8 refact: add mndTransExecuteActionsSerial 2024-04-24 10:52:49 +08:00