erlmongo icon indicating copy to clipboard operation
erlmongo copied to clipboard

How do I use master-slave?

Open dadaxixiyou opened this issue 5 years ago • 2 comments

dadaxixiyou avatar Aug 29 '19 18:08 dadaxixiyou

mongodb:replicaSets(mongo_test, ["127.0.0.1:27017", "127.0.0.1:27018", "127.0.0.1:27019", "127.0.0.1:27020", "127.0.0.1:27021"]), mongodb:connect(mongo_test), how i can find master mongo?

dadaxixiyou avatar Aug 29 '19 23:08 dadaxixiyou

master is detected automatically

SergejJurecko avatar Aug 30 '19 06:08 SergejJurecko