[SERVER-9699] Remove clean command Created: 15/May/13  Updated: 11/Jul/16  Resolved: 24/Jun/13

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.4.6, 2.5.1

Type: Task Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-9691 Clean command crashes mongod on windo... Closed
Related
Backwards Compatibility: Minor Change
Participants:

 Description   

I've looked around and the clean command doesn't seem to be used in any tests (aside from one which tests it exists and has comment to that effect). There are references to a cleanAll in collection.js but that doesn't seem to exist.

This command just purges the deleted list of documents and seem useless at this point. It will leak those deleted documents' space.



 Comments   
Comment by auto [ 02/Aug/13 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-9699: remove clean command

Conflicts:
src/mongo/db/dbcommands_admin.cpp
Branch: v2.4
https://github.com/mongodb/mongo/commit/e0ae2fd180827aeafe69644f66478459d026b30a

Comment by auto [ 24/Jun/13 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-9699: remove clean command
Branch: master
https://github.com/mongodb/mongo/commit/1515efcb5e385299fe97859d0d672f33ad40eed2

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