merlimat commented on issue #1527: Reduce un-necessary work when doing bundle 
lookup for partitioned topic
   @zhaijack I need to look well into this change, though I think it looks good.
   I believe since adding to the ownership map and the linked list are not 
atomic there still might be some operations done multiple times. 
   One other option could be to convert the `ownedBundlesCache` in 
`OwnershipCache` to use a `ConcurrentHashMap<String, 
   That's the same trick we use to load topic, ensuring only the first attempt 
triggers the load and subsequent attempts will just piggyback on it.

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:

With regards,
Apache Git Services

Reply via email to