This commit is contained in:
David.Noble@microsoft.com 2019-07-13 10:18:04 -07:00
Родитель 9c46eaa1d4
Коммит 95e147cc96
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -549,9 +549,10 @@ public final class RntbdClientChannelPool extends SimpleChannelPool {
channel.writeAndFlush(RntbdHealthCheckRequest.MESSAGE).addListener(completed -> {
if (completed.isSuccess()) {
reportIssueUnless(requestManager.hasRequestedRntbdContext(), logger, channel, "context request did not complete");
logger.info("\n Channel({})\n {}\n health check request succeeded", channel, requestManager.rntbdContext());
this.originalPromise.setSuccess(channel);
} else {
logger.warn("{} health check request failed due to:", channel, completed.cause());
logger.warn("Channel({}) health check request failed due to:", channel, completed.cause());
this.fail(completed.cause());
}
});