[GODRIVER-2243] IndexView.CreateMany should wrap driver.ErrUnacknowledgedWrite Created: 25/Nov/21 Updated: 28/Oct/23 Resolved: 01/Dec/21 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.8.1 |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Reilly Watson | Assignee: | Matt Dale |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
If I create an index like so:
I get back the error go.mongodb.org/mongo-driver/x/mongo/driver.ErrUnacknowledgedWrite. This should presumably be mongo.ErrUnacknowledgedWrite! Other operations that return this call processWriteErr() to transform it, but it's missing from IndexView.CreateMany(). |
| Comments |
| Comment by Githook User [ 08/Dec/21 ] |
|
Author: {'name': 'Reilly Watson', 'email': 'reillywatson@gmail.com', 'username': 'reillywatson'}Message: |
| Comment by Githook User [ 01/Dec/21 ] |
|
Author: {'name': 'Reilly Watson', 'email': 'reillywatson@gmail.com', 'username': 'reillywatson'}Message: |
| Comment by Kevin Albertson [ 29/Nov/21 ] |
|
Thank you for the report and PR rwatson@league.com! We will take a look at this soon. |