Storage systems based on weak consistency provide better availability and lower latency than systems that use strong consistency, especially in geo-replicated settings. However, under weak consistency, it is harder to ensure the correctness of applications, as the execution of uncoordinated operations may lead to invalid states. In this paper we show how to modify an application to make it run ...