mhansonp commented on a change in pull request #7124:
URL: https://github.com/apache/geode/pull/7124#discussion_r779955778
##########
File path:
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/rebalance/model/PartitionedRegionLoadModel.java
##########
@@ -468,6 +507,41 @@ public Move findBestTarget(Bucket bucket, boolean
checkIPAddress) {
return bestMove;
}
+ String getRedundancyZone(InternalDistributedMember memberID) {
+ assert (partitionedRegion != null);
Review comment:
This is a situation only a test should hit if it doesn't supply a
partitioned region. That said, I changed it to a throw from an assert based on
your. We know in advance this can be a problem so i am testing for it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]