michaeljmarshall opened a new pull request, #20747:
URL: https://github.com/apache/pulsar/pull/20747

   ### Motivation
   
   The `ServerCnx#closeProducer` method must be called from the `ServerCnx`'s 
netty executor because it modifies a `HashMap`.
   
   ### Modifications
   
   * Add an `assert` call to verify the correct thread calls the 
`closeProducer` method
   * Fix the cluster migration code that calls the `closeProducer` method
   
   ### Verifying this change
   
   The `ClusterMigrationTest` covers this change. It fails without the complete 
change.
   
   ### Documentation
   
   - [x] `doc-not-needed`


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