ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-7112) Non informative "Failed to wait for partition map exchange" message.
Date Fri, 19 Jan 2018 08:57:01 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Ozerov updated IGNITE-7112:
------------------------------------
    Fix Version/s:     (was: 2.4)
                   2.5

> 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: Semen Boikov
>            Priority: Minor
>             Fix For: 2.5
>
>
> 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
(v7.6.3#76005)

Mime
View raw message