mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 05:57:56 +08:00
adjust logging
This commit is contained in:
@@ -158,8 +158,8 @@ func getWritableRemoteReplications(s *storage.Store, volumeId needle.VolumeId, m
|
|||||||
if copyCount > 1 {
|
if copyCount > 1 {
|
||||||
if lookupResult, lookupErr := operation.Lookup(masterNode, volumeId.String()); lookupErr == nil {
|
if lookupResult, lookupErr := operation.Lookup(masterNode, volumeId.String()); lookupErr == nil {
|
||||||
if len(lookupResult.Locations) < copyCount {
|
if len(lookupResult.Locations) < copyCount {
|
||||||
err = fmt.Errorf("replicating opetations [%d] is less than volume's replication copy count [%d]",
|
err = fmt.Errorf("replicating opetations [%d] is less than volume %d replication copy count [%d]",
|
||||||
len(lookupResult.Locations), copyCount)
|
len(lookupResult.Locations), volumeId, copyCount)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
selfUrl := s.Ip + ":" + strconv.Itoa(s.Port)
|
selfUrl := s.Ip + ":" + strconv.Itoa(s.Port)
|
||||||
|
Reference in New Issue
Block a user