Minor corrections, added ChangeLog and fixed db-version UT.
+2221. [bug] tmark
+ Corrected an index on the dhcp4_servers table
+ in the PostgreSQL schema.
+ (Gitlab #2957)
+
2220. [bug] marcin
Exclude packets ignored during load balancing from the
pkt6-receive-drop statistics. The packets dropped by the
run_command \
"${kea_admin}" db-version pgsql -u "${db_user}" -p "${db_password}" -n "${db_name}"
version="${OUTPUT}"
- assert_str_eq "20.0" "${version}" "Expected kea-admin to return %s, returned value was %s"
+ assert_str_eq "21.0" "${version}" "Expected kea-admin to return %s, returned value was %s"
# Let's wipe the whole database
pgsql_wipe
}
pgsql_upgrade_19_to_20_test() {
- # Verify that lease6_by_sunet_id_address index on lease6 is keyed by
+ # Verify that lease6_by_subnet_id_address index on lease6 is keyed by
# attributes number 5 and 1 (i.e. subnet-id and address)
qry="select ix.indkey as keys from pg_class t, pg_class i, pg_index ix \
where t.oid = ix.indrelid and i.oid = ix.indexrelid and \
-- This line starts the schema upgrade to version 21.0.
--- Correct dhcp4_server_modifcation_ts to index the dhcp4_server table.
+-- Correct dhcp4_server_modification_ts to index the dhcp4_server table.
DROP INDEX dhcp4_server_modification_ts;
CREATE INDEX dhcp4_server_modification_ts ON dhcp4_server (modification_ts);
-- This line starts the schema upgrade to version 21.0.
--- Correct dhcp4_server_modifcation_ts to index the dhcp4_server table.
+-- Correct dhcp4_server_modification_ts to index the dhcp4_server table.
DROP INDEX dhcp4_server_modification_ts;
CREATE INDEX dhcp4_server_modification_ts ON dhcp4_server (modification_ts);