mirror of
https://github.com/coredns/coredns.git
synced 2025-11-03 02:33:21 -05: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>
7.3 KiB
7.3 KiB