[SERVER-12977] Write commands should error on empty array of operations Created: 28/Feb/14  Updated: 11/Jul/16  Resolved: 17/Mar/14

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: 2.6.0-rc0
Fix Version/s: 2.6.0-rc2

Type: Bug Priority: Minor - P4
Reporter: Mathias Stearn Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-13172 Cryptic error when trying to update w... Closed
Related
related to SERVER-13113 shell API does not validate write con... Backlog
Operating System: ALL
Participants:

 Description   

Currently they appear to be treated as no-ops.



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

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12977 disallow empty write batches

Also fix shell batch processing to avoid extra empty batches.
(cherry picked from commit b5756056a7b5acba550a7d31a587f3a5b7651e00)
Branch: v2.6
https://github.com/mongodb/mongo/commit/9c6fcdd2777b25ecd1a85c92704bf65bb5ca0c7c

Comment by Githook User [ 17/Mar/14 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-12977 disallow empty write batches

Also fix shell batch processing to avoid extra empty batches.
Branch: master
https://github.com/mongodb/mongo/commit/b5756056a7b5acba550a7d31a587f3a5b7651e00

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