[improve][build] Upgrade slog to 0.10.0 - #26226
Merged
Merged
Conversation
Assisted-by: Claude Code with Fable 5
nodece
approved these changes
Jul 23, 2026
void-ptr974
approved these changes
Jul 23, 2026
lhotari
added a commit
that referenced
this pull request
Jul 23, 2026
(cherry picked from commit f51864c)
lhotari
added a commit
that referenced
this pull request
Jul 23, 2026
(cherry picked from commit f51864c)
sandeep-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jul 31, 2026
(cherry picked from commit f51864c)
sandeep-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jul 31, 2026
(cherry picked from commit f51864c)
sandeep-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jul 31, 2026
(cherry picked from commit f51864c)
nodece
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
Aug 28, 2026
(cherry picked from commit f51864c)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
slog 0.10.0 is a correctness and performance pass over the logging hot paths, relevant to how Pulsar uses it:
AsyncLoggerin full-async mode (AsyncLoggerContextSelector) instead of callingLoggerConfigdirectly, which silently ran appender I/O on the application threadAsyncLoggerConfigenqueues events by referencetimed(), touched-keys-only MDC save/restore in the SLF4J handler, flattened logger context (+14% throughput, −60% allocation on context-bearing events), no per-thread event pooling on virtual threads, interleaved attr array (80 → 64 B/op on the fluent path)Release notes: https://github.com/merlimat/slog/releases/tag/v0.10.0
Modifications
slogfrom 0.9.9 to 0.10.0 ingradle/libs.versions.toml. This also upgrades the transitive slog 0.9.9 pulled in bybookkeeper-common-allocator4.18.0 via the platform constraint.distribution/server/src/assemble/LICENSE.bin.txtanddistribution/shell/src/assemble/LICENSE.bin.txt.No code changes are needed; 0.10.0 has no API changes.
Verifying this change
This change is a trivial dependency upgrade without any test coverage. Verified locally with
./gradlew sanityCheck(all modules' main and test sources compile) andcheckBinaryLicensefor the server and shell distributions.Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes