This discussion is archived
1 2 Previous Next 15 Replies Latest reply: Feb 1, 2012 5:14 AM by Charles Lamb Go to original post RSS
  • 15. Re: Network Partitions
    Charles Lamb Pro
    Currently Being Moderated
    user962305 wrote:
    Hi Charles

    => The client will still think that the node is a master because, after all, at some point the other nodes in the group may reappear and write requests will then succeed.

    Is that sure? Since master in the minority will rollback data not send to replica

    => That's mean you will have to deal with conflict resolution in some cases (depending of configuration).
    Is that sure? Since master in the minority will rollback data not send to replica
    When the master is in a minority -- that is, there is no quorum that it can see on the network -- then it will not commit transactions. When it doesn't commit transactions, it will not send the updates to the replicas. There will be nothing to rollback in the case of a conflict because nothing will have been committed. This all assumes that you are using the recommended and default simple_majority ack policy.

    When the master can (once again) see a quorum, it will then get acks from a majority and commit transactions.

    Charles Lamb
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points