摘要 |
Various systems and methods for interval-controlled replication are described. For example, one method involves a node receiving a first interval indication indicating start of a first interval. After receiving the first interval indication, an application on the node initiates a first write, which includes the node initiating a first local write and a first remote write. The first local write accesses a local storage. The first remote write accesses a remote storage and replicates the first local write. The node waits for acknowledgements indicating that the local and remote writes have finished, as well as for a second interval indication, before the first write from the application is treated being complete. |
主权项 |
1. A method, comprising:
receiving, at a local node,
a first write from an application, anda first interval indication, wherein
the first interval indication indicates a start of a first interval, andthe first interval indication is one of a plurality of interval indications; first initiating, at the local node, a first local write, a first remote write, and a second remote write, wherein
the first initiating is performed in response to receipt of the first interval indication,
the first local write accesses a local storage of the local node,the first local write is based on the first write,the first remote write accesses a first remote storage,the first remote write replicates the first local write,the second remote write accesses a second remote storage, andthe second remote write replicates the first local write; receiving, at the local node, a first remote write acknowledgement, wherein
the first remote write acknowledgement indicates that the first remote storage completed the first remote write; receiving, at the local node, a second remote write acknowledgement, wherein
the second remote write acknowledgement indicates that the second remote storage completed the second remote write; receiving a second interval indication of the plurality of interval indications; and acknowledging a completion of the first remote write and a completion of the second remote write, wherein
the acknowledging of each completion is communicated to the application, andthe acknowledging is performed in response to receipt of the first remote write acknowledgement, the second remote write acknowledgement, and the second interval indication. |