geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Huynh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-2182) Possible race condition when estimating index size and an entry is destroyed
Date Mon, 05 Dec 2016 21:50:58 GMT
Jason Huynh created GEODE-2182:
----------------------------------

             Summary: Possible race condition when estimating index size and an entry is destroyed
                 Key: GEODE-2182
                 URL: https://issues.apache.org/jira/browse/GEODE-2182
             Project: Geode
          Issue Type: Bug
            Reporter: Jason Huynh


There is a possible race condition when estimating size of an index and an entry is destroyed.
 This doesnt get caught and instead percolates to the top as an EntryDestroyedException.

A quick work around would be to catch the exception and return 0, this may lead to an inefficient
lookup but the results would be correct.

The better alternative would be to continue iterating if possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message