发明名称 Transactional replication
摘要 Writing data in a distributed database having a plurality of nodes is disclosed. Writing includes receiving a write request at a node, wherein the write request is associated with one or more operations to define an atomic transaction and performing the atomic transaction based on the request. The atomic transaction includes writing to a first version of the database in the node and writing to an entity representative of a state of the first version of the database.
申请公布号 US9317545(B2) 申请公布日期 2016.04.19
申请号 US201313955487 申请日期 2013.07.31
申请人 Infoblox Inc. 发明人 Bailey Stuart M.;Pulleyn Ivan W.;Gutti Srinath
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Van Pelt, Yi & James LLP 代理人 Van Pelt, Yi & James LLP
主权项 1. A method of writing data in a distributed database having a plurality of nodes, comprising: receiving a write request at a first member node having a first version of a database; applying the received original write request to both the first version of the database and a journal queue in a single atomic transaction using a processor, comprising: placing the received write request in the journal, queue of the first member node, wherein the journal queue is associated with the first member node and is configured to store write requests that have not yet been reconciled with a master version of the database on a master node; propagating one or more items in the journal queue to the master node; determining whether a conflict exists between the first version of the database with the write request applied and a master version of the database; in the event that a conflict exists, reconciling a write request with the master version of the database; and in the event that a conflict does not exist: determining that the first version of the database is in a high availability pair, wherein the high availability pair includes a second version of the database in a second member node; andapplying the received original write request to both the first version of the database and to the second version of the database in the second member node.
地址 Santa Clara CA US