Details
Description
In order to allow updating a document's shard key value when the write is not part of a multi-stmt transaction, the TransactionParticipant state machine needs to be allowed to restart from state::kNone. This is so that we can re-use the session and transaction number for both the original update and the internal transaction started by MongoS.