Skip to content

[improve][broker] Upgrade bookkeeper to 4.18.1 - #26574

Merged
merlimat merged 3 commits into
apache:masterfrom
StevenLuMT:branch-masrer_upgrade-bookkeeper-4.18.1
Sep 15, 2026
Merged

merlimat merged 3 commits into
apache:masterfrom
StevenLuMT:branch-masrer_upgrade-bookkeeper-4.18.1

Conversation

@StevenLuMT

Copy link
Copy Markdown
Member

Background

Upgrade bookkeeper to 4.18.1

Modifications

Upgrade bookkeeper to 4.18.1

Verifying this change

  • Make sure that the change passes the CI checks.
    This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: StevenLuMT#21

@merlimat
merlimat marked this pull request as ready for review September 14, 2026 04:01
BookKeeper 4.18.1 casts the main worker pool's threads to
ThreadBoundExecutor in the LedgerHandle constructor. The threads of an
OrderedScheduler do not implement it, so every mock ledger creation
failed with a ClassCastException that PulsarMockBookKeeper reported as
BKException -999 (UnexpectedCondition).

Give each test owner a separate OrderedExecutor for the mock BookKeeper
client, with the same lifecycle as its existing scheduler, which stays
in use for everything else.
@lhotari
lhotari marked this pull request as draft September 14, 2026 04:47
@merlimat
merlimat marked this pull request as ready for review September 15, 2026 16:52
@merlimat
merlimat merged commit 1759f73 into apache:master Sep 15, 2026
42 checks passed
dao-jun pushed a commit to ascentstream/pulsar that referenced this pull request Sep 20, 2026
Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 1759f73)
dao-jun pushed a commit to ascentstream/pulsar that referenced this pull request Sep 20, 2026
Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 1759f73)
dao-jun pushed a commit to ascentstream/pulsar that referenced this pull request Sep 20, 2026
Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 1759f73)
@lhotari lhotari added this to the 5.0.0 milestone Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants