[YSQL] Make changing primary key an online operation #13274
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-2917
Description
Two variants of
ALTER TABLE
changing PRIMARY KEY - ADD (#1104) and DROP (#8735) - are currently implemented to help database setup by some tools (ORMs, Keycloak, etc.) do not honor concurrent DMLs which may lead to data loss.This needs to be changed to either become an online operation, or lock an entire table for the
ALTER
time.The text was updated successfully, but these errors were encountered: