Skip to content

Commit

Permalink
even harder
Browse files Browse the repository at this point in the history
  • Loading branch information
tbg committed Feb 16, 2023
1 parent 3b15661 commit 33dcdef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/kv/kvserver/replica_application_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ package kvserver

import (
"context"
"fmt"
"math/rand"
"os"

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 33dcdef

Please sign in to comment.