You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Donal Evans (Jira)" <ji...@apache.org> on 2021/01/15 20:39:00 UTC

[jira] [Comment Edited] (GEODE-8808) CQListener onEvent() not invoked when conserve-sockets = false

    [ https://issues.apache.org/jira/browse/GEODE-8808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266339#comment-17266339 ] 

Donal Evans edited comment on GEODE-8808 at 1/15/21, 8:38 PM:
--------------------------------------------------------------

The cause of this behaviour was that, due to conserve-sockets=false, it was possible for a consecutive create and destroy to arrive on and be processed by the server running the CQ out of order as each was processed by a separate thread (destroy first, then create). This caused a ConcurrentCacheModificationException to be thrown when trying to apply the create which resulted in the event not being applied and listeners not being invoked. This behaviour is as expected and no fix is needed.


was (Author: donalevans):
The cause of this behaviour was that, due to conserve-sockets=false, it was possible for a consecutive create and destroy to arrive on and be processed by the server running the CQ out of order (destroy first, then create). This caused a ConcurrentCacheModificationException to be thrown when trying to apply the create which resulted in the event not being applied and listeners not being invoked. This behaviour is as expected and no fix is needed.

> CQListener onEvent() not invoked when conserve-sockets = false
> --------------------------------------------------------------
>
>                 Key: GEODE-8808
>                 URL: https://issues.apache.org/jira/browse/GEODE-8808
>             Project: Geode
>          Issue Type: Bug
>          Components: cq
>            Reporter: Nabarun Nag
>            Assignee: Donal Evans
>            Priority: Major
>
> When {{conserve-sockets}} is false, the CQListener {{onEvent()}} is not invoked for some reason.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)