codelipenghui commented on PR #18462:
URL: https://github.com/apache/pulsar/pull/18462#issuecomment-1314730458
@Technoboy- I think the right fix should change
```java
public void redeliverUnacknowledgedMessages() {
try {
internalRedeliverUnacknowledgedMessages().get();
} catch (ExecutionException e) {
throw e.getCause();
}
}
```
to
```java
public void redeliverUnacknowledgedMessages() {
internalRedeliverUnacknowledgedMessages();
}
```
I'm afraid we will introduce a potential race condition issue if we remove
the `internalPinnedExecutor` for internalRedeliverUnacknowledgedMessages
--
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]