[SERVER-25115] emptycapped test command doesn't verify arguments Created: 15/Jul/16  Updated: 02/Sep/16  Resolved: 15/Aug/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 3.0.0
Fix Version/s: 3.3.12

Type: Bug Priority: Major - P3
Reporter: Michael Grundy Assignee: Jonathan Abrahams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-25410 Drop of collection system.indexes can... Closed
related to SERVER-25409 Rename emptycapped command to truncate Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: TIG 18 (08/05/16), TIG 2016-08-29
Participants:
Linked BF Score: 0

 Description   

The emptycapped test command doesn't verify the namespace passed to it.



 Comments   
Comment by Githook User [ 15/Aug/16 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-25115 emptycapped test command doesn't verify arguments
Branch: master
https://github.com/mongodb/mongo/commit/dcaadaa68ff9f0ea7e1215306eb399b79b147ddf

Comment by Jonathan Abrahams [ 27/Jul/16 ]

kamran.khan The code masserts under the following conditions:

  • DB does not exist
  • Collection does not exist
    Do we want to change the massert to a return status error?
Generated at Thu Feb 08 04:08:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.