lhotari opened a new pull request, #23894:
URL: https://github.com/apache/pulsar/pull/23894
Fixes #23505
### Motivation
See #23505. It is expected that dispatcherMaxReadSizeBytes also limits
replay queue reads. Replay reads are currently unbounded in byte size, which is
unexpected behavior.
### Modifications
- use `org.apache.bookkeeper.mledger.ManagedCursor#applyMaxSizeCap` also in
replay queue reads
- add test
- test uses #23892. That PR should be merged first to clean up the diff of
this PR.
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update
later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
--
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]