Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10513

Java client stucks when connects to server with slow disk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.8
    • general

    Description

      For emulating slow disk add sleep to partitions cycle in GridCacheDatabaseSharedManager#restorePartitionStates:

      //...
                  for (int i = 0; i < grp.affinity().partitions(); i++) {
                       try {
                           log.error("Wait");
                           Thread.sleep(10000);
                       } catch (InterruptedException e) {
                           e.printStackTrace();
                       }
      //...
      

      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)

      Attachments

        1. ignite-client.log
          8 kB
          Dmitry Lazurkin

        Issue Links

          Activity

            People

              ilyak Ilya Kasnacheev
              dmitry.lazurkin Dmitry Lazurkin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: