devinbost opened a new pull request #10425: URL: https://github.com/apache/pulsar/pull/10425
Several methods on the PersistentReplicator are accessing & modifying volatile fields (e.g. `readBatchSize`) and triggering/scheduling calls to `readMoreEntries()` without synchronization. This PR fixes that and should improve the stability when replication is involved. It should also help ensure that permits are still valid when triggering readEntries. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
