Skip to content

Commit

Permalink
kvserver: log details about ConditionFailedErrors encountered by sp…
Browse files Browse the repository at this point in the history
…lits

Informs #87837

Release justification: logging only change

Release note: None
  • Loading branch information
aayushshah15 committed Sep 26, 2022
1 parent 3bb017b commit 59b046c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/split_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (sq *splitQueue) process(
// attempts because splits can race with other descriptor modifications.
// On seeing a ConditionFailedError, don't return an error and enqueue
// this replica again in case it still needs to be split.
log.Infof(ctx, "split saw concurrent descriptor modification; maybe retrying")
log.Infof(ctx, "split saw concurrent descriptor modification; maybe retrying; err: %v", err)
sq.MaybeAddAsync(ctx, r, sq.store.Clock().NowAsClockTimestamp())
return false, nil
}
Expand Down

0 comments on commit 59b046c

Please sign in to comment.