Skip to content

[improve][broker] Upgrade bookkeeper to 4.17.4 - #26211

Closed
StevenLuMT wants to merge 201 commits into
apache:masterfrom
StevenLuMT:upgrade-bookkeeper-4.17.4
Closed

[improve][broker] Upgrade bookkeeper to 4.17.4#26211
StevenLuMT wants to merge 201 commits into
apache:masterfrom
StevenLuMT:upgrade-bookkeeper-4.17.4

Conversation

@StevenLuMT

Copy link
Copy Markdown
Member

Background

Upgrade bookkeeper to 4.17.4

Modifications

Upgrade bookkeeper to 4.17.4

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#17

lhotari and others added 30 commits March 24, 2026 19:03
…solution with fallback to localhost (apache#25238)" (apache#25523)

(cherry picked from commit 352147b)
Signed-off-by: Lari Hotari <lhotari@apache.org>
…6-34478, CVE-2026-34480, CVE-2026-34481

Upgrades org.apache.logging.log4j:* from 2.25.3 to 2.25.4 to fix:
- CVE-2026-34477: verifyHostName attribute silently ignored in TLS configuration
- CVE-2026-34478: log injection in Rfc5424Layout due to silent configuration incompatibility
- CVE-2026-34480: XmlLayout fails to sanitize characters forbidden by XML 1.0
- CVE-2026-34481: JsonTemplateLayout produces invalid JSON for non-finite floats

(cherry picked from commit dfb06f1)
Co-authored-by: Lari Hotari <lhotari@users.noreply.github.com>
(cherry picked from commit 20a380a)
…on cache lookup (apache#25367)

### Motivation

`TopicName.get()` previously used `ConcurrentHashMap.computeIfAbsent()` to populate the topic-name cache. Although `computeIfAbsent` is atomic, it holds the internal bin-lock for the entire duration of the mapping function, which includes the non-trivial `TopicName` construction (string splitting, validation, etc.).

Under high-concurrency workloads where many threads simultaneously encounter the same uncached topic name, this causes unnecessary lock contention and can degrade throughput.

### Modifications

Replace `computeIfAbsent` with an explicit two-step pattern:

1. **Fast path**: call `cache.get(topic)` first — a single volatile read with no locking — and return immediately on a cache hit (steady-state case).
2. **Slow path** (cache miss): construct `TopicName` *outside* the lock, then use `cache.put()` to insert.

(cherry picked from commit 8c4e83d)
…ache#25272)

Co-authored-by: 张浩 <zhanghao60@100.me>
(cherry picked from commit 8e37e3e)
…e#25198 exclusion

- lz4 compression with Kafka would break without this change
…teSameNamedProducerShouldFail (apache#25497)

(cherry picked from commit 7ce8a8c)
…ests: PulsarClientException$AlreadyClosedException: Client already closed (apache#25509)

(cherry picked from commit bf45974)
lhotari and others added 22 commits June 29, 2026 21:48
…d gate the policy replay (apache#26134)

(cherry picked from commit 0629dc5)
…untime manager (apache#26136)

Signed-off-by: Dream95 <zhou_8621@163.com>
(cherry picked from commit 7a40ada)
…/pulsar-function-go (apache#26142)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lari Hotari <lhotari@apache.org>
(cherry picked from commit 055882b)
…ata-store URIs (apache#26150)

Co-authored-by: void-ptr974 <void-ptr974@protonmail.com>
… metadata backend (apache#26158)

Co-authored-by: ievgenpolozhenkov <ievgenpolozhenkov@geotab.com>
(cherry picked from commit 8d5cac6)
Assisted-by: Claude Code (Opus 4.8)
@merlimat

Copy link
Copy Markdown
Contributor

@StevenLuMT BK is already at 4.18 in master branch

@lhotari

lhotari commented Jul 19, 2026

Copy link
Copy Markdown
Member

@StevenLuMT please create a PR for branch-4.2

@StevenLuMT

Copy link
Copy Markdown
Member Author

@StevenLuMT BK is already at 4.18 in master branch

Got it

@StevenLuMT
StevenLuMT force-pushed the upgrade-bookkeeper-4.17.4 branch from 031f580 to 64fc12b Compare July 21, 2026 05:16
@github-actions github-actions Bot added the PIP label Jul 21, 2026
@StevenLuMT StevenLuMT closed this Jul 21, 2026
@StevenLuMT

Copy link
Copy Markdown
Member Author

new created pr: #26219

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.