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

GMS: graceful leave takes a long time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.7
    • None
    • None

      Scenario:

      • A and B
      • B leaves gracefully
      • A leaves gracefully
      • It takes A GMS.leave_timeout ms to leave where the leave should be immediate

      Reason: we get a SUSPECT(B) event on A (see https://jira.jboss.org/jira/browse/JGRP-841) although B leaves gracfully. The GMS.ViewHandler has now a SUSPECT event in the queue, and we cannot leave until this event has been processed.

      SOLUTION:

      • Fix JGRP-841
      • Take a look at Channel.disconnect() and close(). Both call stopStack() regardless of whether it has already been called. This invoked stop() in all protocols, and GMS calls ViewHandler.stop(). This method doesn't check whether stop() has already been closed and adds a flush marked to the queue.

      This does not occur in the 2.6 branch.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: