Skip to content

Commit

Permalink
Merge pull request #109169 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.1-101550

release-23.1: closedts: log err when incoming stream drops
  • Loading branch information
erikgrinaker authored Aug 21, 2023
2 parents 98c6b70 + b3b3ee0 commit 9b2a1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/closedts/sidetransport/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (s *Receiver) onRecvErr(ctx context.Context, nodeID roachpb.NodeID, err err
defer s.mu.Unlock()

if err != io.EOF {
log.Warningf(ctx, "closed timestamps side-transport connection dropped from node: %d", nodeID)
log.Warningf(ctx, "closed timestamps side-transport connection dropped from node: %d (%s)", nodeID, err)
} else {
log.VEventf(ctx, 2, "closed timestamps side-transport connection dropped from node: %d (%s)", nodeID, err)
}
Expand Down

0 comments on commit 9b2a1c0

Please sign in to comment.