Skip to content

Commit aeb2e97

Browse files
author
Guillaume Lefranc
committed
Only check RW count > 1
1 parent 61bfe4e commit aeb2e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topology.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func topologyInit() error {
9494
srw++
9595
}
9696
}
97-
if srw != 1 {
97+
if srw > 1 {
9898
return topologyError{
9999
11,
100100
fmt.Sprintf("ERROR: RW server count > 1 in multi-master mode. Please set slaves to RO"),

0 commit comments

Comments
 (0)