thetumbled commented on PR #18390:
URL: https://github.com/apache/pulsar/pull/18390#issuecomment-1309899548

   > > Nice catch! And I think the 
`ConcurrentLongLongPairHashMap.Section#forEach` method may have the same 
problem. Could you help to confirm it?
   > > 
![image](https://user-images.githubusercontent.com/37220920/200840216-83868a6e-4af0-4610-b7d7-baa95e7fc009.png)
   
    i find that, even if there is any thread acquired write lock and trigger 
shrink/expand process, the local variable `table` will not be updated, so the 
index used in loop will not exceed the bound.
   
   


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