With this change the max_pool_size named parameter to
MongoClient is removed. It is replaced by the maxPoolSize
MongoDB URI option, which can be passed in a URI, or as a
keyword argument to MongoClient.
CursorManager was deprecated in PYTHON-323. Now we undeprecate it, but we remove
BatchCursorManager. MongoClient.set_cursor_manager now accepts None in addition
to accepting a CursorManager subclass. CursorManager.close now requires, and
MongoClient.kill_cursors accepts, an "address" parameter.
Most tests now inherit from IntegrationTest and use self.client for all MongoDB
operations. self.client is now a replica set connection if an RS is available,
otherwise a connection to a standalone.
The Server Discovery And Monitoring Spec has replaced the term "cluster"
with "topology", since "cluster" in MongoDB terminology should be reserved
for sharded clusters. "Topology" describes a single server, replica set, or a
set of mongoses.
The previous commit replaced "cluster" with "topology" in file names. Here
I replace the term in class and variable names.