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

Ryan McMahon resolved GEODE-6842.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.0

> Possible ClassCastException in HAEventWrapper during concurrent client 
> registration and queue GII
> -------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6842
>                 URL: https://issues.apache.org/jira/browse/GEODE-6842
>             Project: Geode
>          Issue Type: Bug
>          Components: client queues, client/server
>    Affects Versions: 1.10.0
>            Reporter: Ryan McMahon
>            Assignee: Ryan McMahon
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> It is possible for a ClassCastException to be thrown if a client is 
> registering interest/CQ concurrently while a queue GII is being performed.  
> The issue is that the queued event (HAEventWrapper) can be mutated by the 
> client registration logic while it is in another client's queue, so if a GII 
> occurs it could be serialized while being mutated.  Specifically, the 
> CqNameToOpHashMap was shown to throw the exception on the deserialization 
> side, because of a map size/entries mismatch on the serialization side caused 
> by the race described above.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to