Benguang Zhao
|
f2bd43c07e
|
fix: set field length properly in tsdbGetSnapDetails
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
83013e0fe5
|
enh: return error in case of out of memory for tsdbGetSnapRangeHash
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
59e8a2104c
|
refact: wrap funcs to handle snapshot info for vnodeSnapReaderOpen and vnodeSnapWriterOpen
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
eb8c4d3e8c
|
enh: use hash table for filtering fset in tsdbSnapReaderOpen and tsdbSnapWriterOpen
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
4e74533878
|
enh: avoid _Static_assert
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
094cf408df
|
enh: prepare vnode dir again in vnodeOpen
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
c1f1709d59
|
fix: add rsmaSnapWriterPrepareClose
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
74185b8b9c
|
feat: exchange snapshot info for rsma tsdbs
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
d5d713b1b4
|
enh: fill snapshot info for rsma tsdbs
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
b80f8201ce
|
feat: detect fs incompleteness of RSMA tsdbs
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
29bbebc323
|
enh: refactor a func name as tsdbSnapGetDetails
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
00aeb031d4
|
enh: replicate a fset if it is corrupted without valid minVer
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
a6d5deb5d1
|
fixup: fix tsdbFSDoSanAndFix
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
eb4e2aa58f
|
feat: restore incomplete fsm state with maxVerValid via snapshot replication
|
2023-10-19 11:04:36 +08:00 |
Benguang Zhao
|
0c41fa56dc
|
feat: filter pExclude in tsdbFSCreateCopyRangedSnapshot
|
2023-10-19 11:00:44 +08:00 |
Benguang Zhao
|
e1c03118ab
|
enh: extract snapshot info for both of snap reader and writer
|
2023-10-19 10:51:13 +08:00 |
Benguang Zhao
|
410ced8320
|
feat: use TLV format to encode data of snapshot info
|
2023-10-19 10:51:13 +08:00 |
Benguang Zhao
|
f99795d027
|
enh: use tsdbSnapRangeArrayDestroy
|
2023-10-19 10:51:13 +08:00 |
Benguang Zhao
|
c1b2eedd3c
|
feat: impl tsdbSnapGetInfo
|
2023-10-19 10:51:08 +08:00 |
Benguang Zhao
|
4d55488495
|
feat: use SSnapshotParam as a parameter to vnodeSnapReaderOpen
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
083dd148be
|
feat: exchange difference of snapshot info for replication
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
b23bcee690
|
fixup: about to revert this commit
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
0ddbcd50d0
|
enh: maintain independent version range of tombs for SDataFileWriter
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
4540bcb170
|
fixup: work-around a compiler bug
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
44a7f5df47
|
feat: add tsdbSnapDiff
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
6ae9bd0e9a
|
feat: add tsdbFSToSnapRangeArray
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
0a67cc8477
|
refact: use tsdbTFileUpdVerRange in tsdbSttFWriterCloseCommit
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
54a10154a4
|
fixup: remove unused minVer and maxVer in ctx of SCommitter2
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
6b753cc0cd
|
refact: remove unused code is_same_file
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
dc402e21e3
|
fix: merge old version range of head and tomb files in tsdbDataFileWriterCloseCommit
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
f8c6e8744a
|
refact: change field name of pExclude in SVSnapReader
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
01d0c1247d
|
enh: record ver range in writer ctx
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
f207b3ddd5
|
refact: rename func names of tsdbDataWriterUpdVerRange and tsdbSttWriterUpdVerRange
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
399afe1094
|
refact: tidy up declarations of funcs in tsdbUpgrade.c
|
2023-10-19 10:37:25 +08:00 |
Benguang Zhao
|
ed6d7c4c4d
|
refact: relocate declarations and defs of tsdbFileWriteTombBlock and tsdbFileWriteTombBlk
|
2023-10-19 10:17:34 +08:00 |
Benguang Zhao
|
823aad4a5e
|
enh: record version range of STFile for data and stt files
|
2023-10-19 10:17:34 +08:00 |
Benguang Zhao
|
3cd458f5c9
|
enh: fill minVer and maxVer of nf in STFileObj during migration
|
2023-10-19 10:17:34 +08:00 |
Benguang Zhao
|
1446b44733
|
fixup: remove minVer and maxVer in FSetWriterConfig
|
2023-10-19 10:17:34 +08:00 |
Benguang Zhao
|
c8a46394f1
|
enh: set default values of minVer and maxVer while upgrading from CURRENT
|
2023-10-19 10:17:34 +08:00 |
Benguang Zhao
|
ab7a20c117
|
enh: write stt and data files with minVer and maxVer
|
2023-10-19 10:17:34 +08:00 |
Benguang Zhao
|
da28d490aa
|
enh: filterByVersion with snap ranges
|
2023-10-19 10:17:34 +08:00 |
Benguang Zhao
|
7a13e4b2cf
|
enh: add minVer and maxVer for entries in current.json
|
2023-10-19 10:17:34 +08:00 |
Benguang Zhao
|
1be2835fc1
|
enh: exclude a list of snap ranges in tsdbSnapReaderOpen
|
2023-10-19 10:17:34 +08:00 |
Benguang Zhao
|
573c28fd06
|
enh: iterate over a list of snap ranges for STsdbSnapReader
|
2023-10-19 10:17:28 +08:00 |
Minglei Jin
|
52c8bc91f9
|
cos/delete: fix delete object cond and double free
|
2023-10-18 18:21:45 +08:00 |
Minglei Jin
|
f26ec41b8e
|
vnode/cos: fix get callback buffer
|
2023-10-18 15:30:02 +08:00 |
Haojun Liao
|
c6dd73b68b
|
Merge pull request #23187 from taosdata/feat/TD-26056
feat:add replay logic
|
2023-10-18 11:43:43 +08:00 |
Minglei Jin
|
11b65e2779
|
vnode/cos: make dependent lib public
|
2023-10-17 18:11:13 +08:00 |
Minglei Jin
|
dd21d8e3ad
|
cos/multipart: first round multipart uploading
|
2023-10-17 17:24:50 +08:00 |
Minglei Jin
|
8fa8c40391
|
cos/put: simple object putting(< 5 gigabytes)
|
2023-10-17 14:59:03 +08:00 |
yihaoDeng
|
b133418d88
|
fix stream snap deadlock
|
2023-10-16 20:03:44 +08:00 |
yihaoDeng
|
f5ea3649c5
|
fix stream snap deadlock
|
2023-10-16 19:26:08 +08:00 |
yihaoDeng
|
0a84d7a8b3
|
fix stream snap deadlock
|
2023-10-16 19:20:48 +08:00 |
Minglei Jin
|
2479bb343e
|
prefix/delete: delete with prefix
|
2023-10-16 15:54:51 +08:00 |
Minglei Jin
|
4a77a49a3e
|
prefix/list: list bucket with prefix
|
2023-10-16 15:25:48 +08:00 |
Haojun Liao
|
f98e454c5d
|
Merge pull request #23193 from taosdata/fix/3_liaohj
other: merge stream fix in main branch.
|
2023-10-16 15:17:04 +08:00 |
Haojun Liao
|
33018a0bdb
|
fix(tsdb): fix syntax error.
|
2023-10-16 14:07:09 +08:00 |
Haojun Liao
|
fa6ba6faf8
|
fix(tdsb): adjust the log level.
|
2023-10-16 13:26:13 +08:00 |
Haojun Liao
|
6b86d050f2
|
fix(tsdb): record the pinned block iter.
|
2023-10-16 13:26:13 +08:00 |
Haojun Liao
|
5fe7c8de24
|
fix(stream): fix syntax error.
|
2023-10-16 13:26:12 +08:00 |
Haojun Liao
|
fb2172933a
|
fix(tsdb): enable pin stt datablock.
|
2023-10-16 13:26:06 +08:00 |
wangmm0220
|
473142fab7
|
fix:conflicts from 3.0
|
2023-10-16 11:35:56 +08:00 |
Minglei Jin
|
0a1ff3283e
|
vnode/cos: first round size delte and get
|
2023-10-13 16:59:05 +08:00 |
dapan1121
|
a418307570
|
Merge pull request #23236 from taosdata/fix/TD-26658-3.0
enh: close stt before untake read snap
|
2023-10-13 14:16:47 +08:00 |
Alex Duan
|
35fced8796
|
Merge pull request #23234 from taosdata/main_3_merge
other: merge main into 3.0
|
2023-10-12 07:48:20 -05:00 |
Haojun Liao
|
506c55001d
|
fix(tsdb): fix race condition.
|
2023-10-12 17:57:03 +08:00 |
Haojun Liao
|
b782af2534
|
fix(stream): avoid double free.
|
2023-10-12 17:56:42 +08:00 |
Haojun Liao
|
90f866352b
|
Merge pull request #23221 from taosdata/feat/TD-26052
fix:[TD-26671] judge if pointer is null to avoid core dump
|
2023-10-12 17:23:41 +08:00 |
kailixu
|
3d32d55ea5
|
enh: close stt before untake read snap
|
2023-10-12 16:44:55 +08:00 |
Haojun Liao
|
eb4449999f
|
other: merge 3.0
|
2023-10-12 10:33:48 +08:00 |
Minglei Jin
|
8253874398
|
enh(tsdb/cos): new sdk for s3
|
2023-10-11 14:47:26 +08:00 |
wangmm0220
|
f7d1e0ea82
|
fix:[TD-26671] judge if pointer is null to avoid core dump
|
2023-10-11 11:08:14 +08:00 |
Shungang Li
|
2c66f44b31
|
fix(tsdb): ensure sst trigger array size for upgrade
|
2023-10-10 21:07:08 +08:00 |
Haojun Liao
|
b4d7e66f19
|
other: add some logs.
|
2023-10-10 19:57:17 +08:00 |
Haojun Liao
|
56147120b9
|
fix(tsdb): remove invalid assert, and do some internal refactor.
|
2023-10-10 17:04:12 +08:00 |
wangmm0220
|
440fa77282
|
fix:merge datablock if data in same wal version
|
2023-10-10 16:55:36 +08:00 |
Haojun Liao
|
5f9b858fc1
|
other: merge main.
|
2023-10-10 15:38:46 +08:00 |
Haojun Liao
|
adf6f65d09
|
fix(stream): set initial version for fill-history task. disable reentry of scan-history task function.
|
2023-10-10 14:00:30 +08:00 |
Alex Duan
|
9da96ebf63
|
Merge pull request #23017 from taosdata/case/TD-26408-MAIN
fix: add case for lost data after split vgroup (main)
|
2023-10-10 00:54:34 -05:00 |
wangmm0220
|
9113c3c3b6
|
fix:rollback removed code
|
2023-10-10 11:53:54 +08:00 |
Hongze Cheng
|
1b559a0254
|
Merge pull request #23180 from taosdata/fix/TS-4121-main
fix(tsdb/cache reader): reset current fileset in cache reader
|
2023-10-09 20:46:33 -05:00 |
Hongze Cheng
|
4224f90661
|
Merge pull request #23184 from taosdata/enh/TS-4107
enh: clear files fset by fset
|
2023-10-09 20:05:12 -05:00 |
yihaoDeng
|
0fc6ffe6b6
|
change test case
|
2023-10-09 20:51:26 +08:00 |
wangmm0220
|
3e2e924e98
|
feat:[TD-26056] add replay logic
|
2023-10-09 18:36:39 +08:00 |
Hongze Cheng
|
cd61dd39fa
|
Merge pull request #23176 from taosdata/enh/TS-4103
enh: control number of stt files
|
2023-10-09 05:08:01 -05:00 |
wangmm0220
|
33045e63ae
|
feat:[TD-26056] add replay logic
|
2023-10-09 17:35:40 +08:00 |
kailixu
|
5dd277248e
|
fix: alter active code for different server
|
2023-10-09 17:16:56 +08:00 |
Hongze Cheng
|
e3525dba6e
|
enh: clear files fset by fset
|
2023-10-09 17:11:50 +08:00 |
Hongze Cheng
|
258181e387
|
change block commit factor
|
2023-10-09 16:03:42 +08:00 |
Haojun Liao
|
8266c4ff77
|
fix(stream): remove invalid clear of rspmsg list.
|
2023-10-09 15:26:42 +08:00 |
Minglei Jin
|
93438ed838
|
fix(tsdb/carch reader): reset current fileset in cache reader
|
2023-10-09 15:24:24 +08:00 |
Hongze Cheng
|
2c9a0dbcda
|
enh: control stt max level
|
2023-10-09 14:00:11 +08:00 |
liuyao
|
1fbfdb5ab4
|
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174
|
2023-10-09 11:40:27 +08:00 |
Haojun Liao
|
74ff0c5b50
|
Merge branch 'main' into fix/liaohj
|
2023-10-09 10:14:53 +08:00 |
Haojun Liao
|
ee6516f3c4
|
enh(stream): add trans to reset task status to avoid being frozen in checkpoint status due to doing checkpoint failure of partial tasks.
|
2023-10-09 10:13:53 +08:00 |
Haojun Liao
|
0fda1793e7
|
fix(stream): fix error in fill-history process.
|
2023-10-09 10:08:48 +08:00 |
wangmm0220
|
5f7b6f19ba
|
feat:[TD-26056] add replay logic
|
2023-10-08 19:05:59 +08:00 |
Haojun Liao
|
167484ab3a
|
Merge pull request #23145 from taosdata/mark/tmq
opti:set default offset to latest in subscription
|
2023-10-08 18:56:37 +08:00 |
Hongze Cheng
|
880e8c1941
|
fix: block commit when there are too many stt file
|
2023-10-08 18:27:19 +08:00 |
wangmm0220
|
b04d57fcc3
|
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26056
|
2023-10-08 16:15:19 +08:00 |
wangmm0220
|
3f2d890560
|
feat:[TD-26056] add replay logic
|
2023-10-08 16:06:15 +08:00 |
Minglei Jin
|
ca809924cd
|
fix(tsdb/retention): free fopArr & fs snapshot resources
|
2023-10-08 15:10:54 +08:00 |
Hongze Cheng
|
ba27cc0605
|
fix: fid overflow
|
2023-10-08 14:54:24 +08:00 |
yihaoDeng
|
9d430c39ae
|
fix mem leak
|
2023-10-08 11:47:06 +08:00 |
wangmm0220
|
fb3197ea89
|
fix:test case error for reset=latest
|
2023-10-08 10:55:35 +08:00 |
liuyao
|
c75506b271
|
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174
|
2023-10-08 09:02:51 +08:00 |
Haojun Liao
|
ab17bfdf09
|
refactor: do some internal refactor.
|
2023-10-07 19:16:55 +08:00 |
liuyao
|
c088ee7f91
|
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174
|
2023-10-07 19:13:07 +08:00 |
yihaoDeng
|
97fdcbc60b
|
fix mem leak
|
2023-10-07 17:48:24 +08:00 |
kailixu
|
b9767707cb
|
chore: code optimization for array size
|
2023-10-07 15:57:26 +08:00 |
wangmm0220
|
9c470e9297
|
opti:set default offset to latest in subscription & return error if use snapshot when consume column
|
2023-10-07 15:25:24 +08:00 |
Hongze Cheng
|
d1e59b9e0e
|
enh: optimize merge strategy
|
2023-10-07 15:18:08 +08:00 |
Haojun Liao
|
7ce3d2c200
|
fix(stream): quit from loop when input queue is full.
|
2023-10-07 14:54:11 +08:00 |
kailixu
|
85226d05a3
|
chore: code refactor for time series
|
2023-10-07 09:30:32 +08:00 |
kailixu
|
6efe3845d4
|
chore: more logic
|
2023-10-07 07:02:16 +08:00 |
Haojun Liao
|
c20dd002fb
|
enh(stream): add more info for sink task.
|
2023-10-07 01:14:00 +08:00 |
kailixu
|
c70a1b77e6
|
chore: code optimization for time series
|
2023-10-07 00:17:21 +08:00 |
kailixu
|
c59498d90a
|
chore: code refactor for time series statis
|
2023-10-06 07:37:18 +08:00 |
kailixu
|
e4a86aa70a
|
chore: remove obsolete codes
|
2023-10-05 23:52:50 +08:00 |
kailixu
|
07f043f143
|
enh: exclude sys tbl for time series
|
2023-10-05 23:48:52 +08:00 |
kailixu
|
47e79ff5b7
|
enh: exclude sys tbl for time series
|
2023-10-05 23:45:54 +08:00 |
kailixu
|
d0a046c7a3
|
enh: exclude sys tbl for time series
|
2023-10-05 23:30:30 +08:00 |
kailixu
|
88fdeca5cf
|
enh: dnode notify logic
|
2023-10-05 22:31:25 +08:00 |
kailixu
|
086213a6c2
|
enh: dnode notify logic
|
2023-10-05 21:35:57 +08:00 |
Haojun Liao
|
5bf8d16ee1
|
refactor(stream): idle for 100ms when starting next round scan wal.
|
2023-10-04 23:33:03 +08:00 |
Haojun Liao
|
41ef1a45c1
|
enh(stream): optimize the scan wal perf
|
2023-10-04 22:06:46 +08:00 |
Haojun Liao
|
45e413f8d5
|
refactor: wait for 100ms before scan wal again.
|
2023-10-03 20:57:19 +08:00 |
Haojun Liao
|
5564eb215c
|
fix(stream): fix invalid check.
|
2023-10-03 00:38:24 +08:00 |
Haojun Liao
|
5718158fc0
|
refactor: do some internal refactor.
|
2023-10-01 22:27:29 +08:00 |
Haojun Liao
|
ff44539468
|
fix(stream): drop related fill-history task when dropping stream tasks.
|
2023-09-28 23:00:29 +08:00 |
Haojun Liao
|
31acbc6fe2
|
refactor: do some internal refactor (discard the checkpoint source msg during restoring).
|
2023-09-28 22:44:13 +08:00 |
Haojun Liao
|
f2d8431619
|
fix(stream): enable new time range for stream task.
|
2023-09-28 18:26:52 +08:00 |
Haojun Liao
|
0047d1e1a6
|
Merge branch 'main' into fix/liaohj
|
2023-09-28 14:35:14 +08:00 |
Haojun Liao
|
0a8f4530f7
|
fix(tsdb): replace destroy with reset.
|
2023-09-28 11:42:19 +08:00 |
kailixu
|
b1a0912a61
|
enh: exclude systables in log/audit db
|
2023-09-28 10:15:34 +08:00 |
Haojun Liao
|
22e485d132
|
fix(stream): opt perf.
|
2023-09-28 09:25:23 +08:00 |
Haojun Liao
|
cc9b9d1054
|
Merge pull request #23102 from taosdata/fix/liaohj
fix(stream): fix several bugs and do some internal refactor for stream processing.
|
2023-09-28 09:12:39 +08:00 |
Minglei Jin
|
cd811577f3
|
fix(vnode/cos): use EIO as object put errno
|
2023-09-27 15:10:34 +08:00 |
Minglei Jin
|
5ce1dd6284
|
fix(tsdb/readerwriter): fix fd writing
|
2023-09-27 14:02:37 +08:00 |
Haojun Liao
|
e13efd5b04
|
refactor: optimize the fill-history task launch policy, and do some other internal refactor.
|
2023-09-27 14:00:48 +08:00 |
Minglei Jin
|
e6287c1a89
|
fix(tsdb/readerwriter): fix var shadowing
|
2023-09-26 19:18:10 +08:00 |
liuyao
|
ebf4283e91
|
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174
|
2023-09-26 17:19:41 +08:00 |
kailixu
|
e1cd54a1b3
|
fix: rwlock reentrant problem on windows
|
2023-09-26 15:44:35 +08:00 |
kailixu
|
c680180894
|
fix: rwlock reentrant problem on windows
|
2023-09-26 15:37:29 +08:00 |
wade zhang
|
f6134b42d7
|
Merge pull request #23036 from taosdata/feat/TS-4011-3.0
feat/TS-4011: adjust config 'keep_time_offset' level from dnode to db
|
2023-09-26 14:25:54 +08:00 |
Haojun Liao
|
890d658aea
|
refactor: do some internal refactor.
|
2023-09-26 14:11:45 +08:00 |
Haojun Liao
|
525ee369d3
|
Merge pull request #23032 from taosdata/fix/liaohj
fix(stream): fix several stability-related bugs in stream framework.
|
2023-09-26 14:10:58 +08:00 |
Haojun Liao
|
f3f18b0fa3
|
fix(stream): add new status for meta.
|
2023-09-26 12:15:12 +08:00 |
liuyao
|
ca2325f886
|
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174
|
2023-09-26 10:41:31 +08:00 |
Hongze Cheng
|
03456ce443
|
fix: upgrade error when has tomb data
|
2023-09-26 09:23:22 +08:00 |