Chris Lu
ff6a46b698
add locking to access l.volumes
9 years ago
brstgt
de1700fdfb
Don't return actual file size from CheckVolumeDataIntegrity, it will be 0 if last needle is a tombstone, so it's not reliable anyway
9 years ago
brstgt
755231f622
Remove obsolete property Volume.dataFileSize
9 years ago
brstgt
46a6e8918b
Delete volumes online without restarting volume server
9 years ago
brstgt
4238a0fd43
Mount and unmount volumes online without restarting volume server
9 years ago
brstgt
f0f916d2ba
Log volumeId if dataFileSize != actual data file size - improve log types
9 years ago
brstgt
f89c92bf18
Log volumeId if dataFileSize != actual data file size
9 years ago
Chris Lu
7fb9a64f66
volume server get notified of leader change
9 years ago
Chris Lu
818233bbf6
fix byte counter on loading index file
fix https://github.com/chrislusf/seaweedfs/issues/441
9 years ago
Chris Lu
03be0ca269
volume servers always connect to the master leader
9 years ago
Chris Lu
e46c3415f7
gRpc for master~volume heartbeat
9 years ago
Chris Lu
4beaaa0650
simplify the gzip optimization logic
fix https://github.com/chrislusf/seaweedfs/issues/436
9 years ago
Chris Lu
ed44f12f6d
support Fallocate on linux
9 years ago
Chris Lu
7b6837cbc2
move back the section
9 years ago
sparklxb
da9b672d1b
support additional header name-value pairs
9 years ago
sparklxb
86a7c56275
support additional header name-value pairs
9 years ago
Chris Lu
13e7069eb9
keep track of total data file size
9 years ago
lixianbin
d96d0a87cf
fix bug: upload big .gz file more than maxMB
9 years ago
chulin
2f805a229f
add option to enable caching
9 years ago
Chris Lu
dcaf1796fe
add option to enable caching
9 years ago
chulin
04d9591e1d
同步作者的更新
9 years ago
Chris Lu
f54f530ada
adjust verbose logging
9 years ago
霍晓栋
b9f385bd66
refactor concurrent loading code logic
9 years ago
霍晓栋
096ffa9744
concurrent loading volume
9 years ago
Chris Lu
36f9633223
add locks for location.volumes
fix https://github.com/chrislusf/seaweedfs/issues/392
9 years ago
霍晓栋
7d73bbb073
comment UT case
9 years ago
霍晓栋
7d382ba5fe
comment UT case
9 years ago
霍晓栋
ce1f7ab662
makediff func with UT case
9 years ago
霍晓栋
ed848425c7
supplemental data between compacting and commit compacting
9 years ago
Chris Lu
dffad65f2f
fix compilation
9 years ago
Chris Lu
7e29218327
add a template for makeupDiff
9 years ago
Chris Lu
1bc041b46d
add a new way to manually compact corrupted volume
fix https://github.com/chrislusf/seaweedfs/issues/371
9 years ago
Chris Lu
01cbd5cb58
lock
fix https://github.com/chrislusf/seaweedfs/issues/367
9 years ago
Mike Tolman
0d331c1e3a
Revert "Changing needle_byte_cache so that it doesn't grow so big when larger files are added."
This reverts commit 87fee21ef5 .
9 years ago
Mike Tolman
87fee21ef5
Changing needle_byte_cache so that it doesn't grow so big when larger files are added.
9 years ago
霍晓栋
b9b3651a98
deleted index entry could not point to deleted needle
9 years ago
霍晓栋
09bd3d015d
deleted index entry could not point to deleted needle
9 years ago
霍晓栋
78678f4bcb
deleted needle does not need checksum verification
9 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
101e784577
add locking on possible concurrent map access
fix https://github.com/chrislusf/seaweedfs/issues/328
10 years ago
霍晓栋
1ef81ac518
filer could detect master nodes healthy status and choose a working one when encountering SPOF
10 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.
10 years ago
Chris Lu
5071f528f6
testing compilation with remove package
13 years ago