[SERVER-36208] remove repairDatabase server command and shell helper Created: 20/Jul/18  Updated: 29/Oct/23  Resolved: 13/Aug/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.2

Type: Improvement Priority: Major - P3
Reporter: Asya Kamsky Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-11960 Docs for SERVER-36208: remove repairD... Closed
Problem/Incident
causes SERVER-43243 Reintroduce unused repairDatabase Act... Closed
Related
related to WT-707 Shorter serialization locks Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-08-13, Storage NYC 2018-08-27
Participants:
Linked BF Score: 5

 Description   

Repair should only be done via command line repair mechanism.

repairDatabase command should be removed.

Compact command should be used if collections need to be compacted.



 Comments   
Comment by Githook User [ 13/Aug/18 ]

Author:

{'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams'}

Message: SERVER-36208 Use http docuhub link instead of https
Branch: master
https://github.com/mongodb/mongo/commit/e635f4e9552ed3362399850bd993518e7e87b2c6

Comment by Githook User [ 13/Aug/18 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-36208 Remove repairDatabase server command and shell helper
Branch: master
https://github.com/mongodb/mongo/commit/f899002aade5d8fa1cbf0b1ad79e3088b8d4b050

Comment by Louis Williams [ 31/Jul/18 ]

When removed, the command should return a helpful error with a dochub link for running --repair.

Comment by Asya Kamsky [ 25/Jul/18 ]

I'm renaming this ticket as I believe now we should simply remove the command.

 

Comment by Eric Milkie [ 20/Jul/18 ]

Should the compactDatabase command have the same behavior as if one ran a series of compact commands on every collection in the database?

Generated at Thu Feb 08 04:42:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.