void-ptr974
void-ptr974
I added a JMH benchmark branch to make the cache-size tradeoff easier to evaluate: https://github.com/void-ptr974/bookkeeper/tree/pr4732-last-entry-cache-benchmark The benchmark models the mixed workload this PR is targeting: - 10,000 ledgers - 128...
Thanks for the follow-up. I think adding the second check before `skipEntries` / `markDelete` is a good improvement. The original entry check only handles the case where the topic is...
At a higher level, moving stats reads away from the dispatcher lock looks like the right direction for this PR. The remaining concern is making sure the newly unsynchronized stats...
I verified this with a small Guava `TreeRangeMap` example. ```java RangeMap m = TreeRangeMap.create(); m.put(Range.closed(10L, 20L), "bucket"); Map sub = m.subRangeMap(Range.lessThan(15L)).asMapOfRanges(); Range clipped = sub.keySet().iterator().next(); System.out.println("original=" + m.asMapOfRanges()); System.out.println("sub=" +...
The fix looks reasonable to me. Could you please add tests to cover the startup failure path and verify that the expected non-OK exit code is preserved?
This PR intentionally does not include the O(1) `PendingAcksMap.size()` change from #26019. If #26019 is merged first, I will update this PR on top of it and keep the cached...
all CI pass in my local repo: https://github.com/void-ptr974/pulsar/actions/runs/26407472425
Hi @poorbarcode, this PR touches geo-replication V2 dedup watermark recovery and cleanup behavior. Since it is close to the geo-replicator lifecycle work you have been looking at, could you help...
Pushed `e823f0a01e8` with the review updates: - Split geo/shadow replication watermark recovery from normal producer sequence recovery during replay. - Added error logging for incomplete geo-replication watermark snapshot pairs. -...
Benchmark notes from the current draft PR: https://github.com/apache/pulsar/pull/26024 These numbers are intended to compare the current nested-map layout (`oldProduction`) with the draft primitive layout (`production`) in the same local run....