Skip to content

fix: reduce scheduler standby log noise - #785

Merged
jhrozek merged 1 commit into
mainfrom
778
Sep 3, 2026
Merged

jhrozek merged 1 commit into
mainfrom
778

Conversation

@jhrozek

@jhrozek jhrozek commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • reduce scheduler standby INFO/WARN noise to state/heartbeat transitions
  • retain per-attempt DEBUG diagnostics and promotion visibility
  • add deterministic scheduler regression coverage
  • document the transition-based logging behavior

Fixes: #778

Verification

  • go test -race ./internal/adapter/scheduler/...
  • go test ./...
  • task test
  • task generate
  • go run ./cmd/mecademo
  • task lint / golangci-lint reported 0 issues; the overall lint command timed out during the subsequent go vet phase

Comment thread docs/architecture.md Resolved
Fixes: #778

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@jhrozek

jhrozek commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto latest main. Also trimmed the architecture.md addition per review feedback — replaced the multi-sentence explanation with a single concise line describing the rate-limited standby logging.

@jhrozek
jhrozek merged commit a9e1c43 into main Sep 3, 2026
23 checks passed
@jhrozek
jhrozek deleted the 778 branch September 3, 2026 09:54
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.

scheduler: standby replicas log leader-held at INFO on every acquire attempt, burying the log

2 participants