Blake Bender created GEODE-8408:
-----------------------------------
Summary: 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
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)