Skip to content

why commit a instance on fast-path that requires all replicas to be reply equal in preAcceptReply #16

Description

@pengsven

hi, guys:

Why do need all the replies inst. Lb. AllEqual in the preAcceptReply reply to go commit on the fast-path , the following code is implemented:

1050 if inst.lb.preAcceptOKs >= r.N/2 && inst.lb.allEqual && allCommitted && isInitialBallot(inst.ballot) {
1112 if inst.lb.preAcceptOKs >= r.N/2 && inst.lb.allEqual && allCommitted && isInitialBallot(inst.ballot) {

In the paper, only the fast-quorum of replies with the same instance, then committing on fast-path

Is there anything else I haven't considered?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions