• Vladimír Čunát's avatar
    cache: restored kr_cache_insert_rr API · d22cb348
    Vladimír Čunát authored
    This commit abstracts out stash_rrset from stash_rrarray_entry,
    and fixes incrementing metrics on actual record insertion.
    It then resurfaces kr_cache_insert_rr that was deleted in 2.0
    using the extracted function.
    
    vcunat separated stash_rrset_precond() later during rebase.
    d22cb348