zoneAwareResultTracker tracks the results per zone. All instances in a zone must succeed in order for the zone to succeed.
| 242 | // zoneAwareResultTracker tracks the results per zone. |
| 243 | // All instances in a zone must succeed in order for the zone to succeed. |
| 244 | type zoneAwareResultTracker struct { |
| 245 | waitingByZone map[string]int |
| 246 | failuresByZone map[string]int |
| 247 | minSuccessfulZones int |
| 248 | maxUnavailableZones int |
| 249 | zoneRelease map[string]chan struct{} |
| 250 | zoneShouldStart map[string]*atomic.Bool |
| 251 | pendingZones []string |
| 252 | zoneSorter ZoneSorter |
| 253 | logger log.Logger |
| 254 | } |
| 255 | |
| 256 | type ZoneSorter func(zones []string) []string |
| 257 |
nothing calls this directly
no outgoing calls
no test coverage detected