[
https://issues.apache.org/jira/browse/IGNITE-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16278464#comment-16278464
]
ASF GitHub Bot commented on IGNITE-7112:
----------------------------------------
GitHub user zstan opened a pull request:
https://github.com/apache/ignite/pull/3144
IGNITE-7112 More informative: Failed to wait PME
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-7112
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3144.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3144
----
commit d10bd69f79cbe943f015063406ba08eaae0be101
Author: Evgeny Stanilovskiy <[email protected]>
Date: 2017-12-05T12:20:28Z
IGNITE-7112 More informative: Failed to wait PME
----
> 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
> Fix For: 2.4
>
>
> 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)