Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.5, 1.0
-
Fix Version/s: 1.5
-
Component/s: Admin Tool
-
Labels:None
-
Number of attachments :
Description
When using the admin tool to do a CLEAN_INSERT on the configuration database, if there are rows in the db with foreign key constraints (think a master node ID in the yf_cluster table, a constraint exception is thrown, e.g.
org.postgresql.util.PSQLException: ERROR: update or delete on "yf_node" violates foreign key constraint "master_node_id_fk" on "yf_cluster"
Detail: Key (id)=(1) is still referenced from table "yf_cluster".
See ModifyClusterAcceptanceTest#testMasterSlaveSwapPickedUpByDaemon