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

If the coordinator leaves while rebalancing is in progress, the new coordinator doesn't finish rebalancing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 5.2.0.Beta1
    • 5.2.0.Alpha4
    • State Transfer
    • None

    Description

      When the coordinator dies or otherwise leaves the cluster, the new coordinator recovers the cluster state and handles any new changes.

      However, if there was already a rebalance operation in progress, the new coordinator ignores the rebalance confirmations from the other members and doesn't install a balanced CH until there is another join/leave/etc. event for that cache.

      Normally this doesn't appear in our tests because the state transfer is quick and so the old coordinator is able to finish the rebalance caused by its own leave before shutting down. I did see it however in Query's MultiNodeDistributedTest.

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: