Skip to content

Commit

Permalink
DRIVERS-2045 Make the description of TopologyDescription.servers cons…
Browse files Browse the repository at this point in the history
…istent with the spec tests. (#1722)
  • Loading branch information
matthewdale authored Nov 6, 2024
1 parent daf9e07 commit 50059b2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Fields:
(`electionId`, `setVersion`) tuple.
- `maxSetVersion`: an integer or null. The largest setVersion ever reported by a primary. It may not monotonically
increase, as electionId takes precedence in ordering Default null. Part of the (`electionId`, `setVersion`) tuple.
- `servers`: a set of ServerDescription instances. Default contains one server: "localhost:27017", ServerType Unknown.
- `servers`: a set of ServerDescription instances, one for each of the servers in the topology.
- `stale`: a boolean for single-threaded clients, whether the topology must be re-scanned. (Not related to
maxStalenessSeconds, nor to stale primaries.)
- `compatible`: a boolean. False if any server's wire protocol version range is incompatible with the client's. Default
Expand Down Expand Up @@ -1921,6 +1921,8 @@ oversaw the specification process.

## Changelog

- 2024-11-04: Make the description of `TopologyDescription.servers` consistent with the spec tests.

- 2024-08-16: Updated host b wire versions in `too_new` and `too_old` tests

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

0 comments on commit 50059b2

Please sign in to comment.