Skip to content

Commit

Permalink
kvserver: log to trace on proposal drop
Browse files Browse the repository at this point in the history
Epic: none
Release note: None
  • Loading branch information
tbg committed Jun 20, 2023
1 parent 1921daa commit 6b8391c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/kv/kvserver/replica_proposal_buf.go
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,11 @@ func proposeBatch(
// ignored prior to the introduction of ErrProposalDropped).
// TODO(bdarnell): Handle ErrProposalDropped better.
// https://github.com/cockroachdb/cockroach/issues/21849
for _, p := range props {
if p.ctx != nil {
log.Event(p.ctx, "entry dropped")
}
}
return nil, true
}
return err, false
Expand Down

0 comments on commit 6b8391c

Please sign in to comment.