File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pkg/kv/kvserver/allocator/mmaprototype Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1335,7 +1335,7 @@ func (cs *clusterState) processStoreLeaseholderMsgInternal(
13351335 // changes, and these are the changes that are pending. This is hacky
13361336 // and should be cleaned up.
13371337 var valid bool
1338- var reason string
1338+ var reason redact. RedactableString
13391339 if gcRemainingChanges {
13401340 reason = "GCing remaining changes after partial enactment"
13411341 } else {
@@ -1346,7 +1346,7 @@ func (cs *clusterState) processStoreLeaseholderMsgInternal(
13461346 err := cs .preCheckOnApplyReplicaChanges (remainingReplicaChanges )
13471347 valid = err == nil
13481348 if err != nil {
1349- reason = err . Error ( )
1349+ reason = redact . Sprint ( err )
13501350 }
13511351 // Restore it.
13521352 rs .pendingChanges = rc
You can’t perform that action at this time.
0 commit comments