SERVER-138048ClosedDuplicate

test_change_stream_sharding_fsm_resume.js AND test_change_stream_sharding_fsm_continuous.js fail on a duplicate reshardCollection event when the resharding commit is retried

The change stream FSM verifier asserts that the stream delivers _exactly one_ {{reshardCollection}} event per resharding command. The server is allowed to emit more than one: the commit notification is sent at the start of {{{}ReshardingCoordinator::_commitAndFinishReshardOperation{}}}, which is retried as a unit on transient errors, and the code comment in {{src/mongo/db/s/resharding/resharding_coordinator.inl}} (introduced by SERVER-113247) says "multiple copies of this event notification are

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.