You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Goncharuk (JIRA)" <ji...@apache.org> on 2018/05/03 13:39:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16462452#comment-16462452 ] 

Alexey Goncharuk commented on IGNITE-7112:
------------------------------------------

[~zstan], IGNITE-6827 is already merged to master, can you please check if the fix is still relevant?

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