[jboss-jira] [JBoss JIRA] (JGRP-2324) TransferQueueBundler: view change must not purge messages to non-members

Bela Ban (Jira) issues at jboss.org
Thu Jan 10 07:36:00 EST 2019


Bela Ban created JGRP-2324:
------------------------------

             Summary: TransferQueueBundler: view change must not purge messages to non-members
                 Key: JGRP-2324
                 URL: https://issues.jboss.org/browse/JGRP-2324
             Project: JGroups
          Issue Type: Bug
            Reporter: Bela Ban
            Assignee: Bela Ban
             Fix For: 4.0.16


Currently, {{BaseBundler.viewChange()}} purges queued messages to non-members. This poses the following problem:
* Members A, B, view is \{A,B\}
* A is coord and sends a LEAVE request to B
* B adds a LEAVE response (to A) to the TransferQueueBundler's queue and  installs new view \{B\}
* If the LEAVE response to A is still in the TQB's queue and the new view is installed before the message gets sent, the {{BaseBundler.viewChange()}} method _removes_ all queued messages to non-members, therefore the LEAVE response is removed
* As a result, A will never receive the LEAVE response and therefore run into {{GMS.leave_timeout}}!



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list