Dmitry Lazurkin created IGNITE-10513:
----------------------------------------

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

Reply via email to