Skip to content

Commit

Permalink
Change out of sequence numbers message to warning
Browse files Browse the repository at this point in the history
Change-Id: Ia11c7ace7a710986dd87059ef5affb897200aa2a
Signed-off-by: Kostas Christidis <kostas@christidis.io>
  • Loading branch information
kchristidis committed Aug 20, 2016
1 parent 9de36e3 commit dc53adf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion consensus/pbft/pbft-core.go
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,8 @@ func (instance *pbftCore) sendPrePrepare(reqBatch *RequestBatch, digest string)
}

if !instance.inWV(instance.view, n) || n > instance.h+instance.L/2 {
logger.Debugf("Replica %d is primary, not sending pre-prepare for request batch %s because it is out of sequence numbers", instance.id, digest)
// We don't have the necessary stable certificates to advance our watermarks
logger.Warningf("Primary %d not sending pre-prepare for batch %s - out of sequence numbers", instance.id, digest)
return
}

Expand Down

0 comments on commit dc53adf

Please sign in to comment.