Commit Graph

28765 Commits

Author SHA1 Message Date
Benguang Zhao f136266972 feat: support snap replication by file blocks 2023-12-07 15:29:42 +08:00
Benguang Zhao 1dc9019baa feat: add tsdbSnapRAWRead into vnodeSnapRead 2023-12-07 15:29:42 +08:00
Benguang Zhao ae60e1f810 refact: add tsdbSnapRAWReaderIterNext 2023-12-07 15:29:42 +08:00
Benguang Zhao a504007ade refact: alloc just enough memory for snap data in tsdbSnapRAWReadData 2023-12-07 15:29:42 +08:00
Benguang Zhao 6c419423de feat: impl tsdb snapshot reader and writer for raw files 2023-12-07 15:29:42 +08:00
Benguang Zhao a4c504169d feat: add file tsdbFSetRAW.c 2023-12-07 15:29:42 +08:00
Benguang Zhao da646b5a5b feat: add file tsdbDataFileRAW.c 2023-12-07 15:29:42 +08:00
Benguang Zhao e05914119e feat: add file tsdbSnapshotRAW.c 2023-12-07 15:29:42 +08:00
Benguang Zhao fe258e226d feat: add data type of SNAP_DATA_RAW for snap replication 2023-12-07 15:29:42 +08:00
Benguang Zhao 081c83710e enh: save a copy of snapshot info in syncNodeOnSnapshotPrepRsp 2023-12-07 15:29:37 +08:00
Benguang Zhao 030f3db4d6 refact: improve code of syncNodeOnSnapshotBegin with syncSnapSendRsp 2023-12-07 15:28:14 +08:00
Benguang Zhao 41fe39de3e refact: improve code with syncNodeExchangeSnapInfo 2023-12-07 15:28:14 +08:00
Benguang Zhao d4add073cc refact: improve code with syncSnapSendRsp 2023-12-07 15:28:14 +08:00
Benguang Zhao de9c9d4f20 refact: improve code of tsdbPartitionInfoSerialize 2023-12-07 15:28:14 +08:00
Benguang Zhao 1a9b08fa08 refact: relocate func syncSnapInfoDataRealloc 2023-12-07 15:28:14 +08:00
Benguang Zhao f68804322c refact: improve code of tsdbSnapGetDetails as tsdbSnapPrepDescription 2023-12-07 15:28:14 +08:00
Benguang Zhao ed39c9a572 refact: rename snap range to fset range in tsdbSnapInfo.c 2023-12-07 15:28:14 +08:00
Benguang Zhao 3550347f0c refact: use tsdbFSDestroyCopyRangedSnapshot and tsdbFSDestroyRefRangedSnapshot 2023-12-07 15:28:14 +08:00
Benguang Zhao 962febef02 refact: rename tsdb snap range to tsdb fset range 2023-12-07 15:28:14 +08:00
Benguang Zhao ed916b1a80 refact: rename tsdb snap partition to fset partition 2023-12-07 15:28:14 +08:00
Benguang Zhao 20b5cf8d49 refact: remove redundent includes from tsdbSnapInfo.c 2023-12-07 15:28:14 +08:00
Benguang Zhao 4487eeacb5 refact: improve funcs dealing with SnapInfo for vnode snap reader and writer 2023-12-07 15:28:14 +08:00
Benguang Zhao b8b53a4b0e refact: put source code of snap info into tsdbSnapInfo.c 2023-12-07 15:28:06 +08:00
Benguang Zhao 3ad68bdfea enh: add tsdbSnapInfo.c 2023-12-07 15:20:55 +08:00
Benguang Zhao ddcabcfa4a refact: remove unused fn tSerializeSnapRangeArray 2023-12-07 15:20:55 +08:00
Benguang Zhao e429526789 refact: rename STSnapRange to STFileSetRange 2023-12-07 15:20:55 +08:00
dapan1121 0ffc707f1b
Merge pull request #23936 from taosdata/enh/xsren/TD-27531
enh: event_window + super table need partition by tbname
2023-12-06 10:41:08 +08:00
Haojun Liao 85c7dc76e9
Merge pull request #23948 from taosdata/mark/3.0
fix:offset out of range if poll offset is read from offsetRestored wh…
2023-12-06 09:12:38 +08:00
Alex Duan 0c9e07fdd2
Merge pull request #23935 from taosdata/fix/alexduan-3.0
fix: strncpy replace with memcpy on 3.0
2023-12-05 19:54:21 +08:00
wangmm0220 cc51fd47d0 fix:offset out of range if poll offset is read from offsetRestored while wal is deleted 2023-12-05 19:09:29 +08:00
factosea f91d98df25 fix: error message 2023-12-05 14:11:58 +08:00
factosea 2019e95049 fix: stream for event window 2023-12-05 14:08:17 +08:00
Minglei Jin e0a14bd359 fix(tsdb/cache): remove debug log 2023-12-05 14:05:16 +08:00
dapan1121 7589bbab45
Merge pull request #23921 from taosdata/fix/TS-4282-3.0
fix: skip NULL tag
2023-12-05 13:21:00 +08:00
dapan1121 24a2e857c3
Merge pull request #23816 from taosdata/enh/xsren/TD-27474/timezone3.0
fix timezone range
2023-12-05 13:17:55 +08:00
Haojun Liao 9d451ab56e
Merge pull request #23934 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2023-12-05 12:58:18 +08:00
facetosea 07301130c5 enh: event_window + super table need partition by tbname 2023-12-05 11:18:07 +08:00
Alex Duan dd53d57021 fix: strncpy replace with memcpy on 3.0 2023-12-05 10:51:19 +08:00
Haojun Liao cb8dfae0cc refactor: do some internal refactor. 2023-12-05 10:47:19 +08:00
Haojun Liao 4e68fbd744
Merge pull request #23904 from taosdata/enh/validMsg
valid msg
2023-12-05 09:40:33 +08:00
kailixu 08be3d790c fix: ignore NULL tag 2023-12-04 20:08:46 +08:00
Haojun Liao cc5890d56a
Merge pull request #23924 from taosdata/fix/3_liaohj
enh(tsdb): extract rows for the given tables in all stt files.
2023-12-04 19:21:19 +08:00
Haojun Liao 4daaeb3265 fix(tsdb): add rows in different vgroups; 2023-12-04 18:21:03 +08:00
Hongze Cheng 26774f87c9
Merge pull request #23920 from taosdata/fix/TD-27619
fix: bg task memory waste
2023-12-04 18:10:30 +08:00
Haojun Liao 7145a7b8a1 fix(tsdb): calculate the rows in next fileset. 2023-12-04 18:03:32 +08:00
Haojun Liao 6d82900a32 fix(tsdb): fix error in block dist. 2023-12-04 18:00:41 +08:00
Hongze Cheng ac2d9ebc27 fix: memory leak 2023-12-04 16:48:43 +08:00
Haojun Liao 24d9337632 enh(tsdb): extract rows for the given tables in all stt files. 2023-12-04 15:38:24 +08:00
dapan1121 14d303f88d
Merge pull request #23846 from taosdata/enh/xsren/PI-28/skipScan
skip scan table
2023-12-04 15:17:58 +08:00
dapan1121 aa4efa0595
Merge pull request #23919 from taosdata/fix/xsren/TD-27561/fqdnFailedMsg
fix error msg if failed get ip from fqdn
2023-12-04 15:17:17 +08:00