More work on log replication.