aboutsummaryrefslogtreecommitdiff
path: root/go/replication
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2013-04-18 00:23:14 -0700
committerChris Lu <chris.lu@gmail.com>2013-04-18 00:23:14 -0700
commitfb635146a139f350b126cdb6d93821cad13cdde5 (patch)
treeb7108c151b65b0bba8185fe2ecf720cf3bc8654a /go/replication
parent915b16f97a38affeaec6ced9860e1d30a903c047 (diff)
downloadseaweedfs-fb635146a139f350b126cdb6d93821cad13cdde5.tar.xz
seaweedfs-fb635146a139f350b126cdb6d93821cad13cdde5.zip
refactoring needle mapper interface to separate index file storage logic
out
Diffstat (limited to 'go/replication')
-rw-r--r--go/replication/store_replicate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/replication/store_replicate.go b/go/replication/store_replicate.go
index ee5161d4d..cc5d806d2 100644
--- a/go/replication/store_replicate.go
+++ b/go/replication/store_replicate.go
@@ -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")