cornelk opened a new issue #213: Racy access of partitionProducer.state
URL: https://github.com/apache/pulsar-client-go/issues/213
 
 
   #### Expected behavior
   
   No data race.
   
   #### Actual behavior
   
   Panic in `TestDLQ` test due to data race: 
https://github.com/apache/pulsar-client-go/pull/212/checks?check_run_id=579812410
 
    
   The data access to partitionProducer.state is not thread-safe. 
`internalClose()` is setting it from a different goroutine than the readers.
   
   #### Steps to reproduce
   
   Run the ci tests in a loop.
   
   #### System configuration
   
   **Pulsar version**: 2.5
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to