poorbarcode opened a new pull request, #19825: URL: https://github.com/apache/pulsar/pull/19825
### Motivation If the same cursor is deleted concurrently due to multiple tasks, it will return a failure even if the deletion succeeded. Such a task has these: - cancel geo-replication will trigger the delete operation of the cursor `rep.x` - cancel the dedup task will trigger the delete operation of the cursor `dedup` - unsubscribe - delete topic If the task `delete topic` and the above three tasks are concurrent, it will fail. ### Modifications When deleting the zk node of the cursor, if exception `MetadataStoreException.NotFoundException` occurs, the deletion is considered successful ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> ### Matching PR in forked repository PR in forked repository: - https://github.com/poorbarcode/pulsar/pull/77 -- 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]
