Denovo1998 opened a new pull request, #25384:
URL: https://github.com/apache/pulsar/pull/25384

   PIP: N/A
   
   ### Motivation
   
   PR #24739 currently mixes correctness and threading changes with benchmark 
and testability refactors, which makes the review difficult to scope. This 
preparatory PR extracts the delayed delivery tracker context that is needed to 
construct trackers without a real dispatcher, so the benchmark and test 
scaffolding can be reviewed separately. The goal is to keep the existing 
production behavior intact while making the tracker setup reusable from 
microbench code.
   
   ### Modifications
   
   - introduce `DelayedDeliveryContext` plus dispatcher-backed and no-op 
implementations for delayed delivery trackers
   - add context-based and name+cursor-based constructors to the delayed 
delivery trackers, while keeping the existing dispatcher-based production entry 
points intact
   - update the delayed delivery tracker factories to expose benchmark/test 
construction helpers without changing the production factory flow
   - make `MockManagedCursor` public for microbench usage and switch the JMH 
benchmark setup to the new context-based tracker construction
   - add `MockBucketSnapshotStorage`, add the new 
`BucketDelayedDeliveryTrackerBenchmark`, and remove the old simple benchmark
   
   Related PR: #24739


-- 
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]

Reply via email to