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()}}