geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiaojian zhou (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-2787) state flush did not wait for notifyGateway
Date Fri, 14 Apr 2017 22:24:41 GMT

     [ https://issues.apache.org/jira/browse/GEODE-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

xiaojian zhou updated GEODE-2787:
---------------------------------
    Labels: lucene  (was: )

> state flush did not wait for notifyGateway
> ------------------------------------------
>
>                 Key: GEODE-2787
>                 URL: https://issues.apache.org/jira/browse/GEODE-2787
>             Project: Geode
>          Issue Type: Bug
>            Reporter: xiaojian zhou
>              Labels: lucene
>
> When distribution happened, it calls startOperation() to increase a count, then call
an endOperation() to decrease the count. 
> state flush will wait for this count to become 0. 
> But notifyGateway() is called after distribute(). So there's race that stateflush finished
but notifyGateway has not done yet. 
> The fix is to move the endOperation() after callbacks. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message