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

Pedro Ruivo (JIRA) issues at jboss.org
Thu Mar 3 08:49:00 EST 2016


Pedro Ruivo created ISPN-6314:
---------------------------------

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