[infinispan-issues] [JBoss JIRA] (ISPN-6314) ClusterTopologyManager.waitForJoinerView can wait forever

Dan Berindei (JIRA) issues at jboss.org
Fri Mar 4 08:45:01 EST 2016


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

Dan Berindei updated ISPN-6314:
-------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> ClusterTopologyManager.waitForJoinerView can wait forever
> ---------------------------------------------------------
>
>                 Key: ISPN-6314
>                 URL: https://issues.jboss.org/browse/ISPN-6314
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 8.2.0.CR1
>            Reporter: Pedro Ruivo
>            Assignee: Pedro Ruivo
>             Fix For: 8.2.0.Final
>
>
> this method uses {{TimeService.remainingTime()}} to calculate the time it needs to wait, returning zero is the time is expired. However, zero timeout in {{Object.wait()}} will indicate to wait forever. Avoid invoke the {{wait()}} is time is already expired.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list