SERVER-134003ClosedFixed

Remove redundant _recipientCtx.getState() read in resharding recipient change-streams-monitor completion path

h2. Overview There is a data race (found via TSAN, BF-45859) between an unguarded read of {{_recipientCtx.getState()}} and the mutex-guarded write to {{_recipientCtx}} in {{{}ReshardingRecipientService::RecipientStateMachine{}}}. However, the read is itself redundant and can be safely removed. h2. Background see BF-45859. h2. Scope of Work * {{src/mongo/db/s/resharding/resharding_recipient_service.cpp}} — remove read on {{_recipientCtx.getState()}}

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10229.0.7
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.