You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The get() method of the AsyncMap used in our app sometimes just times out without going into the callback handler. As a result we are not able to handle it in the callback handler. It looks like a silent failure and the get() call just hangs until the vertx times out.
Version
Current version under use is 3.9.13
Context
Our code is using the Zk-based AsyncMap as follow:
asyncMap.get(currentNodeId, new Handler<AsyncResult>() { @OverRide
public void handle(AsyncResult findNodeInfoResult) {
if (findNodeInfoResult.failed()) {
LOG.error("Failed to find nodeInfo by live node id {}", currentNodeId, findNodeInfoResult.cause());
} else {
LOG.debug("Fetched nodeInfo {} for {}.", findNodeInfoResult.result(), currentNodeId);
}
});
And through the log we can see sometimes the get() just fail silently and times out, neither the LOG.error(), nor the LOG.debug() can be seen in the server log. We were expecting in case of this, it should at least go to the failed() case and so we expect to see logs like LOG.error("Failed to find nodeInfo by live node id {}", currentNodeId, findNodeInfoResult.cause());
Wondering if this a known issue? Could you help to review and suggest best way to solve this?
The text was updated successfully, but these errors were encountered:
Questions
The get() method of the AsyncMap used in our app sometimes just times out without going into the callback handler. As a result we are not able to handle it in the callback handler. It looks like a silent failure and the get() call just hangs until the vertx times out.
Version
Current version under use is 3.9.13
Context
Our code is using the Zk-based AsyncMap as follow:
asyncMap.get(currentNodeId, new Handler<AsyncResult>() {
@OverRide
public void handle(AsyncResult findNodeInfoResult) {
if (findNodeInfoResult.failed()) {
LOG.error("Failed to find nodeInfo by live node id {}", currentNodeId, findNodeInfoResult.cause());
} else {
LOG.debug("Fetched nodeInfo {} for {}.", findNodeInfoResult.result(), currentNodeId);
}
});
And through the log we can see sometimes the get() just fail silently and times out, neither the LOG.error(), nor the LOG.debug() can be seen in the server log. We were expecting in case of this, it should at least go to the failed() case and so we expect to see logs like LOG.error("Failed to find nodeInfo by live node id {}", currentNodeId, findNodeInfoResult.cause());
Wondering if this a known issue? Could you help to review and suggest best way to solve this?
The text was updated successfully, but these errors were encountered: