Skip to content

Commit 3693328

Browse files
fixing duplicate replset _id's
1 parent aded475 commit 3693328

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/travis-ci/run-cluster.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pushd $(dirname $0)
4848
members: [
4949
{ _id: 0, host: "mongo-cs-1:27017" },
5050
{ _id: 1, host: "mongo-cs-2:27017" },
51-
{ _id: 1, host: "mongo-cs-3:27017" }
51+
{ _id: 2, host: "mongo-cs-3:27017" }
5252
]
5353
})'
5454
fi
@@ -59,7 +59,7 @@ pushd $(dirname $0)
5959
members: [
6060
{ _id: 0, host: "mongo-rs0-1:27017" },
6161
{ _id: 1, host: "mongo-rs0-2:27017" },
62-
{ _id: 1, host: "mongo-rs0-3:27017", priority: 0 }
62+
{ _id: 2, host: "mongo-rs0-3:27017", priority: 0 }
6363
]
6464
})'
6565

scripts/travis-ci/run-replset.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pushd $(dirname $0)
2727
members: [
2828
{ _id: 0, host: "mongo-rs0-1:27017" },
2929
{ _id: 1, host: "mongo-rs0-2:27017" },
30-
{ _id: 3, host: "mongo-rs0-3:27017", priority: 0 }
30+
{ _id: 2, host: "mongo-rs0-3:27017", priority: 0 }
3131
]
3232
})'
3333

0 commit comments

Comments
 (0)