]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Add a TSAN suppression for the backend re-connection code 13129/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 3 May 2023 15:55:34 +0000 (17:55 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 14 Aug 2023 14:36:08 +0000 (16:36 +0200)
(cherry picked from commit 0d199b6529f5c410d6014bf3058c717b57625553)

pdns/dnsdistdist/dnsdist-tsan.supp

index f9c1d984d64227f516a71d204df21aaf7be43043..53a664793d3468d75432268cadd208bbb4a8ee9e 100644 (file)
@@ -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