geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-1800) StoppableCondition has faulty code in await()
Date Fri, 19 Aug 2016 21:32:20 GMT


ASF subversion and git services commented on GEODE-1800:

Commit 88b561d64dc328ca2cf9d36ea4a94bc58d80ff19 in incubator-geode's branch refs/heads/develop
from [~bschuchardt]
[;h=88b561d ]

GEODE-1800 StoppableCondition has faulty code in await()

The faulty methods in StoppableCondition have been removed.  I considered
removing StoppableCondition entirely and just using a Condition on the lock
wrapped by the Stoppable lock class but doing so would require additional work
to make the CancelCriterion available to the code that uses these
StoppableConditions, so other than removing the methods I've left the class

> StoppableCondition has faulty code in await()
> ---------------------------------------------
>                 Key: GEODE-1800
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: general
>            Reporter: Bruce Schuchardt
> StoppableCondition.await() loops invoking await(long).  This can loop indefinitely if
the first invocation of await(long) times out.  We need to remove this method and replace
all uses with await(long).

This message was sent by Atlassian JIRA

View raw message