Patent ID: 8103937

Claim:
A method for executing a command in a replicated environment comprising a replication appliance and a production site, the method comprising: intercepting the command at a splitter; wherein the command comprises a atomic test and set (ATS) request; adding meta data associated with the command to a backlog; sending the meta data to the replication appliance; determining success of the meta data at the production site; based on a failure of the meta data, determining the type of failure; based on a determination of a failure, executing a failure determination comprising: determining whether the failure is a command not supported command; based on a positive determination that the failure is a command not supported, failing the ATS command; and based on a negative determination that the command is not supported moving the splitter to marking on host (MOH) mode; based on success of the meta data, proceeding with processing of the command at the production site; and sending the ATS command to storage.