yugabyte/yugabyte-db

[YSQL] Investigate read time logic for unique key violation

Open

#27,083 建立於 2025年5月7日

在 GitHub 查看
 (1 留言) (0 反應) (1 負責人)C (1,003 fork)batch import
area/ysqlgood first issuekind/enhancementpriority/mediumstatus/awaiting-triage

倉庫指標

Star
 (8,229 star)
PR 合併指標
 (平均合併 17天 21小時) (30 天內合併 92 個 PR)

描述

Jira Link: DB-16570

Description

Motivation: pg compatibility (and improve availability by reducing serialization errors).

As part of this task,

  1. Verify the snapshot using which postgres detects unique key violations. See _bt_check_unique.
  2. Verify whether YB implements the same snapshot mechanism for detecting unique key violations. See pgsql_operation.cc
  3. Match pg behavior.

Issue Type

kind/enhancement

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

貢獻者指南