From 509f314350ee937afade184ed2e775b19aab0301 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 28 Dec 2019 21:52:55 -0800 Subject: [PATCH] keep .vif file for ec to normal volume conversion --- weed/server/volume_grpc_erasure_coding.go | 1 - 1 file changed, 1 deletion(-) diff --git a/weed/server/volume_grpc_erasure_coding.go b/weed/server/volume_grpc_erasure_coding.go index 129c7dab3..4bca9948e 100644 --- a/weed/server/volume_grpc_erasure_coding.go +++ b/weed/server/volume_grpc_erasure_coding.go @@ -199,7 +199,6 @@ func (vs *VolumeServer) VolumeEcShardsDelete(ctx context.Context, req *volume_se if err := os.Remove(baseFilename + ".ecj"); err != nil { return nil, err } - os.Remove(baseFilename + ".vif") } return &volume_server_pb.VolumeEcShardsDeleteResponse{}, nil