diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-02-02 15:37:23 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-02-02 15:37:23 -0800 |
| commit | 40ae533fa34ae6e40fa31d6007e533a23391a5d8 (patch) | |
| tree | 7fe6ab2c8b30e7cc4df9cd42a67493198aa53ae5 /weed/storage/volume_tier.go | |
| parent | fb19263a719b07d14f59cf8906c03a2a7d7ca3b8 (diff) | |
| download | seaweedfs-40ae533fa34ae6e40fa31d6007e533a23391a5d8.tar.xz seaweedfs-40ae533fa34ae6e40fa31d6007e533a23391a5d8.zip | |
shell: add volume.configure.replication to change replication for a volume
fix https://github.com/chrislusf/seaweedfs/issues/1192
Diffstat (limited to 'weed/storage/volume_tier.go')
| -rw-r--r-- | weed/storage/volume_tier.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_tier.go b/weed/storage/volume_tier.go index 85eafa848..fd7b08654 100644 --- a/weed/storage/volume_tier.go +++ b/weed/storage/volume_tier.go @@ -14,7 +14,7 @@ func (v *Volume) GetVolumeInfo() *volume_server_pb.VolumeInfo { func (v *Volume) maybeLoadVolumeInfo() (found bool) { - v.volumeInfo, v.hasRemoteFile = pb.MaybeLoadVolumeInfo(v.FileName() + ".vif") + v.volumeInfo, v.hasRemoteFile, _ = pb.MaybeLoadVolumeInfo(v.FileName() + ".vif") if v.hasRemoteFile { glog.V(0).Infof("volume %d is tiered to %s as %s and read only", v.Id, |
