GODRIVER-1247ClosedFixed

connection leak with change stream

Using the latest, when creating change streams with Watch(), it looks like connections may be getting leaked. Here's a minimal test case that illustrates the behavior: When the code gets into the sleep loop at the end, there are lots of connections still open against the server. Running the same code using an older version of the driver results in the connection count going back down. Using git bisect, it looks like the change in behavior was introduced in df0f8c44059d04f60f45ebc8510065d43

Affected Versions
Versions known to exhibit this issue
1.1.0
Fixed Versions
Versions that include the fix
1.1.1
Components
Server components related to this issue
CRUD
Labels
Tags and classification

No labels assigned.