geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Oglesby (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GEODE-825) A client with subscriptions enabled receives an additional event when invoking get with a CacheLoader
Date Thu, 01 Dec 2016 01:03:58 GMT

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

Barry Oglesby resolved GEODE-825.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0-incubating

> A client with subscriptions enabled receives an additional event when invoking get with
a CacheLoader
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-825
>                 URL: https://issues.apache.org/jira/browse/GEODE-825
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server
>            Reporter: Barry Oglesby
>            Assignee: Barry Oglesby
>             Fix For: 1.0.0-incubating
>
>
> If a client with subscriptions enabled invokes get on a server that causes a CacheLoader
to be invoked, the client receives two events, namely a {{LOCAL_LOAD_CREATE}} from the local
put and a {{CREATE}} or {{INVALIDATE}} from the subscription channel. It should not receive
the subscription channel event.
> Here is an example of the events for a single client get:
> {noformat}
> Cache Client Updater Thread  on mymac(59131)<ec><v2>:1026 port 60830: TestListener
received INVALIDATE (1) for: 99
> main: TestListener received LOCAL_LOAD_CREATE (2) for: 99->Trade[id=99; cusip=VMW;
shares=100; price=95.0]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message