You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Gura (JIRA)" <ji...@apache.org> on 2018/04/18 12:43:00 UTC

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

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

Andrey Gura updated IGNITE-7112:
--------------------------------
    Fix Version/s:     (was: 2.5)
                   2.6

> 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.6
>
>
> 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)