ivankelly opened a new pull request #1575: Make each ensemble in ensemble list 
immutable
URL: https://github.com/apache/bookkeeper/pull/1575
 
 
   Previously, the ensemble list was a Map<Long, 
ArrayList<BookieSocketAddress>>.
   ArrayList is by definition mutable, so ensemble passed to metadata users are
   always mutable.
   
   This patch changes in ensembles in the list to be immutable. We were also 
leaking
   the implementation of ledger metadata to the placement policy, so this has 
been
   modified to use List<BookieSocketAddress> also.
   
   Master issue: #281
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to