In a Live migration, the Mongosync kept crashing because the connection pool is empty. After we added pool monitoring, we found the pinned connection to transactions kept increasing and never decreases. After talking with matt.dale@mongodb.com , we think there could be a potential driver bug that caused the connection never get released when the client is connected with a load balancer unless that session is used to run another transaction or other non-transaction operation.
Please prioritize the fix because live migration would be potentially blocked by this bug.
- related to
-
GODRIVER-3034 Drivers should unpin connections when ending a session
- Backlog
-
DRIVERS-2647 Drivers should unpin connections when ending a session
- Implementing