A stored record of a type with no codec no longer makes zone transfers fail #280
No reviewers
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!280
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/273-no-codec-records"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A stored record of a type with no RDATA codec is now left out of the cached zone with one Warning. It no longer makes every AXFR of its zone throw
NullReferenceException. Such a row can arrive by a restore, a storage switch, a cluster sync or a hand edit.RecordEntityCodec.CanWriteRdatareturns false whenToWireRecordyields null and logs the Warning that unwritable rows already get (zone, type, name, id, reason). The resolver, AXFR, IXFR and the signer therefore see the same zone.ZoneTransferService.DecodeRecordSnapshot, which decodes journal snapshots for IXFR, drops nulls.TryWriteSoalogs a Warning when the SOA converts to null.ToWireRecordcaller; each one already filters nulls or tolerates them.Tests:
ZoneTransferServiceUnwritableRecordTests. A query for another name answers correctly and the bad name gives NXDOMAIN. AXFR completes without the row. Each logs exactly one Warning.Closes #273
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK