v1.10

Document

How to Start SequoiaDB

Basic Operation

Data Model

Database Management

Aggregation

Index

Replication

Cluster

Connector

Reference

Development

Release Note

FAQ

  • Content
  • Comments
  • History

Master Election

Concept

Vote guarantees that there is a master node in a ReplicaGroup at any time. When the master node in a ReplicaGroup goes down, other nodes will automatically vote for another master node among them. In this way, reading and writing can be executed as usual when the master node goes down.

The core of vote is to supervise the statuses of nodes.Each node in a ReplicaGroup regularly sends its status to other nodes. So when the master node goes down, all the slave nodes will vote, and the node that currently matches the former master node will be elected to be the new main node.

The precondition of a successful vote is that more than half of nodes take part in the vote, or the vote will be canceled to avoid the problem of double-activation (two main nodes exist at the same time).

If there are less than half of nodes in the ReplicaGroup, the current master node will automatically becomes an slave node. Meanwhile, all the user connections to the current node will be disconnected.

full sync will be fulfilled.

please login to comment.
Latest Comment
  • 2015-02-14

About Us

SequoiaDB is a financial-level distributed database vendor and is the first Chinese database listed in Gartner’s Magic Quadrant OPDBMS report. SequoiaDB has recently released version 3.0.
SequoiaDB is now penetrating the vertical sector Financial Industry quickly and had more than 50 banking clients and hundreds of enterprise customers in industries including government, telecommunication, Internet and IoT.

Beijing:
Tower R, No.8 North Star East Road, Chaoyang District, Beijing,China
Guangzhou:
Tower A, No.22 Qinglan Street, Panyu District, Guangzhou,China
Shenzhen:
Tsing Hua Tech Park, Nanshan District, Shenzhen,China
Tel:400-8038-339
E-mail:contact@sequoiadb.com