mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 01:37:57 +08:00
add logs for remote file loading
This commit is contained in:
@@ -83,6 +83,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind
|
|||||||
|
|
||||||
if alreadyHasSuperBlock {
|
if alreadyHasSuperBlock {
|
||||||
err = v.readSuperBlock()
|
err = v.readSuperBlock()
|
||||||
|
glog.V(0).Infof("readSuperBlock volume %d version %v", v.Id, v.SuperBlock.Version)
|
||||||
} else {
|
} else {
|
||||||
if !v.SuperBlock.Initialized() {
|
if !v.SuperBlock.Initialized() {
|
||||||
return fmt.Errorf("volume %s not initialized", v.FileName(".dat"))
|
return fmt.Errorf("volume %s not initialized", v.FileName(".dat"))
|
||||||
|
Reference in New Issue
Block a user