[CDRIVER-385] fd leaks when reconnect sharding cluster Created: 26/Jun/14 Updated: 03/May/17 Resolved: 26/Jun/14 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 0.96.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | YuQing | Assignee: | Christian Hergert |
| Resolution: | Done | Votes: | 0 |
| Labels: | driver, sharding | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS 6 |
||
| Attachments: |
|
| Description |
|
mongo c client reconnects sharding cluster for every insert because the persistent connection can't keep. the file descriptions exhaust due to the socket fd leak. |
| Comments |
| Comment by Christian Hergert [ 26/Jun/14 ] |
|
Thanks for the patch! This has been committed to git master and will be part of the next release. |