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

Joris Melchior reassigned GEODE-9261:
-------------------------------------

    Assignee: Joris Melchior

> Fix PartitionedRegionClearWithConcurrentOperationsDUnitTest 
> validateRegionVersionVectorsConsistency
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-9261
>                 URL: https://issues.apache.org/jira/browse/GEODE-9261
>             Project: Geode
>          Issue Type: Sub-task
>          Components: regions
>            Reporter: Kirk Lund
>            Assignee: Joris Melchior
>            Priority: Major
>              Labels: GeodeOperationAPI
>
> The validateRegionVersionVectorsConsistency method should be fixed to fetch 
> rvv2Members from rvv2 instead of rvv1. Unfortunately, the validation breaks 
> if this change is made. The test needs to be fixed and the underlying problem 
> needs to be identified and fixed before GEODE-7665 can be merged to develop.
> {noformat}
>   /**
>    * Asserts that the RegionVersionVectors for both buckets are consistent.
>    *
>    * @param bucketId Id of the bucket to compare.
>    * @param bucketDump1 First bucketDump.
>    * @param bucketDump2 Second bucketDump.
>    */
>   private void validateRegionVersionVectorsConsistency(int bucketId, 
> BucketDump bucketDump1,
>       BucketDump bucketDump2) {
>     RegionVersionVector<?> rvv1 = bucketDump1.getRvv();
>     RegionVersionVector<?> rvv2 = bucketDump2.getRvv();
>     Map<VersionSource<?>, RegionVersionHolder<?>> rvv2Members =
>         new HashMap<>(rvv1.getMemberToVersion()); // TODO: getting 
> rvv2Members from rvv1 is wrong
>     Map<VersionSource<?>, RegionVersionHolder<?>> rvv1Members =
>         new HashMap<>(rvv1.getMemberToVersion());
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to