ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanilovsky Evgeny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-7112) Non informative "Failed to wait for partition map exchange" message.
Date Tue, 05 Dec 2017 10:37:00 GMT
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)

Mime
View raw message