yugabyte/yugabyte-db

[YSQL] Investigate read time logic for unique key violation

Open

#27.083 geöffnet am 7. Mai 2025

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)C (1.003 Forks)batch import
area/ysqlgood first issuekind/enhancementpriority/mediumstatus/awaiting-triage

Repository-Metriken

Stars
 (8.229 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide