From 7aa55e4eb55848383585edea87d8103b0f775dd8 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 (cherry picked from commit 0d199b6529f5c410d6014bf3058c717b57625553) --- 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 f9c1d984d6..53a664793d 100644 --- a/pdns/dnsdistdist/dnsdist-tsan.supp +++ b/pdns/dnsdistdist/dnsdist-tsan.supp @@ -16,3 +16,8 @@ race:DownstreamState::setAuto race:DownstreamState::stop race:DownstreamState::submitHealthCheckResult 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