mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-08 04:57:50 +01:00
revert ErrXyz to ErrorXyz temporarily.
This commit is contained in:
1 parent
50df484d86
commit
ee7cdf3668
7 files changed
+16
-16
No files matched your search
@@ -30,7 +30,7 @@ func CheckAndFixVolumeDataIntegrity(v *Volume, indexFile *os.File) (lastAppendAt
|
||||
healthyIndexSize = indexSize - int64(i)*NeedleMapEntrySize
|
||||
continue
|
||||
}
|
||||
if err != ErrSizeMismatch {
|
||||
if err != ErrorSizeMismatch {
|
||||
break
|
||||
}
|
||||
}
|
||||
@@ -94,7 +94,7 @@ func verifyNeedleIntegrity(datFile backend.BackendStorageFile, v needle.Version,
|
||||
return 0, fmt.Errorf("read %s at %d", datFile.Name(), offset)
|
||||
}
|
||||
if n.Size != size {
|
||||
return 0, ErrSizeMismatch
|
||||
return 0, ErrorSizeMismatch
|
||||
}
|
||||
if v == needle.Version3 {
|
||||
bytes := make([]byte, TimestampSize)
|
||||
|
||||
Reference in new issue
Block a user