E Exception: Sanitizer assert found in /ClickHouse/tests/integration/test_keeper_force_recovery_single_node/_instances_0/docker.log for instance ==================
where write is resetting handler_ inside shutdown() while read is creating a session using handler_ inside start().
Race also happens with acceptor_ (is_open is read inside start() while stop() is closing it).
TSAN in our sanitizer often caught a data race in
asio_rpc_listener
.E.g. in https://s3.amazonaws.com/clickhouse-test-reports/45430/7bb65cc002d27c325393f777773de6a1e1de9fdd/integration_tests__tsan__%5B2/6%5D.html there is a log with
Example of sanitizer warning:
where write is resetting
handler_
insideshutdown()
while read is creating a session usinghandler_
insidestart()
. Race also happens withacceptor_
(is_open
is read insidestart()
whilestop()
is closing it).