You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ryan McMahon (JIRA)" <ji...@apache.org> on 2019/06/06 20:01:00 UTC

[jira] [Updated] (GEODE-6842) Possible ClassCastException in HAEventWrapper during concurrent client registration and queue GII

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

Ryan McMahon updated GEODE-6842:
--------------------------------
    Affects 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
>            Priority: Major
>
> 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)