From bc8d34143d1265a58a04073c9edd394a70b83dcb Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 9 Sep 2018 02:38:30 -0700 Subject: [PATCH] Revert "fix "weed backup" rerunning" This reverts commit 1937be2bb20191ecd144051414f35bf767ea2c3a. --- weed/storage/volume_loading.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()