lhotari opened a new issue, #25103:
URL: https://github.com/apache/pulsar/issues/25103

   ### Search before reporting
   
   - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Read release policy
   
   - [x] I understand that [unsupported 
versions](https://pulsar.apache.org/contribute/release-policy/#supported-versions)
 don't get bug fixes. I will attempt to reproduce the issue on a supported 
version of Pulsar client and Pulsar broker.
   
   
   ### User environment
   
   master
   
   ### Issue Description
   
   The properties aren't accessed in a thread safe way in 
org.apache.bookkeeper.mledger.impl.ManagedCursorImpl#removeProperty
   
   
https://github.com/apache/pulsar/blob/3fb52c5d7494d4020956b7a26db5e9e721c7d555/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java#L521-L534
   
   The way to modify properties should be implemented in a similar way as it is 
in the putProperty method.
   
   
   
   ### Error messages
   
   ```text
   
   ```
   
   ### Reproducing the issue
   
   This issue was found by reading the code. Since it's a concurrency issue, it 
would require a concurrency test to reproduce.
   
   ### Additional information
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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