fix: Suppress Ledger::setValidated data race in TSAN

Add suppression for pre-existing data race on LedgerHeader::validated
(plain bool mutable) between LedgerMaster worker thread and test code.
The flag is monotonic (false→true only), so the race is benign but
technically UB. Proper fix (atomic<bool>) deferred to a follow-up.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Pratik Mankawde
2026-03-19 14:03:07 +00:00
parent 7d975cae2f
commit f2cc697cb4

View File

@@ -49,6 +49,12 @@ deadlock:RCLConsensus
deadlock:LedgerReplayTask
deadlock:LedgerDeltaAcquire
# Data race on LedgerHeader::validated (bool mutable).
# This is a monotonic flag (false→true, never back) set by LedgerMaster
# worker threads and read by test/RPC code. Benign but technically UB.
# Proper fix: make validated std::atomic<bool>.
race:Ledger::setValidated
# Signal/crash suppressions for GCC TSAN instrumentation issues
signal:std::__cxx11::basic_stringbuf
signal:basic_stringbuf