Both the Sheriff's Department and the San Diego Police Department have struggled to retain officers in recent years.San Diego Police Department