Example #1
0
File: paxos.go Project: bvk/ascent
func (this *Paxos) doSaveProposer(state *thispb.ProposerState) {
	state.ProposalBallot = proto.Int64(this.proposalBallot)
}
Example #2
0
File: paxos.go Project: bvk/ascent
func (this *Paxos) doRestoreProposer(state *thispb.ProposerState) {
	this.proposalBallot = state.GetProposalBallot()
}