Darrel Schneider created GEODE-1224:
---------------------------------------

             Summary: AttributesMutator.setCloningEnabled does not modify PR 
bucket regions
                 Key: GEODE-1224
                 URL: https://issues.apache.org/jira/browse/GEODE-1224
             Project: Geode
          Issue Type: Bug
          Components: regions
            Reporter: Darrel Schneider


PartitionedRegions are implemented with multiple BucketRegion. When the PR 
creates a bucket region it sets cloningEnabled on the bucket. But when 
AttributesMutator.setCloningEnabled is called it only changes the flag on the 
top level PR region and not on any of the buckets.

It is not clear if the BucketRegion cloningEnabled flag is ever used but since 
we do set it at bucket creation we should make it consistent when it is changed 
by the mutator.

To fix this it might make more sense to just change 
BucketRegion.getCloningEnabled to always call 
this.partitionedRegion.getCloningEnabled().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to