lhotari commented on PR #24955:
URL: https://github.com/apache/pulsar/pull/24955#issuecomment-3501143245

   > @lhotari changed to `Collections.synchronizedList(new ArrayList<>())`, 
please take a look
   
   It's necessary to implement 
https://github.com/apache/pulsar/blob/186b503579f67bc0eaffc99a7e45026e5c3116ab/testmocks/src/main/java/org/apache/bookkeeper/client/PulsarMockLedgerHandle.java#L232-L240
 using a counter. The ConcurrentModificationException won't get fixed with 
synchronized list. It's not a large change to do so.
   
   


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