diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-09-09 02:38:30 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-09-09 02:38:30 -0700 |
| commit | bc8d34143d1265a58a04073c9edd394a70b83dcb (patch) | |
| tree | 36f60b74aeb8c4c7b3c78e060e798aff9a208c57 | |
| parent | 1937be2bb20191ecd144051414f35bf767ea2c3a (diff) | |
| download | seaweedfs-bc8d34143d1265a58a04073c9edd394a70b83dcb.tar.xz seaweedfs-bc8d34143d1265a58a04073c9edd394a70b83dcb.zip | |
Revert "fix "weed backup" rerunning"
This reverts commit 1937be2bb20191ecd144051414f35bf767ea2c3a.
| -rw-r--r-- | weed/storage/volume_loading.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_loading.go b/weed/storage/volume_loading.go index 653b35cac..572220650 100644 --- a/weed/storage/volume_loading.go +++ b/weed/storage/volume_loading.go @@ -48,7 +48,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind } } - if v.version == Version(0) { + if v.ReplicaPlacement == nil { e = v.readSuperBlock() } else { e = v.maybeWriteSuperBlock() |
