Skip to content

Conversation

@miodvallat
Copy link
Contributor

Short description

Backport of #16589 to 4.9.x
But:

  • commit 8e1a068 which only matters for tests is omitted and replaced by the last commit, which contains that commit and various bits from older commits in master which I have been too lazy to identify. (no cookie for me)
  • with commit 6716169 as first commit; not from the abovementioned PR, but this "split patchZone() into smaller pieces" commit is required to give the backport a chance to apply without too many conflicts.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • read and accepted the Developer Certificate of Origin document, including the AI Policy, and added a "Signed-off-by" to my commits
  • 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)
  • checked that this code was merged to master

miodvallat and others added 10 commits December 5, 2025 15:31
This is preparation work for future changes which would likely to trigger
the "excessive cognitive complexity" diagnostic from clang-tidy, so cut
ahead.

Signed-off-by: Miod Vallat <[email protected]>
(cherry picked from commit a8e5702)
Signed-off-by: Miod Vallat <[email protected]>
(cherry picked from commit ab0a342)
…ent RRsets.

Signed-off-by: Miod Vallat <[email protected]>
(cherry picked from commit 9017ef0)
Signed-off-by: Miod Vallat <[email protected]>
(cherry picked from commit e13f3db)
Co-authored-by: Josh Soref <[email protected]>
Signed-off-by: Miod Vallat <[email protected]>
(cherry picked from commit d2415df)
This causes us to maintain a local cache of the rrsets being modified by
both sets of operations, so that we keep a consistent view of them during
the backend transaction, regardless of what the backend might be able to
return.

Signed-off-by: Miod Vallat <[email protected]>
(cherry picked from commit 923b4b7)
Signed-off-by: Miod Vallat <[email protected]>
(cherry picked from commit 6425264)
@miodvallat miodvallat added the auth label Dec 5, 2025
@coveralls
Copy link

coveralls commented Dec 5, 2025

Pull Request Test Coverage Report for Build 19967975374

Details

  • 237 of 258 (91.86%) changed or added relevant lines in 1 file are covered.
  • 10 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.1%) to 63.225%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pdns/ws-auth.cc 237 258 91.86%
Files with Coverage Reduction New Missed Lines %
pdns/ws-auth.cc 1 81.89%
pdns/opensslsigners.cc 3 60.37%
ext/lmdb-safe/lmdb-safe.cc 6 74.47%
Totals Coverage Status
Change from base Build 19738700427: 0.1%
Covered Lines: 42011
Relevant Lines: 59699

💛 - Coveralls

@Habbie
Copy link
Member

Habbie commented Dec 7, 2025

note to self: the doc changes in the original PR did not note "since version ..."

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.

3 participants