handle quick master restart cause master to become out of sync