forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improve][transaction] Optimize topic lookup when TC end tx. (apache#…
…14991) ### Motivation When TC ends tx, it has to look up the topic. The original way uses pulsar-client to do this. It will look up every topic. If using bundle cache to find the topic owner broker, it can avoid lookup every topic and then decrease the lookup time. ### Modifications - Using bundle cache to find the topic owner broker. If occurs an error, fall back to look up the topic. - Remove the topic cache, because using bundle cache, the original cache is useless.
- Loading branch information
1 parent
1cb4798
commit 46baae6
Showing
8 changed files
with
174 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.