[JAVA-1131] A getlasterror response with jnote or wnote should be reported by a bulk write as a write concern error Created: 06/Mar/14  Updated: 03/Apr/14  Resolved: 12/Mar/14

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.12.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: rc2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Improve getlasterror handling

 Description   

A getlasterror response with jnote or wnote should throw a BulkWriteException with a writeConcernError, as it means that the requested write concern was not applied, even though the write was applied to the primary.



 Comments   
Comment by Githook User [ 12/Mar/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1131: With bulk writes in emulation mode, treat GLE failures with either wnote or jnote as write concern errors
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/9a5bee78b77d0037549c8d53353a377f06b1eb14

Generated at Thu Feb 08 08:53:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.