Skip to content

[Subtask]: C07 — Complete collation-aware keys, uniqueness and atomic index maintenance #29486

Closed as not planned

Description

@ck89119

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

Activity

  1. ck89119 commented on Sep 29, 2026

    @ck89119
    ContributorAuthor

    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.

  2. self-assigned this
    on Sep 29, 2026
  3. daviszhen commented on Oct 20, 2026

    @daviszhen
    Contributor

    最新 main 验证(2026-10-20)

    基线:309f618995af4ee23e3b9149365f4af77264090d;关联 PR:#29834。

    结论:本 issue 是重复/汇总跟踪,PR #29834 已合入 main;其剩余相关范围分别归属于 #28164(大小写不敏感唯一键/ODKU,当前仍可复现)和 #29206(Unicode collation 完整语义)。关闭 #29486 仅表示重复跟踪结束,不代表这些独立问题全部完成。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions