A system and method for replicating data in a computer system is
disclosed. In one embodiment, data replication between a source subsystem
and a target subsystem may be selectively changed between synchronous
data transfer and asynchronous data transfer based on the occurrence of
selected conditions. In another embodiment, a repository subsystem allows
write statements to be queued during the time that the target subsystem
is unable to replicate data from the source subsystem.