Skip to content

Commit 0e3fae8

Browse files
committed
Use readable name for the replicaset nodes
1 parent 21a22c6 commit 0e3fae8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

scripts/presets/replicaset.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"ordinal": "one",
2323
"dc": "pa"
2424
}
25-
}
25+
},
26+
"server_id": "RS-one"
2627
},
2728
{
2829
"procParams": {
@@ -44,7 +45,8 @@
4445
"ordinal": "two",
4546
"dc": "nyc"
4647
}
47-
}
48+
},
49+
"server_id": "RS-two"
4850
},
4951
{
5052
"procParams": {
@@ -62,7 +64,9 @@
6264
},
6365
"rsParams": {
6466
"arbiterOnly": true
65-
}
67+
68+
},
69+
"server_id": "RS-arbiter"
6670
}
6771
]
6872
}

0 commit comments

Comments
 (0)