mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 07:09:56 +08:00
erasure coding: fix cases where there are no .ecj files
This commit is contained in:
@@ -201,9 +201,7 @@ func (vs *VolumeServer) VolumeEcShardsDelete(ctx context.Context, req *volume_se
|
||||
if err := os.Remove(baseFilename + ".ecx"); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := os.Remove(baseFilename + ".ecj"); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
os.Remove(baseFilename + ".ecj")
|
||||
}
|
||||
if !hasIdxFile {
|
||||
// .vif is used for ec volumes and normal volumes
|
||||
|
Reference in New Issue
Block a user