@@ -147,7 +147,7 @@ func (s *Receiver) onRecvErr(ctx context.Context, nodeID roachpb.NodeID, err err
147147 defer s .mu .Unlock ()
148148
149149 if err != io .EOF {
150- log .KvDistribution .Warningf (ctx , "closed timestamps side-transport connection dropped from node: %d (%s)" , nodeID , err )
150+ log .KvExec .Warningf (ctx , "closed timestamps side-transport connection dropped from node: %d (%s)" , nodeID , err )
151151 } else {
152152 log .VEventf (ctx , 2 , "closed timestamps side-transport connection dropped from node: %d (%s)" , nodeID , err )
153153 }
@@ -236,11 +236,11 @@ func (r *incomingStream) processUpdate(ctx context.Context, msg *ctpb.Update) {
236236 log .VEventf (ctx , 4 , "received side-transport update: %v" , msg )
237237
238238 if msg .NodeID == 0 {
239- log .KvDistribution .Fatalf (ctx , "missing NodeID in message: %s" , msg )
239+ log .KvExec .Fatalf (ctx , "missing NodeID in message: %s" , msg )
240240 }
241241
242242 if msg .NodeID != r .nodeID {
243- log .KvDistribution .Fatalf (ctx , "wrong NodeID; expected %d, got %d" , r .nodeID , msg .NodeID )
243+ log .KvExec .Fatalf (ctx , "wrong NodeID; expected %d, got %d" , r .nodeID , msg .NodeID )
244244 }
245245
246246 // Handle the removed ranges. In order to not lose closed ts info, before we
@@ -259,11 +259,11 @@ func (r *incomingStream) processUpdate(ctx context.Context, msg *ctpb.Update) {
259259 for _ , rangeID := range msg .Removed {
260260 info , ok := r .mu .tracked [rangeID ]
261261 if ! ok {
262- log .KvDistribution .Fatalf (ctx , "attempting to unregister a missing range: r%d" , rangeID )
262+ log .KvExec .Fatalf (ctx , "attempting to unregister a missing range: r%d" , rangeID )
263263 }
264264 ts , ok := r .mu .lastClosed [info .policy ]
265265 if ! ok {
266- log .KvDistribution .Fatalf (ctx , "missing closed timestamp policy %v for range r%d" , info .policy , rangeID )
266+ log .KvExec .Fatalf (ctx , "missing closed timestamp policy %v for range r%d" , info .policy , rangeID )
267267 }
268268 r .stores .ForwardSideTransportClosedTimestampForRange (ctx , rangeID , ts , info .lai )
269269 }
@@ -279,7 +279,7 @@ func (r *incomingStream) processUpdate(ctx context.Context, msg *ctpb.Update) {
279279 r .mu .lastClosed = make (map [ctpb.RangeClosedTimestampPolicy ]hlc.Timestamp , len (r .mu .lastClosed ))
280280 r .mu .tracked = make (map [roachpb.RangeID ]trackedRange , len (r .mu .tracked ))
281281 } else if msg .SeqNum != r .mu .lastSeqNum + 1 {
282- log .KvDistribution .Fatalf (ctx , "expected closed timestamp side-transport message with sequence number " +
282+ log .KvExec .Fatalf (ctx , "expected closed timestamp side-transport message with sequence number " +
283283 "%d, got %d" , r .mu .lastSeqNum + 1 , msg .SeqNum )
284284 }
285285 r .mu .lastSeqNum = msg .SeqNum
@@ -328,13 +328,13 @@ func (r *incomingStream) Run(
328328 r .nodeID = msg .NodeID
329329
330330 if err := r .server .onFirstMsg (ctx , r , r .nodeID ); err != nil {
331- log .KvDistribution .Warningf (ctx , "%s" , err .Error ())
331+ log .KvExec .Warningf (ctx , "%s" , err .Error ())
332332 return
333333 } else if ch := r .testingKnobs .onFirstMsg ; ch != nil {
334334 ch <- struct {}{}
335335 }
336336 if ! msg .Snapshot {
337- log .KvDistribution .Fatal (ctx , "expected the first message to be a snapshot" )
337+ log .KvExec .Fatal (ctx , "expected the first message to be a snapshot" )
338338 }
339339 r .AddLogTag ("remote" , r .nodeID )
340340 ctx = r .AnnotateCtx (ctx )
0 commit comments