You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/03/29 19:19:32 UTC
[GitHub] [ozone] kerneltime commented on pull request #3245: HDDS-5862. Datanode to Recon heartbeat interval independently configurable
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org