[ https://issues.apache.org/jira/browse/IGNITE-10513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16716790#comment-16716790 ]
Ilya Kasnacheev commented on IGNITE-10513: ------------------------------------------ [~dmitry.lazurkin] thank you for the contribution! It have been merged. > 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 > Fix For: 2.8 > > 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)