aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/volume_loading.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-03-01 00:48:59 -0800
committerChris Lu <chris.lu@gmail.com>2021-03-01 00:48:59 -0800
commit6e43e8ce17dab9b5b99fa9449e869c910981bff9 (patch)
treec9a07ba848e79887241fd93b542f3790b759c8aa /weed/storage/volume_loading.go
parent015d16f43f1ff0a8b8576914c665c963b700f768 (diff)
downloadseaweedfs-6e43e8ce17dab9b5b99fa9449e869c910981bff9.tar.xz
seaweedfs-6e43e8ce17dab9b5b99fa9449e869c910981bff9.zip
add logs for remote file loading
Diffstat (limited to 'weed/storage/volume_loading.go')
-rw-r--r--weed/storage/volume_loading.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/storage/volume_loading.go b/weed/storage/volume_loading.go
index cf34ff133..7f70031ed 100644
--- a/weed/storage/volume_loading.go
+++ b/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"))