horizonzy commented on code in PR #2931:
URL: https://github.com/apache/bookkeeper/pull/2931#discussion_r937823106
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicy.java:
##########
@@ -236,6 +236,28 @@ public BookieNode selectFromNetworkLocation(
}
}
+ @Override
+ public PlacementResult<List<BookieId>> replaceToAdherePlacementPolicy(
Review Comment:
Maybe we can list the kinds of replace result, and pick the "minimize"
result. We can pick the different start index to replace. such as start with
index0, start with index1, .... Finally, we pick the "minimize" replace result.
--
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]