Browse Source

add logs for remote file loading

pull/1862/head
Chris Lu 4 years ago
parent
commit
6e43e8ce17
  1. 1
      weed/storage/volume_loading.go

1
weed/storage/volume_loading.go

@ -83,6 +83,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind
if alreadyHasSuperBlock {
err = v.readSuperBlock()
glog.V(0).Infof("readSuperBlock volume %d version %v", v.Id, v.SuperBlock.Version)
} else {
if !v.SuperBlock.Initialized() {
return fmt.Errorf("volume %s not initialized", v.FileName(".dat"))

Loading…
Cancel
Save