Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1024

Join and state transfer locks up entire cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6.12, 2.8
    • 2.6.9, 2.6.10, 2.6.11
    • None

      When a new node joins a cluster and requests a join-and-state-transfer, coordinator C receives a request and calls a startFlush (CoordGmsImpl.java:400). Call startFlush might fail to due timeout (see FLUSH#startFlush(List<Address> flushParticipants) ). This causes function to return false and a repeat of start flush to be issue by the caller. However, since switch flushInProgress is still true all repeated requests for start flush fail. On the other hand joining node goes into connect loop - it never receives a new view due to a failed flush at coordinator C and it never issues necessary stopFlush that would switch back flushInProgress to false. So coordinator C never comes out of stuck state and client stays in stuck state. The end result is that we have a lockup forever.

            vblagoje Vladimir Blagojevic (Inactive)
            vblagoje Vladimir Blagojevic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: