modified the replica server, now the main server only generates transaction IDs and modified timeout checks