-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60874/#review180569
-----------------------------------------------------------




geode-core/src/main/java/org/apache/geode/internal/cache/AbstractRegionMap.java
Lines 2515 (patched)
<https://reviews.apache.org/r/60874/#comment255774>

    You need to do this part "Token.isRemoved(re.getValueAsToken())" inside 
"synchronized(re)".
    By doing it outside the sync it allows it to still be true once you get 
inside the sync.


- Darrel Schneider


On July 14, 2017, 10:13 a.m., Eric Shu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60874/
> -----------------------------------------------------------
> 
> (Updated July 14, 2017, 10:13 a.m.)
> 
> 
> Review request for geode, anilkumar gingade, Darrel Schneider, Lynn Gallinat, 
> and Nick Reich.
> 
> 
> Bugs: GEODE-3204
>     https://issues.apache.org/jira/browse/GEODE-3204
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> txApplyInvalidate no longer modify region entry with a removed token.
> 
> 
> Diffs
> -----
> 
>   
> geode-core/src/main/java/org/apache/geode/internal/cache/AbstractRegionMap.java
>  7f12eab 
>   
> geode-core/src/test/java/org/apache/geode/internal/cache/AbstractRegionMapTest.java
>  60b93a9 
> 
> 
> Diff: https://reviews.apache.org/r/60874/diff/1/
> 
> 
> Testing
> -------
> 
> precheckin.
> 
> 
> Thanks,
> 
> Eric Shu
> 
>

Reply via email to