That should have said getLocalSize.

--
Mike Stolz
Principal Engineer - Gemfire Product Manager
Mobile: 631-835-4771
On Jan 4, 2017 8:22 AM, "Michael Stolz" <mst...@pivotal.io> wrote:

> Shouldn't CACHING_PROXY do the same?
>
> Then we would need get localize as well to be both consistent and complete.
>
> --
> Mike Stolz
> Principal Engineer - Gemfire Product Manager
> Mobile: 631-835-4771 <(631)%20835-4771>
> On Jan 4, 2017 12:14 AM, "ASF GitHub Bot (JIRA)" <j...@apache.org> wrote:
>
>>
>>     [ https://issues.apache.org/jira/browse/GEODE-1887?page=com.
>> atlassian.jira.plugin.system.issuetabpanels:comment-tabpane
>> l&focusedCommentId=15797197#comment-15797197 ]
>>
>> ASF GitHub Bot commented on GEODE-1887:
>> ---------------------------------------
>>
>> GitHub user davinash opened a pull request:
>>
>>     https://github.com/apache/geode/pull/329
>>
>>     [GEODE-1887] #comment Fix for Issue #1887
>>
>>     Issue : Client PROXY region should delegate all operations to server
>>
>>     1. If client and data policy is empty then size API goes through
>> ServerRegionProxy
>>     2. Wrote a test for Replicated and PR to verify size and isEmpty
>>     3. Precheckin complete
>>
>> You can merge this pull request into a Git repository by running:
>>
>>     $ git pull https://github.com/davinash/geode bugfix/GEODE-1887
>>
>> Alternatively you can review and apply these changes as the patch at:
>>
>>     https://github.com/apache/geode/pull/329.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 #329
>>
>> ----
>> commit ce639204a2d9e0fb7d1df464b5836c83ff041b7a
>> Author: adongre <adon...@apache.org>
>> Date:   2017-01-03T10:47:37Z
>>
>>     GEODE-1887: Now Size api goes through ServerProxy when cache is of
>> type client and DataPolicy is Empty.
>>     Added a test for both PR and Replicated regions.
>>
>> ----
>>
>>
>> > 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.4#6332)
>>
>

Reply via email to