Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8408

Do NOT ask for PR metadata for REPLICATE region

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • native client
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbender Blake Bender
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: