[SERVER-12962] BatchSafeWriter::safeWriteBatch must call response->setOk in failure cases Created: 28/Feb/14  Updated: 11/Jul/16  Resolved: 28/Feb/14

Status: Closed
Project: Core Server
Component/s: Sharding, Write Ops
Affects Version/s: None
Fix Version/s: 2.6.0-rc1

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Currently the faked response fails to validate so the user gets a cryptic error about "missing ok field" rather than the correct error from the shard.

This is only an issue during upgrade.



 Comments   
Comment by Githook User [ 28/Feb/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-12962 Set ok field on failed upconverted writes
Branch: master
https://github.com/mongodb/mongo/commit/eed1cc1e26395667bc9e3ecf38a0dc9f274de362

Generated at Thu Feb 08 03:30:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.