Ryan McMahon created GEODE-6842:
-----------------------------------
Summary: 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
Reporter: Ryan McMahon
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)