Skip to content

CDRIVER-3685 address TSAN warning for mongoc_handshake_t::frozen #1698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

eramongodb
Copy link
Contributor

@eramongodb eramongodb commented Aug 12, 2024

Resolves CDRIVER-3685. Verified by this patch.

Encountered while investigating ongoing task failures due to /scram/cache_invalidation following #1684.

Access of _mongoc_handshake_get () following initialization must be guarded by gHandshakeLock (even for single-threaded clients).

@eramongodb eramongodb requested a review from kevinAlbs August 12, 2024 17:27
@eramongodb eramongodb self-assigned this Aug 12, 2024
@eramongodb eramongodb merged commit 63b780e into mongodb:master Aug 12, 2024
37 of 38 checks passed
@eramongodb eramongodb deleted the cdriver-3685 branch August 12, 2024 18:00
vdimir pushed a commit to ClickHouse/mongo-c-driver that referenced this pull request Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants