Cdcr tlog code merge