Skip to content
Snippets Groups Projects
Commit cee25ef0 authored by Libor Peltan's avatar Libor Peltan
Browse files

catalog: ignore (not fail) duplicate additions...

...as they might happen while cold start when duplicate
members had been added successively and ignored
parent 9e66c456
Branches
Tags
1 merge request!1434catalog: ignore (not fail) duplicate additions...
Pipeline #95560 passed with stages
in 6 minutes and 9 seconds
......@@ -140,7 +140,8 @@ static int upd_val_update(catalog_upd_val_t *val, int bail,
{
if ((rem && val->type != CAT_UPD_ADD) ||
(!rem && val->type != CAT_UPD_REM)) {
return KNOT_EEXIST;
log_zone_error(val->member, "duplicate addition/removal of the member node, ignoring");
return KNOT_EOK;
}
knot_dname_t *owner_cpy = knot_dname_copy(owner, NULL);
if (owner_cpy == NULL) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment