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
霍晓栋
2e74fb60c8
add data integrity checking
9 years ago
Chris Lu
5ce6bbf076
directory structure change to work with glide
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
9 years ago
Chris Lu
f8b03c45ef
properly release memory
fix https://github.com/chrislusf/seaweedfs/issues/301
9 years ago
chrislusf
0649d778a7
pooling []byte
reduce the number of requests to make([]byte)
9 years ago
chrislusf
320e946d50
fix ttl change detection
https://github.com/chrislusf/seaweedfs/issues/166
10 years ago
chrislusf
430f371a97
fix wrong logic
10 years ago
chrislusf
2c595d2d16
skip isFileUnchanged checking since ttl always change
skip checking since ttl always change. Fixing
https://github.com/chrislusf/seaweedfs/issues/166
10 years ago
chrislusf
86cd40fba8
Add "weed backup" command.
This is a pre-cursor for asynchronous replication.
10 years ago
chrislusf
8f88d382a5
Rename variables
10 years ago
chrislusf
b8314fb054
Textual changes.
10 years ago