Chris Lu
10bd3c6b4b
refactoring
5 years ago
Chris Lu
6827cabfbb
volume: dataFileAccessLock change to RW Lock
5 years ago
Chris Lu
1becbce657
display remote volumes on volume server ui page
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
f60154f330
master load backend storage config from master.toml
5 years ago
Chris Lu
b7156291a8
adjust variable names
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
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
Chris Lu
02710f9624
refactoring: remove unused functions
5 years ago
Chris Lu
0f861d23a2
avoid nil needle map
fix https://github.com/chrislusf/seaweedfs/issues/1061
5 years ago
j.laycock
5885ab67b3
rename volume property MemoryMap to MemoryMapMaxSizeMB
5 years ago
Tom Maxwell
4a878c0006
Changed the InMemory bool to a uint32 so that it can be used to alter how much space to reserve
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
Chris Lu
d829df4f59
volume: protect against nil needle map
fix @mastak reported nil problem in https://github.com/chrislusf/seaweedfs/issues/1037
5 years ago
Chris Lu
e40634e6b4
volume: fail the volume deletion if compaction is in progress
fix https://github.com/chrislusf/seaweedfs/issues/1035
5 years ago
Chris Lu
33b3366043
volume: avoid compacting wait group
6 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
7e80b2b882
fix multiple bugs
6 years ago
Chris Lu
f919d0235c
ec encode volumes quiet for a period of time
6 years ago
Chris Lu
3b3651dea3
volume: atomic copying file, adds version and stopOffset
6 years ago
Chris Lu
ac2727853f
fix needle map entry size
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
b142f9f1d5
go fmt
6 years ago
Chris Lu
0e33272f56
small refactoring
6 years ago
stlpmo-jn
c1a0403da2
repair the error replications of the volume
6 years ago
Chris Lu
95e0520182
weed volume: add grpc operation to relicate a volume to local
6 years ago
Chris Lu
ece9d13312
volume info collect compact revision number
6 years ago
Chris Lu
aca653c08b
weed shell: list volumes
6 years ago
bingoohuang
ab6be025d7
go fmt and fix some typo
6 years ago
Chris Lu
9383c91eb1
wait to read again if the volume is compacting
6 years ago
Chris Lu
f050b22d6c
close file in ScanVolumeFile()
fix https://github.com/chrislusf/seaweedfs/issues/761
6 years ago
Chris Lu
3699996985
add compaction test
7 years ago
mtolman
e4b1e5c3c8
Fix for issue #635
Fix for the following issue on master: https://github.com/chrislusf/seaweedfs/issues/635
7 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
f54f530ada
adjust verbose logging
8 years ago
霍晓栋
ce1f7ab662
makediff func with UT case
8 years ago
霍晓栋
ed848425c7
supplemental data between compacting and commit compacting
8 years ago
Chris Lu
d981eb282f
refactor volume_read_write.go out of volume.go
9 years ago
Chris Lu
576573711a
refactoring
9 years ago
Chris Lu
3d8df0f709
refactor volume_loading.go out of volume.go
9 years ago
Chris Lu
582d5d526c
refactoring
9 years ago
Chris Lu
3713119ab9
adjust verification logic.
1. log file name for easier debugging
2. remove unused version in readIndexEntryAtOffset()
3. if indexSize==0, the dataFile usually still has a super block of
size 8. So skipping this case.
9 years ago
霍晓栋
16f6984d02
refactor data integrity checking code v2
9 years ago
霍晓栋
dda13def2a
refactor data integrity checking code
9 years ago