[ https://issues.apache.org/jira/browse/IGNITE-10513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16707509#comment-16707509 ]
ASF GitHub Bot commented on IGNITE-10513: ----------------------------------------- GitHub user laz2 opened a pull request: https://github.com/apache/ignite/pull/5557 IGNITE-10513 Fix NullPointerException on reconnect You can merge this pull request into a Git repository by running: $ git pull https://github.com/laz2/ignite ignite-10513 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/5557.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 #5557 ---- commit 6d59979f40fc5307b229708d740768e39f996b1b Author: Dmitry Lazurkin <dilaz03@...> Date: 2018-12-03T16:46:10Z IGNITE-10513 Fix NullPointerException on reconnect ---- > Java client stucks when connects to server with slow disk > --------------------------------------------------------- > > Key: IGNITE-10513 > URL: https://issues.apache.org/jira/browse/IGNITE-10513 > Project: Ignite > Issue Type: Bug > Components: general > Affects Versions: 2.6 > Reporter: Dmitry Lazurkin > Priority: Major > Attachments: ignite-client.log > > > For emulating slow disk add _sleep_ to partitions cycle in > _GridCacheDatabaseSharedManager#restorePartitionStates_: > {noformat} > //... > for (int i = 0; i < grp.affinity().partitions(); i++) { > try { > log.error("Wait"); > Thread.sleep(10000); > } catch (InterruptedException e) { > e.printStackTrace(); > } > //... > {noformat} > My server has 1024 partitions. > Steps to reproduce: > * Start server > * Start client > * On client wait message "Join cluster while cluster state transition is in > progress, waiting when transition finish." > * Kill server > * On client wait repeatable java.net.ConnectException: Connection refused > (Connection refused) > * Start server (I have 100% chance to reproduce issue on my computer) -- This message was sent by Atlassian JIRA (v7.6.3#76005)