]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Add a TSAN suppressions list
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 7 Apr 2021 10:14:00 +0000 (12:14 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 16 Apr 2021 07:10:52 +0000 (09:10 +0200)
pdns/dnsdistdist/dnsdist-tsan.supp [new file with mode: 0644]
pdns/dnsdistdist/tsan.supp [new file with mode: 0644]

diff --git a/pdns/dnsdistdist/dnsdist-tsan.supp b/pdns/dnsdistdist/dnsdist-tsan.supp
new file mode 100644 (file)
index 0000000..8305087
--- /dev/null
@@ -0,0 +1,12 @@
+# Part of that code has a race indeed, where we read the value then update it
+# We don't really care for these metrics
+race:doLatencyStats
+race:handleStats
+race:ClientState::updateTCPMetrics
+race:DownstreamState::updateTCPMetrics
+# There is a race when we update the status of a backend,
+# but we eventual consistency is fine there
+race:DownstreamState::setDown
+race:DownstreamState::setUp
+race:DownstreamState::setAuto
+race:updateHealthCheckResult
diff --git a/pdns/dnsdistdist/tsan.supp b/pdns/dnsdistdist/tsan.supp
new file mode 100644 (file)
index 0000000..0899dde
--- /dev/null
@@ -0,0 +1,12 @@
+# Part of that code has a race indeed, where we read the value then update it
+# We don't really care for these metrics
+race:doLatencyStats
+race:handleStats
+race:ClientState::updateTCPMetrics
+race:DownstreamState::updateTCPMetrics
+# There is a race when we update the status of a backend,
+# but eventual consistency is fine there
+race:DownstreamState::setDown
+race:DownstreamState::setUp
+race:DownstreamState::setAuto
+race:updateHealthCheckResult