shamrickus commented on a change in pull request #5309:
URL: https://github.com/apache/trafficcontrol/pull/5309#discussion_r527206513
##########
File path: traffic_monitor/health/cache.go
##########
@@ -322,7 +327,7 @@ func CalcAvailability(
Ipv6Available: availStatus.Available.IPv6,
})
- if available, ok :=
localStates.GetCache(tc.CacheName(result.ID)); !ok || !available.IsAvailable ||
!availStatus.ProcessedAvailable {
Review comment:
Originally this was `available.IsAvailable !=
availStatus.ProcessedAvailable` (4.1). I think it should use that instead of
`lastStatus`.
I'm not seeing a log entry when going from ADMIN_DOWN -> ONLINE and I assume
this is the reason.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]