#5708 closed enhancement (duplicate)

Global Host Reservations Task 5: data migration scripts to convert existing subnet-id values of 0

Reported by: tmark Owned by:
Priority: medium Milestone: Kea1.5
Component: Unclassified Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

The changes made in 5704 to support global HRs necessitate migrating existing data. Specifically for MySQL and PostgreSQL, any columns with values of 0 for subnet IDs in hosts and options tables, need to replace with NULL, and for Cassandra, they should be replaced with GLOBAL_ID_UNUSED.

Data migration steps need to be added to the schema upgrade scripts for 1.5.0 to accommodate this.

Subtickets

Change History (1)

comment:1 Changed 18 months ago by tomek

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.