poorbarcode commented on PR #18491: URL: https://github.com/apache/pulsar/pull/18491#issuecomment-1318872660
Hi @BewareMyPower > We can avoid sleeping by calling redeliverUnacknowledgedMessages in the internal pinned executor. Yes, you are right. This is definitely a good idea, and I tried it in the previous [commit](https://github.com/apache/pulsar/pull/18491/commits/399d76ad4ca3f767411b4707a39584c669f15537), but it didn't make more present of failure than `sleep`, so I ended up using sleep instead. <img width="1288" alt="截屏2022-11-18 00 08 17" src="https://user-images.githubusercontent.com/25195800/202497743-89c076ac-8114-4196-bb0a-a82847bcab33.png"> Here's why:https://github.com/apache/pulsar/pull/18491#discussion_r1024337980 -- 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]
