I did a mistake when configuring replica sets in mongodb. I think that what I did wrong is that I did a rs.initialize() on both nodes, which made them confused in some way. I'm not sure.
Now all I want to do is start over, but I couldn't find a way to de-initialize a node. So I followed the advice to delete the local*db files, thus resetting the configurations. I did that, and now nothing works.
> rs.initiate()
{
"info2" …Run Code Online (Sandbox Code Playgroud)