[jboss-jira] [JBoss JIRA] (JGRP-1641) RSVP: passing up a message batch with some RSVP messages causes incorrect ordering
Bela Ban (JIRA)
jira-events at lists.jboss.org
Wed Jun 5 06:18:55 EDT 2013
Bela Ban created JGRP-1641:
------------------------------
Summary: RSVP: passing up a message batch with some RSVP messages causes incorrect ordering
Key: JGRP-1641
URL: https://issues.jboss.org/browse/JGRP-1641
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.3.1, 3.4
If we have a batch of messages 5-10 and message 7 is tagged as RSVP, then the logic in RSVP.up(MessageBatch) will do the following:
* Iterate through the batch
* If a message is marked as RSVP: remove it and pass it up (msg 7)
* The pass the batch up
* This means we'll pass up message 7 first, then messages 5,6,8,9,10
--> Incorrect order
SOLUTION:
* We cannot pass up RSVP messages directly
* Instead, remember the RSVP IDs of the messages in the batch which were marked as RSVP
* When done, send an RSVP response for each of these IDs
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list