codelipenghui opened a new issue #7161: URL: https://github.com/apache/pulsar/issues/7161
### Fix problems with managed-ledger properties. - It's not checking that there no other metadata operations in place. That will result in ZK bad version errors. - It's writing the metadata without updating the in-memory version that the managed ledger keeps. This will result in a managed ledger fenced error each time a property is set, forcing the topic to get closed. - Why do we need to re-read the metadata from store? We already have that metadata and its corresponding version in memory. - Finally, from the API is not clear what happens if there are already some properties and I just want to add a new one. ---------------------------------------------------------------- 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]
