Browse Source

fix

pull/1377/head
Chris Lu 5 years ago
parent
commit
9fd7cdadf1
  1. 2
      weed/storage/erasure_coding/ec_encoder.go

2
weed/storage/erasure_coding/ec_encoder.go

@ -78,7 +78,7 @@ func generateEcFiles(baseFileName string, bufferSize int, largeBlockSize int64,
return fmt.Errorf("failed to stat dat file: %v", err)
}
glog.V(0).Infof("encodeDatFile %s.dat size:%d", baseFileNam, fi.Size())
glog.V(0).Infof("encodeDatFile %s.dat size:%d", baseFileName, fi.Size())
err = encodeDatFile(fi.Size(), err, baseFileName, bufferSize, largeBlockSize, file, smallBlockSize)
if err != nil {
return fmt.Errorf("encodeDatFile: %v", err)

Loading…
Cancel
Save