Skip to content

Fix LedgerHandle batchReadUnconfirmedAsync: use slog log instead of LOG#4782

Merged
lhotari merged 1 commit intoapache:masterfrom
merlimat:fix-ledgerhandle-log
May 8, 2026
Merged

Fix LedgerHandle batchReadUnconfirmedAsync: use slog log instead of LOG#4782
lhotari merged 1 commit intoapache:masterfrom
merlimat:fix-ledgerhandle-log

Conversation

@merlimat
Copy link
Copy Markdown
Contributor

@merlimat merlimat commented May 7, 2026

Summary

The new `batchReadUnconfirmedAsync` method added in #4739 calls `LOG.error(...)`, but `LedgerHandle` was already migrated to slog and only has a lowercase `log` field. As a result, master fails to compile (`cannot find symbol: variable LOG`), which also blocks every open PR.

This change converts the call to the slog builder style used elsewhere in the same file.

Test plan

  • `mvn compile -pl bookkeeper-server` succeeds locally

The batchReadUnconfirmedAsync method added in apache#4739 calls LOG.error(...),
but LedgerHandle was migrated to slog and only has a lowercase `log`
field. Master fails to compile.

Convert the call to the slog builder style used elsewhere in the file.
Copy link
Copy Markdown
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lhotari lhotari merged commit a0231ed into apache:master May 8, 2026
34 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants