mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust logging
This commit is contained in:
parent
89eb05b50f
commit
14ae33d642
|
@ -158,8 +158,8 @@ func getWritableRemoteReplications(s *storage.Store, volumeId needle.VolumeId, m
|
|||
if copyCount > 1 {
|
||||
if lookupResult, lookupErr := operation.Lookup(masterNode, volumeId.String()); lookupErr == nil {
|
||||
if len(lookupResult.Locations) < copyCount {
|
||||
err = fmt.Errorf("replicating opetations [%d] is less than volume's replication copy count [%d]",
|
||||
len(lookupResult.Locations), copyCount)
|
||||
err = fmt.Errorf("replicating opetations [%d] is less than volume %d replication copy count [%d]",
|
||||
len(lookupResult.Locations), volumeId, copyCount)
|
||||
return
|
||||
}
|
||||
selfUrl := s.Ip + ":" + strconv.Itoa(s.Port)
|
||||
|
|
Loading…
Reference in a new issue