congbobo184 commented on PR #19201: URL: https://github.com/apache/pulsar/pull/19201#issuecomment-1383197970
@thetumbled https://github.com/apache/pulsar/blob/246c2701e5c43e02e9783c82d4d107d06b019951/pulsar-broker/src/main/java/org/apache/pulsar/broker/TransactionMetadataStoreService.java#L136-L137 the future `thenAccept` change the executing thread, so the problem has never been truth fixed. so its better to change code like this can slove this problem ``` openTransactionMetadataStore(tcId).thenAccept((store) -> { stores.put(tcId, store); internalPinnedExecutor.execute(() -> { ``` -- 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]
