Browse Source

Update internal/consensus/state.go

Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
pull/8170/head
Sam Kleinman 3 years ago
committed by GitHub
parent
commit
23278e493d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      internal/consensus/state.go

+ 2
- 2
internal/consensus/state.go View File

@ -910,8 +910,8 @@ func (cs *State) receiveRoutine(ctx context.Context, maxSteps int) {
err := cs.wal.WriteSync(mi) // NOTE: fsync err := cs.wal.WriteSync(mi) // NOTE: fsync
if err != nil { if err != nil {
panic(fmt.Errorf( panic(fmt.Errorf(
"failed to write %v msg to consensus WAL due to %q; check your file system and restart the node",
mi, err.Error(),
"failed to write %v msg to consensus WAL due to %w; check your file system and restart the node",
mi, err,
)) ))
} }


Loading…
Cancel
Save