[
https://issues.apache.org/jira/browse/GEODE-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960764#comment-15960764
]
ASF GitHub Bot commented on GEODE-1887:
---------------------------------------
GitHub user davinash opened a pull request:
https://github.com/apache/geode/pull/443
[GEODE-1887] #comment Fix for Client PROXY region should delegate all
operations to server
Fix for Client PROXY region should delegate all operations to server
- Resubmitting the PR.
- Separated the Test
- Ran Precheckin and no failures.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davinash/geode feature/GEODE-1887.II
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/geode/pull/443.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #443
----
commit 179878e6fca09a30a87dacf61d771bf5b05a51e5
Author: adongre <[email protected]>
Date: 2017-04-06T17:35:03Z
GEODE-1887: Now Size api goes through ServerProxy when cache is of type
client and DataPolicy is Empty.
commit 8b2184e044182acda3b5dba1417f7c02d5e75e2c
Author: adongre <[email protected]>
Date: 2017-04-07T12:31:31Z
GEODE-1887: Fixing Spotless errors.
----
> Client PROXY region should delegate all operations to server
> ------------------------------------------------------------
>
> Key: GEODE-1887
> URL: https://issues.apache.org/jira/browse/GEODE-1887
> Project: Geode
> Issue Type: Bug
> Components: regions
> Reporter: Swapnil Bawaskar
> Assignee: Avinash Dongre
>
> Currently a ClientRegionShortcut.PROXY region sends operations like put() and
> get() over to the server, but for operations like size() and isEmpty() it
> just consults the local state on the client and returns 0 and true
> respectively, even though there may be data in the servers for that region.
> A PROXY region should not attempt to consult its local state for any
> operation.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)