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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
internal/consensus/state.go
|
|
@ -910,8 +910,8 @@ func (cs *State) receiveRoutine(ctx context.Context, maxSteps int) { |
|
|
|
err := cs.wal.WriteSync(mi) // NOTE: fsync
|
|
|
|
if err != nil { |
|
|
|
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, |
|
|
|
)) |
|
|
|
} |
|
|
|
|
|
|
|