From e60cfd7ce6f9c8f6d5124b5aa371094ef24308df Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 7 Apr 2021 12:14:00 +0200 Subject: [PATCH] dnsdist: Add a TSAN suppressions list --- pdns/dnsdistdist/dnsdist-tsan.supp | 12 ++++++++++++ pdns/dnsdistdist/tsan.supp | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 pdns/dnsdistdist/dnsdist-tsan.supp create mode 100644 pdns/dnsdistdist/tsan.supp diff --git a/pdns/dnsdistdist/dnsdist-tsan.supp b/pdns/dnsdistdist/dnsdist-tsan.supp new file mode 100644 index 0000000000..8305087a91 --- /dev/null +++ b/pdns/dnsdistdist/dnsdist-tsan.supp @@ -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 index 0000000000..0899dde574 --- /dev/null +++ b/pdns/dnsdistdist/tsan.supp @@ -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 -- 2.47.2