[GODRIVER-1302] Topology.String should take {{serversLock}} Created: 05/Sep/19 Updated: 28/Oct/23 Resolved: 23/Sep/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Core API |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Bartley | Assignee: | Isabella Siu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
This was caught by running some of out tests with -race. https://github.com/mongodb/mongo-go-driver/blob/v1.1.0/x/mongo/driver/topology/topology.go#L594. |
| Comments |
| Comment by Githook User [ 23/Sep/19 ] |
|
Author: {'username': 'bartle-stripe', 'email': 'bartle@stripe.com', 'name': 'David Bartley'}Message: Lock `serversLock` in `Topology.String`.
|
| Comment by Githook User [ 23/Sep/19 ] |
|
Author: {'name': 'David Bartley', 'username': 'bartle-stripe', 'email': 'bartle@stripe.com'}Message: Lock `serversLock` in `Topology.String`.
|
| Comment by David Bartley [ 17/Sep/19 ] |
| Comment by David Bartley [ 12/Sep/19 ] |
|
Would it be helpful for us to provide a patch to fix this, or is someone already working on this? |