Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Parent Issue
#29479 — C07
Detail of Subtask
PK/UNIQUE conflicts, index probes and locks must use the same logical identity and commit atomically with original rows.
Tracking disposition: this C-series alias is to be closed as duplicate/reused tracking in favor of #28164. The canonical issue remains responsible for the complete scope and acceptance below; closure is not a product-completion claim.
Scope
- Cover string PKs, composite/prefix keys, UNIQUE/ordinary secondary indexes and ordinary-table FK probes.
- Cover INSERT/IGNORE/ODKU/REPLACE/UPDATE/DELETE, LOAD/bulk writers and CREATE INDEX precheck/backfill.
- Keep original values available for result projection and affected stored-value consumers.
Acceptance criteria
- Same-batch and concurrent equivalent keys conflict consistently; ODKU selects the correct row and self-updates do not conflict with themselves.
- Delete, rollback and injected failures leave no ghost or half-maintained indexes; two-CN competing writes preserve uniqueness.
- Backfill detects existing duplicates before publication; cancellation/failure never exposes partial indexes.
- Apply prefix extraction in declared character/byte units before weights; preserve NULL rules.
- A raw-value change with an equal key still updates originals and applicable FULLTEXT maintenance.
Describe implementation you've considered
Reuse #28164, PR #29057, existing hidden/composite PK mechanisms and transaction ownership. No independent sidecar or transaction state machine.
Additional information
- Prerequisites: C01: [Subtask]: C01 — Unify supported charset/collation identities and versioned metadata #29480, C04: [Bug]: Default collation is binary/case-sensitive; explicit _ci collations are ignored #25096, C05: [Subtask]: C05 — Unify collation semantics across sort, aggregation, joins and shuffle #29484
- Existing implementation references: fix(sql): isolate binary capacity and assignment semantics #29057
- Native SQL activation also requires the applicable C11 upgrade and C12 release gates.
- Shared scope: five charset families and twelve canonical collations; latin1/latin1_* are explicitly unsupported for new requests.
- Exclusions: partition tables, stored procedures, UDFs, warning count/text compatibility, utf16/utf32/gb18030 and other unlisted collations.
- Existing product defaults are not changed incidentally. Preserve legacy objects; do not use accepted DDL or a backend-only test as end-to-end evidence.
- This issue does not itself approve a production design, an open PR, or unverified CI evidence.
Activity
ck89119 commentedon Sep 29, 2026
Closing this C-series alias as duplicate/reused tracking in favor of #28164, under #29479.
The complete scope, prerequisites and unchecked acceptance criteria have been handed off in this canonical tracking comment. This closure does not mean the functionality has shipped or passed end-to-end validation. The parent retains #28164 as the active delivery owner, and dependencies use that canonical issue rather than this closed alias.
State reason: not planned here (duplicate tracking). The canonical issue and open implementation PRs retain their existing states.
feat(collation): establish versioned index key format (#29834)
fix(collation): align unique index duplicate precheck (#29890)
daviszhen commentedon Oct 20, 2026
最新 main 验证(2026-10-20)
基线:
309f618995af4ee23e3b9149365f4af77264090d;关联 PR:#29834。结论:本 issue 是重复/汇总跟踪,PR #29834 已合入 main;其剩余相关范围分别归属于 #28164(大小写不敏感唯一键/ODKU,当前仍可复现)和 #29206(Unicode collation 完整语义)。关闭 #29486 仅表示重复跟踪结束,不代表这些独立问题全部完成。