Removing chunks on failed to write to replicas (#3591)

* Removing chunks on failed to write to replicas
https://github.com/seaweedfs/seaweedfs/issues/3578

* put with in the util.Retry

* just purge on any errors
This commit is contained in:
Konstantin Lebedev
2022-09-14 10:33:35 +05:00
committed by GitHub
parent 0baf3d38c2
commit f8ef25099c
2 changed files with 19 additions and 10 deletions

View File

@@ -197,7 +197,7 @@ func GetWritableRemoteReplications(s *storage.Store, grpcDialOption grpc.DialOpt
}
}
} else {
err = fmt.Errorf("failed to lookup for %d: %v", volumeId, lookupErr)
err = fmt.Errorf("replicating lookup failed for %d: %v", volumeId, lookupErr)
return
}