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

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Won't Do
    • 4.1.0.ALPHA3
    • None
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: