315157973 opened a new pull request #9850: URL: https://github.com/apache/pulsar/pull/9850
Fixes #9711 ### Motivation The policies of the namespace contains Map, and when we modify the Policies, the Map API will be called. If we use HashMap, it will cause thread safety issues. ### Modifications HashMap changed to ConcurrentHashMap ### Verifying this change After jackson serialization and deserialization, the type of map is still ConcurrentHashMap ---------------------------------------------------------------- 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]
