[jboss-jira] [JBoss JIRA] Commented: (JGRP-539) FLUSH: incorrect set of messages after flush

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Jun 25 07:04:16 EDT 2007


    [ http://jira.jboss.com/jira/browse/JGRP-539?page=comments#action_12366631 ] 
            
Bela Ban commented on JGRP-539:
-------------------------------

Fixed by waiting (on Multiplexer.up(BLOCK)) until FIFOMessageQueue has no more tasks running (size() == 0). This allows messages which are currently processed by a thread from the thread pool to complete, and thus call put() on the Cache.

> FLUSH: incorrect set of messages after flush
> --------------------------------------------
>
>                 Key: JGRP-539
>                 URL: http://jira.jboss.com/jira/browse/JGRP-539
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Bela Ban
>         Assigned To: Vladimir Blagojevic
>             Fix For: 2.5
>
>
> MultiplexerTest.testVirtualSynchrony() creates 2 MuxChannels, then sends 10 messages to each (so each should have 20 messages total).
> The Channel.startFlush() is called, after 5 secs stopFlush() is called automatically. This returns true, an indication that flush succeeded. 
> However
> - we see messages being received *after* flush has run
> - we do not have the same and correct number of elements in both channels

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list