mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-06-28 13:23:03 +02:00
add logs for remote file loading
This commit is contained in:
parent
015d16f43f
commit
6e43e8ce17
|
@ -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…
Reference in a new issue