Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-434

Creating a new distributed cache on a non-coordinator node causes rehashing to hang

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.1.0.ALPHA3
    • Core
    • None
    • Hide

      1. C1 (coord) starts replicated cache
      2. C2 starts replicated cache
      3. C2 starts distributed cache
      4. C1 starts distributed cache

      Step 3 will hang until step 4 completes. So unless these happen in different threads - on different servers - this rehash will hang.

      Show
      1. C1 (coord) starts replicated cache 2. C2 starts replicated cache 3. C2 starts distributed cache 4. C1 starts distributed cache Step 3 will hang until step 4 completes. So unless these happen in different threads - on different servers - this rehash will hang.
    • Workaround Exists
    • Hide

      Does not affect if each node is in a separate VM or startup is independent of each other (such as on different threads).

      Show
      Does not affect if each node is in a separate VM or startup is independent of each other (such as on different threads).
    • High

      If a cluster is already formed (perhaps due to another cache instance being started, such as a replicated one) and subsequently a distributed cache is created and started, first on a non-coordinator node, the startup sequence will hang until the cache is also started on the coordinator.

      E.g.,

      1. C1 (coord) starts replicated cache
      2. C2 starts replicated cache
      3. C2 starts distributed cache
      4. C1 starts distributed cache

      Step 3 will hang until step 4 completes. So unless these happen in different threads - on different servers - this rehash will hang.

              manik_jira Manik Surtani (Inactive)
              manik_jira Manik Surtani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: