refactoring needle mapper interface to separate index file storage logic
out
This commit is contained in:
@@ -36,7 +36,7 @@ func ReplicatedWrite(masterNode string, s *storage.Store, volumeId storage.Volum
|
||||
if errorStatus != "" {
|
||||
if _, err = s.Delete(volumeId, needle); err != nil {
|
||||
errorStatus += "\nCannot delete " + strconv.FormatUint(needle.Id, 10) + " from " +
|
||||
strconv.FormatUint(uint64(volumeId), 10) + ": " + err.Error()
|
||||
volumeId.String() + ": " + err.Error()
|
||||
} else {
|
||||
distributedOperation(masterNode, s, volumeId, func(location operation.Location) bool {
|
||||
return nil == operation.Delete("http://"+location.Url+r.URL.Path+"?type=standard")
|
||||
|
||||
Reference in New Issue
Block a user