christkv/node-mongodb-native — Issue #492: Connection leak when replica set changes
Author: squamos
Created: 2012-02-02 02:18:45+00:00
State: open

When a replica set change is detected, every server in ReplSetServers attempts to reconnect to the server regardless of whether the server is already connect (connection pool still has active connections). A new connection pool is instantiated to replace the previous connection pool but connections from the old connection pool are not closed.