mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
Wrap doPrefetch with a fresh metadata context to prevent concurrent writes to the request-scoped metadata map during background prefetch. Add a new integration test configuring a plugin chain, triggering the issue seen here. Hammers concurrent queries while log reads metadata fields repeatedly. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
5.2 KiB
5.2 KiB