[jboss-jira] [JBoss JIRA] (JGRP-1783) FD_ALL2: new failure detection protocol without timestamps

Bela Ban (JIRA) issues at jboss.org
Fri Jan 24 06:08:29 EST 2014


     [ https://issues.jboss.org/browse/JGRP-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1783.
----------------------------

    Resolution: Done

    
> FD_ALL2: new failure detection protocol without timestamps
> ----------------------------------------------------------
>
>                 Key: JGRP-1783
>                 URL: https://issues.jboss.org/browse/JGRP-1783
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.5
>
>
> System.currentTimeMillis() is used frequently in FD_ALL. Here's the design of a new protocol that does without it:
> * boolean {{skip_heartbeat}}, {{heartbeat_received}} (per member)
> * Sender: when sending a multicast message, set {{skip_heartbeat}} to true if not true
> * Sender: send a (multicast) heartbeat every {{interval}} ms unless {{skip_heartbeat}} is true (set it to false if true)
> * Receiver: when receiving a message or heartbeat from sender P, set P's {{heartbeat_received}} to true (CAS operation)
> * Receiver: check heartbeats table every {{timeout}} ms. Suspect any member P whose {{heartbeat_received}} is false

--
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