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

   > * Fixed concurrent write race condition: Changed 
testConcurrentContainsMessageWithWrites from concurrent writes to sequential 
writes with concurrent reads, matching real-world
   >   usage patterns where addMessage is called sequentially
   
   Is single threaded usage guaranteed within Pulsar? IIRC, there might be one 
thread performing an operation at a time, but Pulsar dispatchers execute on 
different threads depending on the scenario. 
   This could be simulated in a test where there's a thread pool of multiple 
threads, but the task would be executed on different thread each time.


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