refactor replication

replication log format is not compatibility