You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issues and found nothing similar.
Version
pulsar 2.9.2, bookkeeper 4.14.4
Minimal reproduce step
What did you expect to see?
Return normally, the task is executed normally
What did you see instead?
The BookKeeperClientWorker-OrderedExecutor-15-0 thread has been executing the getPositionAfterN method, and its thread pool task accumulation has reached more than 700,000
@keyboardbobo What's the value of startPosition? Is this issue reproducible?
@Technoboy-
I have restarted the service and can no longer see the value of startPosition. In the case of large traffic, the stress test can generally be reproduced for a day and a half, and the probability of recurrence is very high. It may be that one or more thread groups of an instance appear.
What value do you want to see, I will save it for you to see next time
@keyboardbobo What's the value of startPosition? Is this issue reproducible?
@Technoboy- I have restarted the service and can no longer see the value of startPosition. In the case of large traffic, the stress test can generally be reproduced for a day and a half, and the probability of recurrence is very high. It may be that one or more thread groups of an instance appear.
What value do you want to see, I will save it for you to see next time
Activity
[-]Unknown reason causes getPositionAfterN infinite loop[/-][+][BUG]Unknown reason causes getPositionAfterN infinite loop[/+]keyboardbobo commentedon Oct 8, 2022
@Technoboy-
Should the condition of
lastLedgerbe modified to :if (currentLedger != null && currentLedgerId
>=currentLedger.getId())Technoboy- commentedon Oct 8, 2022
Yes, I think so.
Technoboy- commentedon Oct 8, 2022
@keyboardbobo What's the value of
startPosition?Is this issue reproducible?
keyboardbobo commentedon Oct 9, 2022
@Technoboy-
I have restarted the service and can no longer see the value of startPosition. In the case of large traffic, the stress test can generally be reproduced for a day and a half, and the probability of recurrence is very high. It may be that one or more thread groups of an instance appear.
What value do you want to see, I will save it for you to see next time
Technoboy- commentedon Oct 9, 2022
Ok. I will push a fix for the current issue.