apache / pulsar

Apache Pulsar - distributed pub-sub messaging system
https://pulsar.apache.org/
Apache License 2.0
14.1k stars 3.56k forks source link

[Transaction] One single TC unavailable cause transactional throughput down to 0. #23039

Open thetumbled opened 1 month ago

thetumbled commented 1 month ago

Search before asking

Motivation

Transaction module introduce multiple(default 16) TC to improve performance. However, if part of TC fail to recover, the throughput of all transactional client down to 0, though there are some TC able to serve for client. image

image

Solution

When there are some TC able to provide service, transactional client should seek service from these TC, instead of waiting for failed TC recovery.

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

thetumbled commented 1 month ago

Discuss link: https://lists.apache.org/thread/w965ygdgmn6yjpkp3lx23d3lo999tt88