diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-02-06 20:30:16 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-06 20:30:16 -0800 |
| commit | 928efc642cf33c5b41278449d85397f2662bfcfd (patch) | |
| tree | 2adda8b766fe5d36b6c3731402e32a24de230fa6 /weed/storage/erasure_coding/ec_volume.go | |
| parent | 7fca4324f9f91f5c7f3b05e1071731952b6f1fee (diff) | |
| parent | 7256902fb0c3ac637d40d8ee91508216b42a6d60 (diff) | |
| download | seaweedfs-928efc642cf33c5b41278449d85397f2662bfcfd.tar.xz seaweedfs-928efc642cf33c5b41278449d85397f2662bfcfd.zip | |
Merge pull request #1785 from bingoohuang/master
Diffstat (limited to 'weed/storage/erasure_coding/ec_volume.go')
| -rw-r--r-- | weed/storage/erasure_coding/ec_volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/erasure_coding/ec_volume.go b/weed/storage/erasure_coding/ec_volume.go index 2183e43d6..a9d08ed0e 100644 --- a/weed/storage/erasure_coding/ec_volume.go +++ b/weed/storage/erasure_coding/ec_volume.go @@ -211,7 +211,7 @@ func (ev *EcVolume) LocateEcShardNeedle(needleId types.NeedleId, version needle. shard := ev.Shards[0] // calculate the locations in the ec shards - intervals = LocateData(ErasureCodingLargeBlockSize, ErasureCodingSmallBlockSize, DataShardsCount*shard.ecdFileSize, offset.ToAcutalOffset(), types.Size(needle.GetActualSize(size, version))) + intervals = LocateData(ErasureCodingLargeBlockSize, ErasureCodingSmallBlockSize, DataShardsCount*shard.ecdFileSize, offset.ToActualOffset(), types.Size(needle.GetActualSize(size, version))) return } |
