Alexey Serbin created KUDU-3651: ----------------------------------- Summary: Race condition in TabletReplica::Stop() Key: KUDU-3651 URL: https://issues.apache.org/jira/browse/KUDU-3651 Project: Kudu Issue Type: Bug Components: master, tablet, tserver Affects Versions: 1.17.1, 1.17.0, 1.16.0, 1.15.0, 1.14.0, 1.13.0, 1.11.1, 1.12.0, 1.11.0, 1.10.1, 1.10.0, 1.9.0, 1.7.1, 1.8.0, 1.7.0, 1.6.0, 1.5.0, 1.4.0, 1.3.1, 1.3.0, 1.2.0, 1.1.0, 1.0.1, 1.0.0, 0.10.0, 0.9.1, 0.9.0, 0.8.0, 0.7.1, 0.7.0 Reporter: Alexey Serbin Attachments: txn_participant-test.txt.xz
There is a race condition in {{TabletReplica::Stop()}}: new operations might be accepted by a tablet replica right after calling {{OpTracker::WaitForAllToFinish()}} and before the replica's prepare pool token is shut down. The race manifests itself at least as a TSAN warning in various scenarios of {{txn_participant-test}}. See the attached log for a report on one particular instance of the race. -- This message was sent by Atlassian Jira (v8.20.10#820010)