Skip to content

refactor(messagequeue): demote per-partition lease logs and drop duplicate store logs - #1141

Open
sbalabanov wants to merge 1 commit into
mainfrom
log/1d-mysql-queue-levels
Open

sbalabanov wants to merge 1 commit into
mainfrom
log/1d-mysql-queue-levels

Conversation

@sbalabanov

@sbalabanov sbalabanov commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

TLDR: The MySQL queue backend logs far less routine per-partition and per-message noise, and the remaining lines sit at more fitting levels.

Changes

  • Remove duplicate backend logs: inserting/inserted messages, message nacked/postponed, subscription created, acquired/released lease (the surrounding counters stay).
  • Log "fetched messages" only when at least one message was fetched.
  • "message not found for DLQ move" moves from Debug to Info.
  • "released idle partition lease" and "poll canceled while stopping partition worker" move from Info to Debug.
  • TestPartitionWorker_RunPollErrorLogging observes at Debug level and expects the stop-poll line at Debug.

Test Plan

  • make fmt, make lint, make check-gazelle, make check-tidy on a staged tree: pass.
  • bazel test //platform/extension/messagequeue/...: 4 of 4 pass.

🤖 Generated with Claude Code

…icate store logs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sbalabanov
sbalabanov force-pushed the log/1d-mysql-queue-levels branch from 10812cf to c4e781e Compare November 25, 2026 23:50
@sbalabanov
sbalabanov marked this pull request as ready for review November 25, 2026 23:51
@sbalabanov
sbalabanov requested review from a team as code owners November 25, 2026 23:51

This branch has not been deployed

No deployments
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.

1 participant