Bruce

Admin tool does not always handle CLEAN_INSERT correctly if there are rows in the config database.

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 0.5, 1.0
  • Fix Version/s: 1.5
  • Component/s: Admin Tool
  • Labels:
    None
  • Number of attachments :
    0

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

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Due:
    Created:
    Updated: