ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lazurkin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-10513) Java client stucks when connects to server with slow disk
Date Mon, 03 Dec 2018 16:44:00 GMT
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)

Mime
View raw message