[GODRIVER-74] Dangling subscriberLocks in cluster and server monitors Created: 06/Sep/17 Updated: 28/Oct/23 Resolved: 07/Sep/17 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Monitoring |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | David Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
If subscriptions are closed, the Subscribe function returns without unlocking the mutex as deferred unlocking is not used and manual unlocking was omitted in the return path. |
| Comments |
| Comment by David Golden [ 07/Sep/17 ] |
|
Fixed in https://github.com/10gen/mongo-go-driver/commit/4793690c51be2a6304191d8f5d7e3d239edeffec |