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

Blake Bender updated GEODE-8408:
--------------------------------
    Priority: Minor  (was: Major)

> Do NOT ask for PR metadata for REPLICATE region
> -----------------------------------------------
>
>                 Key: GEODE-8408
>                 URL: https://issues.apache.org/jira/browse/GEODE-8408
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Blake Bender
>            Priority: Minor
>
> The Geode Native library will _always_ ask for PR metadata if the property 
> PRSingleHopEnabled is set to true for the pool.  In the case where the app 
> developer creates a REPLICATE region, then, and creates a pool with default 
> values, GN will ask for PR metadata and the server will throw a 
> ClassCastException and return the info in an EXCEPTION message back to the 
> client.  This is innocuous, since everything will then continue on normally, 
> but it's not great behavior.  Instead, we should be looking at the 
> `BucketCount` field of the `RESPONSE_CLIENT_PARTITION_ATTRIBUTES` message 
> from the server to determine what type of region we have.  If `BucketCount` 
> is -1, the region is a `REPLICATE` region, and we should not ask for metadata.



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

Reply via email to