[jboss-jira] [JBoss JIRA] Created: (JGRP-509) backoff-restart flush algorithm has a bug
Michael Newcomb (JIRA)
jira-events at lists.jboss.org
Fri May 11 14:32:55 EDT 2007
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: Bela Ban
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