poorbarcode commented on PR #16841: URL: https://github.com/apache/pulsar/pull/16841#issuecomment-1198020631
Hi @codelipenghui > We have synchronized (pendingMarkDeleteOps) for both create cursor failure and `internalAsyncMarkDelete`, if triggered the ledger creation means the left thread got the lock and the right thread can only get the lock after the `mdEntry` is added to the `pendingMarkDeleteOps `, no? According to your tips, I found a new problem: see Flow-2 above. And I have modified the `Motivation`. @codelipenghui @Technoboy- @mattisonchao Could you review this PR again? -- 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]
