Skip to content
Snippets Groups Projects
Commit 345089dc authored by Marek Vavruša's avatar Marek Vavruša
Browse files

rrcache: disabled parent-child diff tests where parent is right

until RFC2181 credibility is implemented in cache, this behavior breaks
DNSSEC as the parent-side comes first to the cache
disabled this behavior until implemented properly
parent aae91f5d
No related branches found
No related tags found
No related merge requests found
......@@ -184,12 +184,6 @@ static int commit_rr(const char *key, void *val, void *data)
*/
knot_rrset_t query_rr;
knot_rrset_init(&query_rr, rr->owner, rr->type, rr->rclass);
if (kr_cache_peek_rr(baton->txn, &query_rr, &drift) == 0) {
/* Allow replace if RRSet in the cache is about to expire. */
if (!is_expiring(&query_rr, drift)) {
return kr_ok();
}
}
return kr_cache_insert_rr(baton->txn, rr, baton->timestamp);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment