replication without making the consumer database readonly