Hello, I have a question…
MySet = [primary] - [secondary] - [arbiter]
Primary works fine.
[Qustion]
- When stopping the primary, the secondary should become primary, but it does not work as primary T.T
[My config]
var cfg = {
"_id": "inno-repl",
"members": [
{
"_id": 0,
"host": "inno1:27017",
"priority": 2
},
{
"_id": 1,
"host": "inno2:27017",
"priority": 0
},
{
"_id": 2,
"host": "inno3:27017",
"priority": 1,
"arbiterOnly": true
}
]
};
rs.initiate(cfg, { force: true });
rs.reconfig(cfg, { force: true });
I am wondering if there is any problem with the above settings
Thank you all have a good day.