if send flow failed the availablePermits should not be set to 0
Tell us what should happen
if send flow failed availablePermits should continue to add, then the next time we continue send flow , but now, we set availablePermits to 0, the next time we will not send flow, because conditions not satisfied, it maybe never send flow, then the 'select' will have no satisfied 'case', the process stuck.
Actual behavior
Tell us what happens instead
Steps to reproduce
How can we reproduce the issue
I think we should set availablePermits to 0 ,when send flow success.
Expected behavior
if send flow failed the availablePermits should not be set to 0 Tell us what should happen if send flow failed availablePermits should continue to add, then the next time we continue send flow , but now, we set availablePermits to 0, the next time we will not send flow, because conditions not satisfied, it maybe never send flow, then the 'select' will have no satisfied 'case', the process stuck.
Actual behavior
Tell us what happens instead
Steps to reproduce
How can we reproduce the issue I think we should set availablePermits to 0 ,when send flow success.
System configuration
Pulsar version: 2.9.0