[jboss-jira] [JBoss JIRA] Resolved: (JGRP-509) backoff-restart flush algorithm has a bug
Vladimir Blagojevic (JIRA)
jira-events at lists.jboss.org
Mon May 28 12:24:08 EDT 2007
[ http://jira.jboss.com/jira/browse/JGRP-509?page=all ]
Vladimir Blagojevic resolved JGRP-509.
--------------------------------------
Resolution: Done
Affected files:
FLUSH.java 1.54-->1.55
> backoff-restart flush algorithm has a bug
> -----------------------------------------
>
> Key: JGRP-509
> URL: http://jira.jboss.com/jira/browse/JGRP-509
> Project: JGroups
> Issue Type: Bug
> Reporter: Michael Newcomb
> Assigned To: Vladimir Blagojevic
> Fix For: 2.5
>
>
> Consider FLUSH.startFlush():
> If the timeout expires on the flush_promise, the backoff-sleep algorithm kicks in. This sleeps for a random time and then tries calls startFlush again. The problem is that between the time that the flush_promise times out and startFlush is re-issued, the flush could have completed successfully, but it would go unnoticed, because after Util.sleep completes, the flush_promise is reset.
> Recommend using the flush_promise.getResultWithTimeout(timeout) alone and not Util.sleep(). The group is just as operational during flush_promise.getResultWithTimeout(timeout) as in Util.sleep().
--
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