Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rec: If new data is auth and existing data is not, replace even if cache locking is active #12027

Merged
merged 3 commits into from
Sep 27, 2022

Conversation

omoerbeek
Copy link
Member

Followup to #11958

Current code gives the right answer (the authoritative records) to the client but does not replace the unauthoritative record set in the cache by the authoritative one. That's a bit too strict interpretation of the locking feature.

Short description

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

@omoerbeek omoerbeek added the rec label Sep 27, 2022
@omoerbeek omoerbeek added this to the rec-4.8.0 milestone Sep 27, 2022
pdns/recursordist/test-syncres_cc10.cc Outdated Show resolved Hide resolved
Co-authored-by: Remi Gacogne <github@coredump.fr>
@omoerbeek omoerbeek merged commit b530b61 into PowerDNS:master Sep 27, 2022
@omoerbeek omoerbeek deleted the rec-locked-auth-upgrade branch September 27, 2022 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants