Skip to content

Comments

[slack-19.0]:[Direct PR] [release-21.0] Augment PrimaryStatus to also send Serve…#775

Merged
tanjinx merged 4 commits intoslack-19.0from
backport-primarystatus-rpc
Jan 22, 2026
Merged

[slack-19.0]:[Direct PR] [release-21.0] Augment PrimaryStatus to also send Serve…#775
tanjinx merged 4 commits intoslack-19.0from
backport-primarystatus-rpc

Conversation

@tanjinx
Copy link

@tanjinx tanjinx commented Jan 22, 2026

…r UUID (vitessio#17032)

Description

backport vitessio#17032 to support the upgrade from v19 to v22

Related Issue(s)

Checklist

  • "Backport to:" labels have been added if this change should be back-ported to release branches
  • If this change is to be back-ported to previous releases, a justification is included in the PR description
  • Tests were added or are not required
  • Did the new or modified tests pass consistently locally and on CI?
  • Documentation was added or is not required

Deployment Notes

AI Disclosure

@tanjinx tanjinx requested a review from a team as a code owner January 22, 2026 00:21
@salesforce-cla
Copy link

Thanks for the contribution! Before we can merge this, we need @GuptaManan100 to sign the Salesforce Inc. Contributor License Agreement.

@github-actions github-actions bot added this to the v19.0.7 milestone Jan 22, 2026
…r UUID (vitessio#17032)

Signed-off-by: Manan Gupta <manan@planetscale.com>
@tanjinx tanjinx force-pushed the backport-primarystatus-rpc branch from c1dcfe9 to 46de011 Compare January 22, 2026 00:26
ejortegau
ejortegau previously approved these changes Jan 22, 2026
Disable flaky tests:
- TestDownPrimaryPromotionRuleWithLag
- TestDownPrimaryPromotionRuleWithLagCrossCenter

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@tanjinx tanjinx force-pushed the backport-primarystatus-rpc branch 2 times, most recently from f1f447c to 708dc2b Compare January 22, 2026 18:21
Add two safeguards to prevent TestTabletInitialBackup from timing out:

1. Check if performance_schema.error_log table exists and is accessible
   before querying it for redo log error codes
2. Add a 10-second timeout for the verification loop to prevent indefinite
   waiting if the error codes never appear in the error_log

The performance_schema.error_log table requires MySQL 8.0.22+ and specific
configuration. Even when the table exists, it may not be configured to log
the redo log disable/enable events (MY-013600, MY-013601). If the
verification times out, it now logs a message and skips gracefully instead
of failing the entire test.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@tanjinx tanjinx force-pushed the backport-primarystatus-rpc branch from 708dc2b to bd987ce Compare January 22, 2026 18:44
Use assert.EventuallyWithT to wait for connection cleanup instead of
checking connCount and connSlow immediately after client disconnect.
The server's cleanup goroutine needs time to execute defer statements
that update these metrics.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@tanjinx tanjinx merged commit 59b47a1 into slack-19.0 Jan 22, 2026
167 of 174 checks passed
@tanjinx tanjinx deleted the backport-primarystatus-rpc branch January 22, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants