Skip to content

Commit 4eb43f8

Browse files
committed
PMM-12219 force first mongodb being a primary.
1 parent d7aec6f commit 4eb43f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/scripts/setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function cnf_servers() {
4747
{
4848
"_id": 0,
4949
"host": "${mongodb1}:${port}"
50+
"priority": 1000
5051
},
5152
{
5253
"_id": 1,

0 commit comments

Comments
 (0)