You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2017/10/24 21:21:40 UTC
[GitHub] sijie commented on a change in pull request #657: Use hash set with native ints for write set tracking
sijie commented on a change in pull request #657: Use hash set with native ints for write set tracking
URL: https://github.com/apache/bookkeeper/pull/657#discussion_r146696313
##########
File path: bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LocalBookieEnsemblePlacementPolicy.java
##########
@@ -88,14 +89,16 @@ public BookieSocketAddress replaceBookie(int ensembleSize, int writeQuorumSize,
}
@Override
- public List<Integer> reorderReadSequence(ArrayList<BookieSocketAddress> ensemble, List<Integer> writeSet,
- Map<BookieSocketAddress, Long> bookieFailureHistory) {
+ public IntArrayList reorderReadSequence(
Review comment:
I am fine with this, if it helps with performance - because the stability of this interface is `Evolving`. so it is okay to break the compatibility in minor release: https://github.com/apache/bookkeeper/blob/master/bookkeeper-common/src/main/java/org/apache/bookkeeper/common/annotation/InterfaceStability.java#L41
https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/EnsemblePlacementPolicy.java#L195
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services