Browse Source

Merge pull request #2667 from kmlebedev/syncReplicatedWrite

atomically write to replicas
pull/2670/head
Chris Lu 3 years ago
committed by GitHub
parent
commit
305418fac5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      weed/topology/store_replicate.go

1
weed/topology/store_replicate.go

@ -101,6 +101,7 @@ func ReplicatedWrite(masterFn operation.GetMasterFn, grpcDialOption grpc.DialOpt
stats.VolumeServerRequestCounter.WithLabelValues(stats.ErrorWriteToReplicas).Inc()
err = fmt.Errorf("failed to write to replicas for volume %d: %v", volumeId, err)
glog.V(0).Infoln(err)
return false, err
}
}
return

Loading…
Cancel
Save