Skip to content

Bump Vitess image to v23#3784

Merged
aparajon merged 2 commits into
masterfrom
armand/vitess-v23-bump
Apr 17, 2026
Merged

Bump Vitess image to v23#3784
aparajon merged 2 commits into
masterfrom
armand/vitess-v23-bump

Conversation

@aparajon
Copy link
Copy Markdown
Collaborator

@aparajon aparajon commented Apr 15, 2026

Why

Vitess v23 includes vitessio/vitess#18173 which changes transaction_mode=SINGLE semantics:

  • v22: All multi-shard transactions rejected (reads and writes)
  • v23: Only multi-shard writes rejected; multi-shard reads allowed

This is needed for services adopting TransactionMode.SINGLE for cross-shard write detection. Without v23, read-only transactions that touch multiple shards produce false positives.

What

  • Bump VITESS_IMAGE from v22.0.4-mysql84 to v23.0.3-mysql84
  • Bump VTCTLD_CLIENT_IMAGE from v22.0.4 to v23.0.3
  • Add platform fallback for Docker pull: try native first, fall back to linux/amd64 if no matching manifest (Vitess doesn't publish ARM images; enables Rosetta emulation on Apple Silicon)
  • Update VitessTransactionModeIntegrationTest for v23 semantics

Generated with Claude Code

@aparajon aparajon force-pushed the armand/vitess-v23-bump branch 3 times, most recently from 9fa982c to cee3d6c Compare April 16, 2026 18:49
Upgrade VitessTestDb from v22.0.4 to v23.0.3. v23 includes
vitessio/vitess#18173 which changes SINGLE transaction mode semantics:

- v22: ALL multi-shard transactions rejected (reads and writes)
- v23: Multi-shard reads allowed; only multi-shard writes rejected

Changes:
- Bump VITESS_IMAGE to v23.0.3-mysql84 and VTCTLD_CLIENT_IMAGE to v23.0.3
- Add platform fallback to linux/amd64 for Docker pull (Vitess does not
  publish ARM images; this enables transparent Rosetta emulation on
  Apple Silicon without breaking when ARM images are eventually published)
- Update VitessTransactionModeIntegrationTest: cross-shard reads now
  succeed in SINGLE mode; multi-shard writes still fail

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aparajon aparajon force-pushed the armand/vitess-v23-bump branch from cee3d6c to a396557 Compare April 16, 2026 19:04
@aparajon aparajon changed the title Bump Vitess test image to v23 Bump VitessTestDb to v23 (allows multi-shard reads in SINGLE mode) Apr 16, 2026
@aparajon aparajon changed the title Bump VitessTestDb to v23 (allows multi-shard reads in SINGLE mode) Bump Vitess image to v23 Apr 16, 2026
…ment

Since vitessio/vitess#19277 (backported to v22.0.4 via #19341), vtgate
defers implicit transaction start for autocommit=0 sessions. This means
vttablet no longer applies --queryserver-config-transaction-timeout to
queries running under SET autocommit=0. Switching to explicit BEGIN
ensures vttablet tracks the transaction and enforces the timeout.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aparajon aparajon force-pushed the armand/vitess-v23-bump branch from 39972b6 to 4f0dffa Compare April 17, 2026 04:33
@aparajon aparajon added this pull request to the merge queue Apr 17, 2026
Merged via the queue into master with commit 5a5300d Apr 17, 2026
26 checks passed
@aparajon aparajon deleted the armand/vitess-v23-bump branch April 17, 2026 16:08
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.

4 participants