Fixed potential loss of transfer log during failover