kerneltime commented on pull request #3245:
URL: https://github.com/apache/ozone/pull/3245#issuecomment-1082277796
Do we need to revisit the logging of unavailable threads? SCM should be
treated differently than Recon
`StateContext.java`
```
if (!isThreadPoolAvailable(service)) {
long count = threadPoolNotAvailableCount.incrementAndGet();
long unavailableTime = Time.monotonicNow() - lastHeartbeatSent.get();
if (unavailableTime > time && count % getLogWarnInterval(conf) == 0)
{
LOG.warn("No available thread in pool for the past {} seconds " +
"and {} times.", unit.toSeconds(unavailableTime), count);
}
return;
}
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]