You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--^ Open connections (on demand) to servers in replica set. Supplied hosts is seed list. At least one of them must be a live member of the named replica set, otherwise fail. Supplied seconds timeout is used for connect attempts to members.
--^ Open secure connections (on demand) to servers in the replica set. Supplied hosts is seed list. At least one of them must be a live member of the named replica set, otherwise fail. The value of 'globalConnectTimeout' at the time of this call is the timeout used for future member connect attempts. To use your own value call 'openReplicaSetTLS'' instead.
--^ Open secure connections (on demand) to servers in replica set. Supplied hosts is seed list. At least one of them must be a live member of the named replica set, otherwise fail. Supplied seconds timeout is used for connect attempts to members.
let rs =ReplicaSet rsName vMembers timeoutSecs transportSecurity
164
162
_ <- updateMembers rs
165
163
return rs
166
164
167
-
openReplicaSetSRV::HostName->IOReplicaSet
165
+
openReplicaSetSRV::HostName->IOReplicaSet
168
166
--^ Open /non-secure/ connections (on demand) to servers in a replica set. The seedlist and replica set name is fetched from the SRV and TXT DNS records for the given hostname. The value of 'globalConnectTimeout' at the time of this call is the timeout used for future member connect attempts. To use your own value call 'openReplicaSetSRV''' instead.
169
-
openReplicaSetSRV hostname =do
167
+
openReplicaSetSRV hostname =do
170
168
timeoutSecs <- readIORef globalConnectTimeout
171
169
_openReplicaSetSRV timeoutSecs Unsecure hostname
172
170
173
-
openReplicaSetSRV'::HostName->IOReplicaSet
171
+
openReplicaSetSRV'::HostName->IOReplicaSet
174
172
--^ Open /secure/ connections (on demand) to servers in a replica set. The seedlist and replica set name is fetched from the SRV and TXT DNS records for the given hostname. The value of 'globalConnectTimeout' at the time of this call is the timeout used for future member connect attempts. To use your own value call 'openReplicaSetSRV'''' instead.
175
173
--
176
174
-- The preferred connection method for cloud MongoDB providers. A typical connecting sequence is shown in the example below.
--^ Open /non-secure/ connections (on demand) to servers in a replica set. The seedlist and replica set name is fetched from the SRV and TXT DNS records for the given hostname. Supplied seconds timeout is used for connect attempts to members.
--^ Open /secure/ connections (on demand) to servers in a replica set. The seedlist and replica set name is fetched from the SRV and TXT DNS records for the given hostname. Supplied seconds timeout is used for connect attempts to members.
0 commit comments