Discussed in #17627.
It is no longer safe to interpose another Sender between client.Txn and kv.TxnCoordSender as the interface would imply (see SenderWithTxnCoordBackdoor). Because of this, until #10511 is addressed, client.Txn should take a *TxnCoordSender instead of a Sender.
Discussed in #17627.
It is no longer safe to interpose another
Senderbetweenclient.Txnandkv.TxnCoordSenderas the interface would imply (seeSenderWithTxnCoordBackdoor). Because of this, until #10511 is addressed,client.Txnshould take a*TxnCoordSenderinstead of aSender.