Chris Lu
|
885ca34748
volume: fail fast if idx files are missing
|
3 years ago |
bingoohuang
|
7256902fb0
fix typo offset.ToAcutalOffset to offset.ToActualOffset
|
3 years ago |
Chris Lu
|
9708df47d1
ensure offset in the index file is positive
|
4 years ago |
Chris Lu
|
6560ac6466
volume loading: trim out unreachable idx file content
|
4 years ago |
Chris Lu
|
744c5594da
volume: automatically trim out unreachable entries
|
4 years ago |
shibinbin
|
a67eb1afa1
fix: restart volumeserver sometime occurred out of memory error
|
4 years ago |
Chris Lu
|
ea26a98753
volume: validate volume correctness if last entry is a deletion
|
4 years ago |
Chris Lu
|
9d4bdfcfdf
fix volume integrity checking
|
4 years ago |
Chris Lu
|
ee11d98650
refactoring
|
4 years ago |
Chris Lu
|
6a92f0bc7a
refactoring to typed Size
|
4 years ago |
Chris Lu
|
c3cb6fa1d7
volume: compaction can cause readonly volumes
|
4 years ago |
Chris Lu
|
f60154f330
master load backend storage config from master.toml
|
5 years ago |
Chris Lu
|
19b6a16003
changed from os.file to backend.DataStorageBackend
|
5 years ago |
Chris Lu
|
17ac1290c0
volume: load ec shards during heartbeats to master
|
5 years ago |
Wine93
|
32f93fb09e
style: go fmt for all
|
5 years ago |
Chris Lu
|
0be2d51c96
read volume lastAppendAtNs when loading a volume
|
5 years ago |
Chris Lu
|
ac2727853f
fix needle map entry size
|
5 years ago |
Chris Lu
|
e5506152c0
refactoring
|
5 years ago |
Chris Lu
|
000ee725fc
refactor Offset into a struct of bytes
|
5 years ago |
Chris Lu
|
4f317c7e3d
working version3
|
6 years ago |
Chris Lu
|
d4d7ced922
refactoring: add type for needle id, offset
|
6 years ago |
Chris Lu
|
458ada173e
go fmt
|
6 years ago |
brstgt
|
0656838fe5
Don't return actual file size from CheckVolumeDataIntegrity, it will be 0 if last needle is a tombstone, so it's not reliable anyway
|
7 years ago |
Chris Lu
|
13e7069eb9
keep track of total data file size
|
7 years ago |
霍晓栋
|
ce1f7ab662
makediff func with UT case
|
8 years ago |
霍晓栋
|
b9b3651a98
deleted index entry could not point to deleted needle
|
8 years ago |
霍晓栋
|
09bd3d015d
deleted index entry could not point to deleted needle
|
8 years ago |
Chris Lu
|
582d5d526c
refactoring
|
8 years ago |