Technoboy- opened a new pull request, #15663:
URL: https://github.com/apache/pulsar/pull/15663
### Motivation
When trying to reproduce the problem of #15609 using the master's code, it
was found that the master also had this bug. The root cause is:
When there is only one ledger in the ManagedLedger, after the current ledger
is closed, it has the timestamp and exceeds the time set by the backlog-qutoa,
resulting in the failure to create the producer.
The added test could reproduce this.
So when there is only one ledger, we should not exclude it.
### Verifying this change
If revert this patch, the added test will fail.
### Documentation
- [x] `no-need-doc`
(Please explain why)
--
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]