From 0d199b6529f5c410d6014bf3058c717b57625553 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 3 May 2023 17:55:34 +0200 Subject: [PATCH] dnsdist: Add a TSAN suppression for the backend re-connection code --- pdns/dnsdistdist/dnsdist-tsan.supp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pdns/dnsdistdist/dnsdist-tsan.supp b/pdns/dnsdistdist/dnsdist-tsan.supp index d597a72af7..8443ab5319 100644 --- a/pdns/dnsdistdist/dnsdist-tsan.supp +++ b/pdns/dnsdistdist/dnsdist-tsan.supp @@ -17,3 +17,8 @@ race:DownstreamState::stop race:DownstreamState::submitHealthCheckResult race:DownstreamState::healthCheckRequired race:carbonDumpThread +# There is a slight race when we detect an error and +# re-connect a backend, where the UDP responder thread +# can still be looking at the existing socket descriptors. +# Actually writing to these is protected by a mutex, though. +race:DownstreamState::reconnect -- 2.47.2