Skip to content

Commit 50059b2

Browse files
authored
DRIVERS-2045 Make the description of TopologyDescription.servers consistent with the spec tests. (#1722)
1 parent daf9e07 commit 50059b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/server-discovery-and-monitoring/server-discovery-and-monitoring.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Fields:
204204
(`electionId`, `setVersion`) tuple.
205205
- `maxSetVersion`: an integer or null. The largest setVersion ever reported by a primary. It may not monotonically
206206
increase, as electionId takes precedence in ordering Default null. Part of the (`electionId`, `setVersion`) tuple.
207-
- `servers`: a set of ServerDescription instances. Default contains one server: "localhost:27017", ServerType Unknown.
207+
- `servers`: a set of ServerDescription instances, one for each of the servers in the topology.
208208
- `stale`: a boolean for single-threaded clients, whether the topology must be re-scanned. (Not related to
209209
maxStalenessSeconds, nor to stale primaries.)
210210
- `compatible`: a boolean. False if any server's wire protocol version range is incompatible with the client's. Default
@@ -1921,6 +1921,8 @@ oversaw the specification process.
19211921

19221922
## Changelog
19231923

1924+
- 2024-11-04: Make the description of `TopologyDescription.servers` consistent with the spec tests.
1925+
19241926
- 2024-08-16: Updated host b wire versions in `too_new` and `too_old` tests
19251927

19261928
- 2024-08-09: Updated wire versions in tests to 4.0+.

0 commit comments

Comments
 (0)