Thanks, this fixed my issue.
When I restarted mongod after dropping local
any command I ran in mongosh gave me the error MongoServerError: node is not in primary or recovering state
. Based on this information I found I ran rs.initiate()
to reinitialize the replicas and everything seems to be working again.