We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06640a7 commit 886113eCopy full SHA for 886113e
pbm/topo/topo.go
@@ -107,7 +107,6 @@ func collectTopoCheckErrors(
107
108
hosts := strings.Split(uri, ",")
109
members := make(map[NodeURI][]error, len(hosts))
110
- anyAvail := false
111
for _, host := range hosts {
112
a, ok := agents[host]
113
if !ok || a.Arbiter || a.Passive {
@@ -131,16 +130,9 @@ func collectTopoCheckErrors(
131
130
}
132
133
members[host] = errs
134
- if len(errs) == 0 {
135
- anyAvail = true
136
- }
137
138
139
rv.Replsets[rsName] = members
140
-
141
- if !anyAvail {
142
- rv.Missed = append(rv.Missed, rsName)
143
144
145
146
if rv.hasError() {
0 commit comments