aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/volume_loading.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-09-29 20:47:16 -0700
committerchrislu <chris.lu@gmail.com>2024-09-29 20:47:16 -0700
commit190b2fc27637017cdd075331fd04b8cb0e5879b7 (patch)
tree93db54c4ad83af2b09eb7862380b8c634154e203 /weed/storage/volume_loading.go
parent8111ec13bd06e4a9142a87640986de8c41d4b75a (diff)
parent20929f2a5753a04385be2378e698c8df762b3256 (diff)
downloadseaweedfs-origin/mq2.tar.xz
seaweedfs-origin/mq2.zip
Merge branch 'master' into mq2origin/mq2
Diffstat (limited to 'weed/storage/volume_loading.go')
-rw-r--r--weed/storage/volume_loading.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_loading.go b/weed/storage/volume_loading.go
index 7064fdc03..919b6e2a0 100644
--- a/weed/storage/volume_loading.go
+++ b/weed/storage/volume_loading.go
@@ -135,7 +135,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind
// capactiy overloading.
if !v.HasRemoteFile() {
glog.V(0).Infof("checking volume data integrity for volume %d", v.Id)
- if v.lastAppendAtNs, err = CheckAndFixVolumeDataIntegrity(v, indexFile); err != nil {
+ if v.lastAppendAtNs, err = CheckVolumeDataIntegrity(v, indexFile); err != nil {
v.noWriteOrDelete = true
glog.V(0).Infof("volumeDataIntegrityChecking failed %v", err)
}