[
https://issues.apache.org/jira/browse/GEODE-8344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17172380#comment-17172380
]
ASF GitHub Bot commented on GEODE-8344:
---------------------------------------
alb3rtobr commented on pull request #628:
URL: https://github.com/apache/geode-native/pull/628#issuecomment-669938261
With the new integration test it is possible to reproduce the problem and
ensure it is solved.
These two logs messages can be found on test log:
```
Region::put: region [/region] created key [order], value [OrderID: 2 Product
Name: product y Quantity: 37]
Region::put: region [/region] created key [order], value
[PDX[28743191,com.example.Order]{name=product y,order_id=2,quantity=37}]
```
Without the GatewaySenderEventCallbackArgument class added to the code,
there is a deserialization exception when receiving the second event, so
instead of that message, this is one appears:
```
Exception while receiving subscription event for endpoint localhost:33829::
apache::geode::client::IllegalStateException: Unregistered type in
deserialization
```
As the event generated in cluster A is not deserialized correctly in cluster
B, it is not processed by the dummy cache listener implemented, and the test
case will fail with this error:
```
Expected equality of these values:
cacheListenerB->getNumEvents()
Which is: 0
1
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Deserialization error in multisite conf using CQs and C++ client
> ----------------------------------------------------------------
>
> Key: GEODE-8344
> URL: https://issues.apache.org/jira/browse/GEODE-8344
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Alberto Bustamante Reyes
> Assignee: Alberto Bustamante Reyes
> Priority: Major
> Labels: pull-request-available
>
> Im creating this ticket after this conversation in the dev list, so there is
> more information here: http://markmail.org/thread/u65gmb7zoxlpcqss
> h3. Setup:
> - Two sites
> - CQs configured
> - Using C++ client
> h3. Problem:
> It is observed that while CQ events from local site (the one that the client
> is connected to) are received, the one originated in remote servers are
> missing.
> After debugging it was observed there is an error in the logs, trying to
> deserialize fixedID = -135.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)