aloyszhang commented on PR #18293: URL: https://github.com/apache/pulsar/pull/18293#issuecomment-1311163670
<img width="930" alt="image" src="https://user-images.githubusercontent.com/48062889/201251077-92c527e5-3869-4491-99be-d3e85d424913.png"> @codelipenghui This is another problem. The root cause is the concurrent access to zookeeper. Before updating the `schemaLocator` on zk, it reads zk again. The purpose is to obtain the content of the existing locator to build the index information of the new locator, and the version will be +1. If other threads updated the locator just before this point, it directly adds the position information of a new schema entry to the locator without exist check -- 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]
