[GODRIVER-667] Default write concern should not be appended. Created: 30/Nov/18 Updated: 28/Oct/23 Resolved: 19/Dec/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | None |
| Fix Version/s: | 0.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
If a collection is created with a default write concern: coll := db.Collection("collName", options.Collection().SetWriteConcern(writeconcern.New())), write operations on the collection send serialize an empty write concern but should not. |
| Comments |
| Comment by Githook User [ 19/Dec/18 ] |
|
Author: {'username': 'skriptble', 'email': 'kris@mongodb.com', 'name': 'Kris Brandow'}Message: Ensure default write concern is not appended Change-Id: Ia289f0a894ca7ce97025bc33ba324b6f9e86efd7 |
| Comment by Kristofer Brandow (Inactive) [ 18/Dec/18 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/437741. |