Chris Lu
|
d171d9f988
|
volume: ensure the volume dat and idx files are always closed
fix https://github.com/chrislusf/seaweedfs/issues/1646
|
4 years ago |
Chris Lu
|
6d30b21b10
|
volume: add "-dir.idx" option for separate index storage
fix https://github.com/chrislusf/seaweedfs/issues/1265
|
4 years ago |
Chris Lu
|
744c5594da
|
volume: automatically trim out unreachable entries
|
4 years ago |
Chris Lu
|
faa5c2e89a
|
refactoring
|
5 years ago |
Chris Lu
|
c8ca234773
|
refactoring
|
5 years ago |
Chris Lu
|
df9d538044
|
rename function
|
5 years ago |
Chris Lu
|
c3cb6fa1d7
|
volume: compaction can cause readonly volumes
address https://github.com/chrislusf/seaweedfs/issues/1233
|
5 years ago |
Chris Lu
|
288baf37fd
|
saving .vif files correctly
|
5 years ago |
Chris Lu
|
9134092a8d
|
endure creating .vif files
|
5 years ago |
Chris Lu
|
0cc8347a3a
|
go fmt
|
5 years ago |
Chris Lu
|
c06f7eb48a
|
load volume info from .vif file, use superblock as a backup
|
5 years ago |
Chris Lu
|
f4a74e03d1
|
refactoring: separating .vif from tier file loading
|
5 years ago |
Chris Lu
|
2000284435
|
rename volume tier info to volume info
|
5 years ago |
Chris Lu
|
efd2f50ede
|
compaction changed to .idx based deletion
|
5 years ago |
Chris Lu
|
f42b5bd0f5
|
rename .sdb to .sdx
|
5 years ago |
Chris Lu
|
09ca936c78
|
shell: add ec.decode command
|
5 years ago |
Chris Lu
|
ab966d7192
|
refactoring variable name
|
5 years ago |
Chris Lu
|
f61de28c69
|
volume: add deletion capability for previously readonly volumes
|
5 years ago |
Chris Lu
|
39810a9951
|
tiered volume is read only
|
5 years ago |
Chris Lu
|
58f88e530c
|
volume: use sorted index map for readonly volumes
|
5 years ago |
Chris Lu
|
ec8de250e2
|
tiered storage: can copy to s3, read from s3
master not aware tiered volume yet, file assigning is not working yet
|
5 years ago |
Chris Lu
|
85f8649320
|
refactor memory mapped file into backend storage
|
5 years ago |
Chris Lu
|
4b5ba4927f
|
adjust NewDiskFile() paramaters
|
5 years ago |
Chris Lu
|
19b6a16003
|
changed from os.file to backend.DataStorageBackend
|
5 years ago |
Chris Lu
|
faec9076a4
|
adjust parameter names
|
5 years ago |
Chris Lu
|
09874f0d16
|
volume: return error if superblock is not initialized
fix https://github.com/chrislusf/seaweedfs/issues/1079
|
5 years ago |
j.laycock
|
6fc6322c90
|
Change joeslay paths to chrislusf paths
|
5 years ago |
j.laycock
|
5885ab67b3
|
rename volume property MemoryMap to MemoryMapMaxSizeMB
|
5 years ago |
j.laycock
|
1f01eb78e8
|
Rename mem_map to mMap, remove some in_memory variables being passed around, added MemoryMapped member to volume struct
|
5 years ago |
Tom Maxwell
|
d637d86d22
|
Changes to try and pass the URL parameters through - in memory flag not working still
|
5 years ago |
j.laycock
|
595a1beff0
|
Swap imports to use joeslay
|
5 years ago |
xushuxun
|
9af9f36b89
|
volume: read dat files' last modified time no matter dat files are catWrite or readonly
|
5 years ago |
Chris Lu
|
115558e5f5
|
adjust counters
|
6 years ago |
Chris Lu
|
289fd7eb39
|
count number of volumes and ec shards
|
6 years ago |
Chris Lu
|
76cf57a0e1
|
volume: optimzation for leveldb
|
6 years ago |
Chris Lu
|
0be2d51c96
|
read volume lastAppendAtNs when loading a volume
|
6 years ago |
Chris Lu
|
ac2727853f
|
fix needle map entry size
|
6 years ago |
Chris Lu
|
e5506152c0
|
refactoring
|
6 years ago |
Chris Lu
|
8a5ce16e96
|
weed volume: remove boltdb, btree options, add options for leveldb medium, large
|
6 years ago |
Chris Lu
|
9b3bf0e46c
|
fix "weed backup" rerunning
"weed backup" rerunning will already have ReplicaPlacement set, while version is not set.
|
6 years ago |
Chris Lu
|
bc8d34143d
|
Revert "fix "weed backup" rerunning"
This reverts commit 1937be2bb2 .
|
6 years ago |
Chris Lu
|
1937be2bb2
|
fix "weed backup" rerunning
"weed backup" rerunning will already have ReplicaPlacement set, while version is not set.
|
6 years ago |
Chris Lu
|
8a12fd9ec4
|
add error checking when loading dat file
|
7 years ago |
Chris Lu
|
82c3ccc8dd
|
add btree for volume index
|
8 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
|
8 years ago |
brstgt
|
4fb5bb09b6
|
Remove obsolete property Volume.dataFileSize
|
8 years ago |
Chris Lu
|
ed44f12f6d
|
support Fallocate on linux
|
8 years ago |
Chris Lu
|
13e7069eb9
|
keep track of total data file size
|
8 years ago |
Chris Lu
|
576573711a
|
refactoring
|
9 years ago |
Chris Lu
|
3d8df0f709
|
refactor volume_loading.go out of volume.go
|
9 years ago |