diff --git a/pkg/kv/kvserver/replica_application_result.go b/pkg/kv/kvserver/replica_application_result.go index f0c28e21bafd..156ca1e7af65 100644 --- a/pkg/kv/kvserver/replica_application_result.go +++ b/pkg/kv/kvserver/replica_application_result.go @@ -12,6 +12,7 @@ package kvserver import ( "context" + "fmt" "math/rand" "os" @@ -271,7 +272,8 @@ func tryReproposeWithNewLeaseIndex( // now. p.command.MaxLeaseIndex = prevMaxLeaseIndex p.encodedCommand = prevEncodedCommand - panic(pErr.GoError()) + fmt.Fprintln(os.Stderr, pErr.GoError()) + os.Exit(44) //return pErr } log.VEventf(ctx, 2, "reproposed command %x", cmd.ID)