fix(stake-table): quiet spammy stake table warnings#4599
Conversation
- Lower per-validator "no delegator"/"no stake" logs from info to debug - Make insert_stake_table idempotent via ON CONFLICT (epoch) DO NOTHING The epoch insert had no conflict handling, so re-recording an already cached epoch hit the UNIQUE constraint and retried 5x under WRITE_BACKOFF, emitting repeated WARN spam for a permanent, benign condition.
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. |
Nextest failures (1) in this run
See the step summary for flaky tests and slowest tests. |
|
Claude finished @sveitser's task in 1m 23s —— View job Code Review: fix(stake-table): quiet spammy stake table warnings
Clean, well-scoped fix. Both changes are correct and the test is appropriate.
No issues found. LGTM. |
|
Successfully created backport PR for |
…ake table warnings (#4620) fix(stake-table): quiet spammy stake table warnings (#4599) - Lower per-validator "no delegator"/"no stake" logs from info to debug - Make insert_stake_table idempotent via ON CONFLICT (epoch) DO NOTHING The epoch insert had no conflict handling, so re-recording an already cached epoch hit the UNIQUE constraint and retried 5x under WRITE_BACKOFF, emitting repeated WARN spam for a permanent, benign condition. (cherry picked from commit 68f0a10) Co-authored-by: Mathis <mathis@espressosys.com>
The epoch insert had no conflict handling, so re-recording an already cached epoch hit the UNIQUE constraint and retried 5x under WRITE_BACKOFF, emitting repeated WARN spam for a permanent, benign condition.