mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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 {
|
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"))
|
||||||
|
|
Loading…
Reference in a new issue