From 6401cb4122468bd6a60638b1d6c23cf16c9c8f4a Mon Sep 17 00:00:00 2001 From: Austen McClernon Date: Thu, 19 Sep 2024 11:18:23 -0400 Subject: [PATCH] replica_rac2: vlog when enabling v2 protocol Part of: #130187 Release note: None --- pkg/kv/kvserver/kvflowcontrol/replica_rac2/processor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/kv/kvserver/kvflowcontrol/replica_rac2/processor.go b/pkg/kv/kvserver/kvflowcontrol/replica_rac2/processor.go index ed42c9f5b628..9e7718ea8ec4 100644 --- a/pkg/kv/kvserver/kvflowcontrol/replica_rac2/processor.go +++ b/pkg/kv/kvserver/kvflowcontrol/replica_rac2/processor.go @@ -557,6 +557,7 @@ func (p *processorImpl) SetEnabledWhenLeaderRaftMuLocked( if level != EnabledWhenLeaderV1Encoding || p.desc.replicas == nil { return } + log.VEventf(ctx, 1, "enabled v2 protocol using v1 priority encoding") // May need to create RangeController. var leaderID roachpb.ReplicaID var term uint64