[
https://issues.apache.org/jira/browse/GEODE-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15271222#comment-15271222
]
Scott Jewell commented on GEODE-1224:
-------------------------------------
Have verified that this is a problem for EntryEventImpl which is checking the
BucketRegion's clongingEnabled flag to determine if a clone should or should
not be made. BucketRegion get and set cloning methods have been modified to
call the partitioned regions get/set to ensure consistent results are returned
for the partitioned region and all of it's buckets.
PRDeltaPorpagationDUnitTest is being updated to verify proper behavior of
get/set cloning methods for partitioned regions and their buckets.
> 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
> Assignee: Scott Jewell
>
> 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)