发明名称 Synchronous replication in a distributed storage environment
摘要 Embodiments of the present invention relate to synchronously replicating data in a distributed computing environment. To achieve synchronous replication both an eventual consistency approach and a strong consistency approach are contemplated. Received data may be written to a log of a primary data store for eventual committal. The data may then be annotated with a record, such as a unique identifier, which facilitates the replay of the data at a secondary data store. Upon receiving an acknowledgment that the secondary data store has written the data to a log, the primary data store may commit the data and communicate an acknowledgment of success back to the client. In a strong consistency approach, the primary data store may wait to send an acknowledgement of success to the client until it receives an acknowledgment that the secondary has not only written, but also committed, the data.
申请公布号 US9519555(B2) 申请公布日期 2016.12.13
申请号 US201113113702 申请日期 2011.05.23
申请人 MICROSOFT TECHNOLOGY LICENSING, LLC 发明人 Calder Bradley Gene;Nilakantan Niranjan;Srivastav Shashwat;Wu Jiesheng;Abbasi Abdul Rafay;Mainali Shane;Uddaraju Padmanabha Chakravarthy
分类号 G06F17/30;G06F11/20 主分类号 G06F17/30
代理机构 代理人 Tabor Ben;Drakos Kate;Minhas Micky
主权项 1. A computer-implemented method in a distributed storage environment utilizing a processor and memory for synchronously geo-replicating data in the distributed storage environment, the method comprising: receiving data from a client at a primary data store, the primary data store comprising a log and one or more memory tables; writing the received data to the log of the primary data store, the received data not being accessible from the one or more memory tables of the primary data store prior to being committed; generating a geo message, the geo message comprising the received data and a record permitting replay of the received data at a secondary data store; communicating the geo message to the secondary data store; writing the received data in the geo message to a log of the secondary data store using the record in the geo message; at the primary data store, receiving an acknowledgment from the secondary data store that the received data was written to the log of the secondary data store, the acknowledgement being associated with the geo message; in response to receiving the acknowledgment from the secondary data store at the primary data store, committing the received data from the log of the primary data store to the primary data store, the committing the received data from the log of the primary data store to the primary data store comprising: writing the received data from the log of the primary data store to at least one memory table of the one or more memory tables of the primary data store; allowing access to the received data from the at least one memory table; and communicating from the primary data store to the client an acknowledgement of committal of the received data at the primary data store, the acknowledgment of committal indicating the received data at the primary data store is accessible to the client.
地址 Redmond WA US