You can clone with
There are errors in both the design and the implementation. Implementation:
Design: more coordination needed. There is no reason to think that (a) client write order will be respected when writes are applied at KVS replicas (b) all writes will be applied when checkout is received.