gaoran10 opened a new pull request #8563:
URL: https://github.com/apache/pulsar/pull/8563
### Motivation
Currently, the transaction metadata handlers start with pulsar client start,
but the handlers connect with the broker asynchronously, if the client restart,
the metadata handler may not be available.
### Modifications
Add the connection future for the metadata handler.
### Verifying this change
This change added tests and can be verified as follows:
-
*org.apache.pulsar.client.impl.TransactionEndToEndTest#txnMetadataHandlerRecoverTest*
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (no)
- The public API: (no)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]