Chris Lu
|
49c66e88a0
volume: change all writes to fsync during graceful stopping
|
3 years ago |
Chris Lu
|
56eb522b13
fix stats when a collection is deleted
|
3 years ago |
bingoohuang
|
cf552417a7
minFreeSpace refactored
|
3 years ago |
bingoohuang
|
31f1cdeac2
minFreeSpace argument allows size like 10GiB
|
3 years ago |
Chris Lu
|
ca998328c2
do not add new volumes when below minFreeSpacePercent
|
3 years ago |
Chris Lu
|
cb423312a4
prevent nil volume message
|
3 years ago |
Chris Lu
|
828f6e9f4d
volume: auto add missing vif files
|
3 years ago |
qieqieplus
|
5b16820924
fix: collection stats won't update if all volumes expired at same iteration
|
3 years ago |
Chris Lu
|
3575d41009
go fmt
|
3 years ago |
Chris Lu
|
ebf320ec22
avoid divided by zero
|
3 years ago |
Chris Lu
|
f8446b42ab
this can compile now!!!
|
3 years ago |
Chris Lu
|
7ce647f27e
support customizable disk type
|
3 years ago |
Chris Lu
|
821c46edf1
Merge branch 'master' into support_ssd_volume
|
3 years ago |
bingoohuang
|
94ea3bd3a5
renaming NeedleMapType to NeedleMapKind
|
3 years ago |
Chris Lu
|
9abf016af1
Merge branch 'master' into support_ssd_volume
|
3 years ago |
Chris Lu
|
738c4fd203
fix logging when error
|
3 years ago |
Chris Lu
|
1d88865869
passing disk type along
|
3 years ago |
Chris Lu
|
933f2f4cfd
find location with matching disk type
|
3 years ago |
Chris Lu
|
94525aa0fd
allocate volume by disk type
|
3 years ago |
Chris Lu
|
f6a419c26c
disk type configurable for each folder
|
3 years ago |
Chris Lu
|
0d2ec832e2
rename from volumeType to diskType
|
3 years ago |
Chris Lu
|
d156c74ec0
volume server set volume type and heartbeat to the master
|
3 years ago |
Chris Lu
|
ae655033ac
adjust logging
|
3 years ago |
Chris Lu
|
96c48bc8a8
fix test
|
4 years ago |
Chris Lu
|
2c913dde04
volume: detect and drop volumes with disk IO error
|
4 years ago |
Chris Lu
|
6d30b21b10
volume: add "-dir.idx" option for separate index storage
|
4 years ago |
Chris Lu
|
b11449f955
pass in dir.idx parameter to DiskLocation
|
4 years ago |
Chris Lu
|
1dd3a6ac36
avoid verbose logs
|
4 years ago |
Chris Lu
|
0dafcf1f5a
volume: detect max volume count changes based on disk usage
|
4 years ago |
Konstantin Lebedev
|
46303c36bf
When the volume server is stopped, the master server immediately sees the deletion of volumes
|
4 years ago |
Konstantin Lebedev
|
1ad1b8c4f6
collection Volume ReadOnly Count with detailed status
|
4 years ago |
Konstantin Lebedev
|
2fb1fce8a0
avoid old values when missing read only flags
|
4 years ago |
Chris Lu
|
9104cfa744
reduce locks
|
4 years ago |
Konstantin Lebedev
|
dc2e13092d
add number of read only volumes metric
|
4 years ago |
Chris Lu
|
a1c01d716b
volume: avoid deadlock when deleting volumes
|
4 years ago |
James Hartig
|
8e54e34576
volume: Don't unmount before deleting volume in copy
|
4 years ago |
James Hartig
|
3ccfa4c6ad
Added VolumeMarkWritable and VolumeStatus grpc methods
|
4 years ago |
Chris Lu
|
7e91ae592c
pass in option to read deleted entries
|
4 years ago |
Chris Lu
|
6a92f0bc7a
refactoring to typed Size
|
4 years ago |
Chris Lu
|
f43146b237
resolve directories if containing home directory
|
4 years ago |
Chris Lu
|
4d1484628a
refactoring
|
4 years ago |
Evgenii Kozlov
|
0e0db70f55
Set volumes ReadOnly if low free disk space
|
4 years ago |
Chris Lu
|
5568395edd
Revert "Revert "Merge pull request #1299 from song-zhang/master""
|
4 years ago |
Chris Lu
|
afb6a1dbb4
Revert "Merge pull request #1299 from song-zhang/master"
|
4 years ago |
zhangsong
|
f9e8702bb4
use async write to persistent file to disk - part1
|
4 years ago |
Chris Lu
|
bafa95045b
volume: deletion checks all disk locations
|
4 years ago |
Chris Lu
|
e4af63a721
volume server: accept fsync=true in write requests
|
4 years ago |
Chris Lu
|
9fa065f600
typo in logs
|
4 years ago |
Chris Lu
|
e63a79ade8
better handle lock in case of exception
|
4 years ago |
Chris Lu
|
3137777d83
volume: automatically detect max volume count
|
4 years ago |