Skip to content

Commit

Permalink
rac2: vlog when replica transitions to probe
Browse files Browse the repository at this point in the history
Part of: #130187
Release note: None
  • Loading branch information
kvoli committed Sep 20, 2024
1 parent 6401cb4 commit b2af1b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/kv/kvserver/kvflowcontrol/rac2/range_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,8 @@ func (rss *replicaSendStream) closeLocked(ctx context.Context) {
}

func (rss *replicaSendStream) changeToProbeLocked(ctx context.Context, now time.Time) {
log.VEventf(ctx, 1, "r%v:%v stream %v changing to probe",
rss.parent.parent.opts.RangeID, rss.parent.desc, rss.parent.stream)
// This is the first time we've seen the replica change to StateProbe,
// update the connected state and start time. If the state doesn't
// change within probeRecentlyReplicateDuration, we will close the
Expand Down

0 comments on commit b2af1b6

Please sign in to comment.