hangc0276 opened a new pull request #3046:
URL: https://github.com/apache/bookkeeper/pull/3046


   ### Motivation
   In current JournalChannel implementation, it create fileChannelProvider 
instance every time, which is unnecessary.
   
https://github.com/apache/bookkeeper/blob/4debbbf84db09f80ffeb4154e8e6feed134be0c0/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/JournalChannel.java#L162
   
   ### Changes
   Create fileChannelProvider in Journal creation, avoiding call 
fileChannelProvider init multiple times.
   


-- 
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]


Reply via email to