diff --git a/weed/server/volume_grpc_erasure_coding.go b/weed/server/volume_grpc_erasure_coding.go index 1a0668321..e33f2e57c 100644 --- a/weed/server/volume_grpc_erasure_coding.go +++ b/weed/server/volume_grpc_erasure_coding.go @@ -90,7 +90,7 @@ func (vs *VolumeServer) VolumeEcShardsRebuild(ctx context.Context, req *volume_s var rebuiltShardIds []uint32 for _, location := range vs.store.Locations { - _, _, existingShardCount, err := checkEcVolumeStatus(bName, location) + _, _, existingShardCount, err := checkEcVolumeStatus(baseFileName, location) if err != nil { return nil, err }