Remove member from the current replica set 192.168.2.211:27017 Before running the rs.remove() operation, it is best to close the replica set member to be deleted. By default, the replica set member waits for 5 minutes, and then disconnects the deleted member
remove(hostname) : remove the specified member from the current replica set
I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.