发明名称 UPDATING DISTRIBUTED SHARDS WITHOUT COMPROMISING ON CONSISTENCY
摘要 In an example embodiment, a first data change and a second data change to data stored in a distributed database are received. The first data change and the second data change are batched in a communication to an index manager. The distributed database is reindexed based on the first data change and the second data change by creating a revised first shard index for a first shard in the distributed database and a revised second shard index for a second shard in the distributed database. The first shard and the second shard are instructed to update respective shard indexes. Confirmation that the first shard index has been updated is received. Then confirmation that the second shard index has been updated is received. In response to both of the confirmations, both the first shard and the second shard are instructed to commit their respective updates.
申请公布号 US2016203168(A1) 申请公布日期 2016.07.14
申请号 US201514645168 申请日期 2015.03.11
申请人 Gangadharappa Kiran;Shahane Dinesh 发明人 Gangadharappa Kiran;Shahane Dinesh
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. A method comprising: receiving a first data change to data stored in a distributed database; receiving a second data change to the data stored in the distributed database; batching the first data change and the second data change in a communication to an index manager; reindexing the distributed database based on the first data change and the second data change by creating a revised first shard index for a first shard in the distributed database and a revised second shard index for a second shard in the distributed database; instructing the first shard to update a first shard index based on the revised first shard index; instructing the second shard to update a second shard index based on the revised second shard index; receiving confirmation that the first shard index has been updated; receiving confirmation that the second shard index has been updated; and in response to both the receiving the confirmation that the first shard index has been updated and the confirmation that the second shard index has been updated, instructing the first shard to commit the revised first shard index and the second shard to commit the revised second shard index.
地址 Mountain View CA US