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 2018/04/27 23:38:02 UTC

[GitHub] sijie opened a new pull request #1372: OrderedScheduler#chooseThread(key) handle null key

sijie opened a new pull request #1372: OrderedScheduler#chooseThread(key) handle null key
URL: https://github.com/apache/bookkeeper/pull/1372
 
 
   Descriptions of the changes in this PR:
   
   *Motivation*
   
   It is more convenient if OrderedScheduler#chooseThread(key) can handle null key. so the applications who is using #chooseThread don't need to worry which method to choose - `chooseThread()` vs `chooseThread(key)`.
   
   *Solution*
   
   in `chooseThread(key)`, fallback to randomly pickup a thread if key is null.
   
   

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