A non-transitory computer-readable storage medium embodying a set of instructions, which when executed by a processing resource of a multi-site distributed storage system cause the processing resource to:
- maintain state information regarding a data replication status for a storage object of a primary storage cluster with the storage object being replicated to a replicated storage object of a secondary storage cluster;
- temporarily disallow input/output (I/O) operations for the storage object when the storage object of the primary storage cluster has a connection loss or failure, which causes an internal state as out of sync for the storage object of the primary storage cluster while maintaining an external state as in sync for external entities in order to provide time for reestablishing synchronous replication within duration of an operation (Op) timeout period;
- perform persistent inflight tracking and reconciliation of I/O operations based on a first Op log of the primary storage cluster and a second Op log of the secondary storage cluster;
- and
- perform a resynchronization between the storage object and the replicated storage object based on the persistent inflight tracking and reconciliation of I/O operations using the first Op log of the primary storage cluster and the second Op log of the secondary storage cluster.