Hyper-V Replica failed to apply the log file onto the VHD for virtual machine '%1'. (Virtual machine ID %2). An out-of-bounds ...

Hyper-V Replica failed to apply the log file onto the VHD for virtual machine '%1'. (Virtual machine ID %2). An out-of-bounds write was encountered on the Replica virtual machine. The primary server VHD might have been resized. Ensure that the disk sizes of the Primary and Replica virtual machines are the same.