1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-01 06:40:45 +02:00

Revert "fix "weed backup" rerunning"

This reverts commit 1937be2bb2.
This commit is contained in:
Chris Lu 2018-09-09 02:38:30 -07:00
parent 1937be2bb2
commit bc8d34143d

View file

@ -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()