mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Volume Management (markdown)
parent
41bef1812b
commit
8041313b5b
|
@ -1,7 +1,7 @@
|
||||||
When running large clusters, it is common to add more volume severs, or some volume servers are down, or some volume servers are replaced. These topology changes can cause missing volume replicas, or unbalanced number of volumes on volume servers.
|
When running large clusters, it is common to add more volume severs, or some volume servers are down, or some volume servers are replaced. These topology changes can cause missing volume replicas, or unbalanced number of volumes on volume servers.
|
||||||
|
|
||||||
## Optimize volumes
|
## Optimize volumes
|
||||||
See [Optimization] page on how to optimize for concurrent writes and concurrent reads.
|
See [[Optimization]] page on how to optimize for concurrent writes and concurrent reads.
|
||||||
|
|
||||||
## Fix missing volumes
|
## Fix missing volumes
|
||||||
When running large clusters, it is common that some volume servers are down. If a volume is replicated and one replica is missing, the volume will be marked as readonly.
|
When running large clusters, it is common that some volume servers are down. If a volume is replicated and one replica is missing, the volume will be marked as readonly.
|
||||||
|
@ -23,10 +23,6 @@ The balancing plan will try to evenly spread the number of writable and readonly
|
||||||
balanceWritableVolumes()
|
balanceWritableVolumes()
|
||||||
balanceReadOnlyVolumes()
|
balanceReadOnlyVolumes()
|
||||||
}
|
}
|
||||||
for all volumes {
|
|
||||||
balanceWritableVolumes()
|
|
||||||
balanceReadOnlyVolumes()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func balanceWritableVolumes(){
|
func balanceWritableVolumes(){
|
||||||
|
|
Loading…
Reference in a new issue