[GODRIVER-2867] Connection leak caused by connection-to-transaction pinning when connected to a load balancer Created: 09/Jun/23 Updated: 28/Oct/23 Resolved: 26/Jul/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.12.1, 1.11.8, 1.11.9 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Huan Li | Assignee: | Matt Dale |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Case: | (copied to CRM) | ||||||||||||
| Documentation Changes: | Not Needed | ||||||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 26/Jul/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: |
| Comment by Githook User [ 26/Jul/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: |
| Comment by Githook User [ 26/Jul/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: |
| Comment by Matt Dale [ 21/Jul/23 ] |