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

Ignite start hangs infinitely when sync preloading is cancelled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6
    • None
    • cache
    • None

    Description

      This case fires very rarely in TcpDiscoveryRestartTest.testRestart. Caches with SYNC rebalance mode are affected (system internal cache uses such mode). When starting instance is trying to preload partitions for such cache from another instance which stops around the same time, first instance could hang infinitely. When SYNC rebalance mode is enabled starting instance awaits on preload future in start routine. In another thread it starts fetching partitions and receives an error from stopping instance and cancels rebalance future but preload future is not cancelled.
      It is a bit tricky to reproduce case fairly. It is possible to reproduce the case using attached reproducer with adding some delay to GridDhtPartitionDemander.RebalanceFuture#checkIsDone(boolean) method.

      Attachments

        1. dump1.txt
          90 kB
          Ivan Pavlukhin
        2. ignite-26252679.0.log
          1.63 MB
          Ivan Pavlukhin
        3. IgniteStartStopRace.java
          3 kB
          Ivan Pavlukhin

        Activity

          People

            Unassigned Unassigned
            Pavlukhin Ivan Pavlukhin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: