Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/closed_timestamp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ func TestClosedTimestampFrozenAfterSubsumption(t *testing.T) {

// Increase the verbosity of the logs to help debug the test if it fails, especially
// raft related logs when the test tries to transfer the lease non-cooperatively.
testutils.SetVModule(t, "raft=4,*=1")
testutils.SetVModule(t, "raft=4,*=1,support_manager=4")

for _, test := range []struct {
name string
Expand Down
5 changes: 3 additions & 2 deletions pkg/kv/kvserver/storeliveness/support_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,9 @@ func (sm *SupportManager) sendHeartbeats(ctx context.Context) {
}
}
sm.metrics.HeartbeatSuccesses.Inc(int64(successes))
sm.metrics.HeartbeatFailures.Inc(int64(len(heartbeats) - successes))
log.KvExec.VInfof(ctx, 2, "sent heartbeats to %d stores", successes)
failures := int64(len(heartbeats) - successes)
sm.metrics.HeartbeatFailures.Inc(failures)
log.KvExec.VInfof(ctx, 2, "sent heartbeats to %d stores (%d failed)", successes, failures)
}

// withdrawSupport delegates support withdrawal to supporterStateHandler.
Expand Down