Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pkg/kv/kvclient/kvcoord/txn_coord_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -1525,11 +1525,6 @@ func (tc *TxnCoordSender) TestingCloneTxn() *roachpb.Transaction {

// Step is part of the TxnSender interface.
func (tc *TxnCoordSender) Step(ctx context.Context, allowReadTimestampStep bool) error {
// TODO(nvanbenschoten): it should be possible to make this assertion, but
// the API is currently misused by the connExecutor. See #86162.
// if tc.typ != kv.RootTxn {
// return errors.AssertionFailedf("cannot step in non-root txn")
// }
tc.mu.Lock()
defer tc.mu.Unlock()
if allowReadTimestampStep && tc.shouldStepReadTimestampLocked() {
Expand Down