Repository navigation
fix(metadata): correct character set metadata - #26695
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
LeftHandCold
left a comment
There was a problem hiding this comment.
Reviewed the complete diff. No blocking correctness or compatibility issues found. The change covers all six existing MySQL string types, separates logical character width from Varlena storage size, seeds CHARACTER_SETS for new tenants, and provides an idempotent v4.0.6 tenant migration with focused tests. CI is green.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Reviewed the metadata data flow and upgrade lifecycle on this head. The fix replaces the Varlena-slot multiplier with character-set semantics: CHAR/VARCHAR/TEXT use the UTF-8 maximum encoded width, while BINARY/VARBINARY/BLOB retain byte widths. The new CHARACTER_SETS rows match the supported/default collation flags, are installed for new tenants, and are repaired idempotently for existing 4.0.6 tenants without deleting unrelated future rows.
Focused function, sysview, and upgrade tests pass, including fresh population and second-run no-op behavior. The distributed regression covers the original ODBC join and octet-length reproduction. No blocking correctness, compatibility, lifecycle, or upgrade issue found.
Merge Queue Status
This pull request spent 28 minutes 9 seconds in the queue, including 4 seconds running CI. Required conditions to merge
|
fix(metadata): correct character set metadata Approved by: @LeftHandCold, @XuPeng-SH, @heni02
fix(metadata): correct character set metadata Approved by: @LeftHandCold, @XuPeng-SH, @heni02
fix(metadata): correct character set metadata Approved by: @LeftHandCold, @XuPeng-SH, @heni02
What type of PR is this?
Which issue(s) this PR fixes:
issue #26688
What this PR does / why we need it:
fix(metadata): correct character set metadata