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
Chris Lu
2fa2235fe3
Merge pull request #338 from hxiaodon/master
add index,dat file's integrity checking
9 years ago
霍晓栋
c527d85d97
refactor data integrity checking code v3
9 years ago
霍晓栋
16f6984d02
refactor data integrity checking code v2
9 years ago
霍晓栋
dda13def2a
refactor data integrity checking code
9 years ago
霍晓栋
3018443cd7
code change for fix_dat.go
9 years ago
霍晓栋
2e74fb60c8
add data integrity checking
9 years ago
Chris Lu
8dfe22ef1c
Merge pull request #335 from hxiaodon/master
fix bug when choosing the healthy master in filer service
9 years ago
霍晓栋
339856eb78
fix bug when choosing the healthy master in filer service
9 years ago
Chris Lu
5771225f54
Merge pull request #333 from hxiaodon/master
fix volume_layout bug, add new feature for volume etag write,filer pa…
9 years ago
霍晓栋
079fdbad13
fix volume_layout bug, add new feature for volume etag write,filer pass through query params'
9 years ago
Chris Lu
b617b13c43
remember oversized volumes
fix https://github.com/chrislusf/seaweedfs/issues/331
9 years ago
Chris Lu
d0dbf6d2ea
adjust logging
9 years ago
Chris Lu
b6de5f00b3
Merge pull request #329 from hxiaodon/master
refactor Assign func to accept main[dataCenter|rack|dataNode] params if needed
9 years ago
霍晓栋
1f63094542
refactor Volume Assign function
9 years ago
霍晓栋
c601ef03b1
Merge remote-tracking branch 'upstream/master'
9 years ago
Chris Lu
0647c75a06
update dependency versions
9 years ago
Chris Lu
101e784577
add locking on possible concurrent map access
fix https://github.com/chrislusf/seaweedfs/issues/328
9 years ago
霍晓栋
79b0a58132
add options params for the Assign func
9 years ago
Chris Lu
356b8048c5
fix compilation problem due to API changes
9 years ago
Chris Lu
18cf59c375
Merge pull request #323 from ham1/tidy-up
Added LICENSE file and updated README.md
9 years ago
Graham Russell
fe8dc26849
Added LICENSE file and updated README.md
9 years ago
Chris Lu
cc01c352c3
refactoring
9 years ago
Chris Lu
a61453d3ec
fix nil crash
fix https://github.com/chrislusf/seaweedfs/issues/320
9 years ago
Chris Lu
f6d75476b9
Merge pull request #315 from 030io/master
fix bug: filer DELETE
9 years ago
DaLin
fa2a7b5f2f
fix bug: filer DELETE
9 years ago
Chris Lu
e416679cea
Merge pull request #314 from hxiaodon/master
made a little change for Amazon S3 API's compatibility(v2)
9 years ago
霍晓栋
3a25af223f
refactor work for filer write handler
9 years ago
霍晓栋
26bb9094d4
made a little change for Amazon S3 API's compatibility
9 years ago
Chris Lu
0e3140c54c
a little refactoring
9 years ago
Chris Lu
04380d6a36
Merge pull request #312 from hxiaodon/master
filer server concern the lead change
9 years ago
霍晓栋
d514b6f3f9
read write handler update
9 years ago
霍晓栋
1ef81ac518
filer could detect master nodes healthy status and choose a working one when encountering SPOF
9 years ago
Chris Lu
e20ef8a077
add tool to change a volume's replication
fix https://github.com/chrislusf/seaweedfs/issues/29
9 years ago
Chris Lu
bb839ba268
fix
9 years ago
Chris Lu
96d2f11f81
adjust log
9 years ago
Chris Lu
b456173eb8
delete file storage when POST to update
PUT is used to update. But sometimes POST is also used to post the same
file again. In this case, the actual file storage was not marked as
deleted.
This fix will try its best to delete the orphan files.
9 years ago
Chris Lu
535b1610c8
add fid and url to filer post result
fix https://github.com/chrislusf/seaweedfs/issues/274
9 years ago
Chris Lu
4f47b8cff9
refactoring
9 years ago
Chris Lu
a6e948840d
fix path
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
caeffa3998
add missing unlock()!!!!!
9 years ago
Chris Lu
6df18a9181
rwlock concurrent read map
9 years ago
Chris Lu
46a89a7d61
fix concurrent write map
fix https://github.com/chrislusf/seaweedfs/issues/311
9 years ago
Chris Lu
59017da4f2
add missing parameters.
strange git errors happen twice since adding glide.
9 years ago
Chris Lu
45a12505f2
bind ip address when starting filer
fix https://github.com/chrislusf/seaweedfs/issues/290
9 years ago