diff --git a/weed/storage/volume_super_block.go b/weed/storage/volume_super_block.go index d0f2757fa..47cddaba4 100644 --- a/weed/storage/volume_super_block.go +++ b/weed/storage/volume_super_block.go @@ -70,7 +70,7 @@ func (s *SuperBlock) Bytes() []byte { } func (s *SuperBlock) Initialized() bool { - return s.ReplicaPlacement == nil || s.Ttl == nil + return s.ReplicaPlacement != nil && s.Ttl != nil } func (v *Volume) maybeWriteSuperBlock() error {