File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 54
54
- " mongod"
55
55
- " --wiredTigerCacheSizeGB"
56
56
- " 0.25"
57
+ - " --bind_ip"
58
+ - " 0.0.0.0"
57
59
- " --replSet"
58
60
- " MainRepSet"
59
61
- " --auth"
Original file line number Diff line number Diff line change 24
24
# Wait for the MongoDB Replica Set to have a primary ready
25
25
echo " Waiting for the MongoDB Replica Set to initialise..."
26
26
kubectl exec mongod-0 -c mongod-container -- mongo --eval ' while (rs.status().hasOwnProperty("myState") && rs.status().myState != 1) { print("."); sleep(1000); };'
27
- sleep 2 # Just a little more sleep to ensure everything is ready!
27
+ # sleep 2 # Just a little more sleep to ensure everything is ready!
28
+ sleep 20 # More sleep to ensure everything is ready! (3.6.0 workaround for https://jira.mongodb.org/browse/SERVER-31916 )
28
29
echo " ...initialisation of MongoDB Replica Set completed"
29
30
echo
30
31
You can’t perform that action at this time.
0 commit comments