poorbarcode opened a new pull request, #20303: URL: https://github.com/apache/pulsar/pull/20303
### Motivation #5358 Switched the thread to the metadata store thread. #13043 Add the feature `batch operation`, but after the batch is done, the thread is not switched back. Now, if we call `put /a`, it will use the `event thread` of the ZK client after the operation; but if we call `put /a/b/c`(the node `/a` is not exists), it will use the `metadata store thread` after the operation. ### Modifications Switch to the metadata store thread after the batch operation. ### 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: - x -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org