发明名称 METHODS, SYSTEMS, AND MEDIA FOR PROVIDING DISTRIBUTED DATABASE ACCESS DURING A NETWORK SPLIT
摘要 Methods, systems, and media for providing distributed database access during a network split. In some embodiments, the method comprises: receiving, at a node of N nodes, configuration information of the database which indicates which of the N nodes stores replicated shards of the database including master shards and corresponding slave shards, N being an odd number greater than one; identifying, after a network split, a subset of the N nodes which are capable of communicating with each other; receiving, by a proxy, a request to perform a write operation to an object in the database; determining that a second node included in the subset of the N nodes stores a master shard including the object; determining that the subset includes at least (N+1)/2 nodes; and causing the request to perform the write operation to be routed to the second node.
申请公布号 US2016366220(A1) 申请公布日期 2016.12.15
申请号 US201615183689 申请日期 2016.06.15
申请人 Gottlieb Yossi;Steinberg Yoav;Shoolman Yiftach 发明人 Gottlieb Yossi;Steinberg Yoav;Shoolman Yiftach
分类号 H04L29/08;G06F17/30;H04L12/24 主分类号 H04L29/08
代理机构 代理人
主权项 1. A method for providing access to information stored in a replicated distributed database, the method comprising: receiving, using a hardware processor of a first node of N nodes, configuration information of the database which indicates which of the N nodes stores each of a plurality replicated shards of the database, wherein N is an odd number greater than one and wherein the replicated shards include a plurality of master shards and a plurality of slave shards that each correspond to one master shard; identifying, after a network split has occurred among the N nodes, a subset of the N nodes, including the first node, which are capable of communicating with each other; receiving, by a proxy hosted by the first node, a request to perform a write operation to an object in the database; determining that a second node of the N nodes stores a master shard that includes the object based on the configuration information; determining that the second node is included in the subset of the N nodes; determining that the subset includes at least (N+1)/2 nodes; and in response to determining that the subset includes at least (N+1)/2 nodes, causing the request to perform the write operation to be routed to the second node.
地址 Klil IL