You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Stanilovsky Evgeny (JIRA)" <ji...@apache.org> on 2017/12/05 10:37:00 UTC

[jira] [Created] (IGNITE-7112) Non informative "Failed to wait for partition map exchange" message.

Stanilovsky Evgeny created IGNITE-7112:
------------------------------------------

             Summary: Non informative "Failed to wait for partition map exchange" message.
                 Key: IGNITE-7112
                 URL: https://issues.apache.org/jira/browse/IGNITE-7112
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.3
            Reporter: Stanilovsky Evgeny
            Assignee: Stanilovsky Evgeny
            Priority: Minor


Eventually can be observed "Failed to wait for partition map exchange" with no further detalization info, due to code below.
{code:java}
final long futTimeout = 2 * cctx.gridConfig().getNetworkTimeout();

long nextDumpTime = 0;

while (true) {
    try {
        resVer = exchFut.get(futTimeout, TimeUnit.MILLISECONDS);

        break;
    }
catch (IgniteFutureTimeoutCheckedException ignored) {
U.warn(diagnosticLog, "Failed to wait for partition map exchange [" +
...
if (nextDumpTime <= U.currentTimeMillis()) {
    try {
        dumpDebugInfo(exchFut);
    }
    catch (Exception e) {
        U.error(diagnosticLog, "Failed to dump debug information: " + e, e);
    }
    nextDumpTime = U.currentTimeMillis() + nextDumpTimeout(dumpCnt++, futTimeout);
}
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)