yugabyte/yugabyte-db

[YSQL] Investigate read time logic for unique key violation

Open

#27.083 aperta il 7 mag 2025

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)C (1003 fork)batch import
area/ysqlgood first issuekind/enhancementpriority/mediumstatus/awaiting-triage

Metriche repository

Star
 (8229 star)
Metriche merge PR
 (Merge medio 17g 21h) (92 PR mergiate in 30 g)

Descrizione

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.

Guida contributor