hanmz commented on code in PR #21965:
URL: https://github.com/apache/pulsar/pull/21965#discussion_r1477295186
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentReplicator.java:
##########
@@ -334,6 +334,9 @@ public void sendComplete(Exception exception) {
log.error("[{}] Error producing on remote broker",
replicator.replicatorId, exception);
// cursor should be rewinded since it was incremented when
readMoreEntries
replicator.cursor.rewind();
+
+ replicator.cursor.cancelPendingReadRequest();
Review Comment:
Are there any concurrency issues here? Because the pending request is
handled in another thread
--
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]