[SERVER-25008] Disallow repairPath with non-mmap storage engines Created: 11/Jul/16  Updated: 20/Feb/17  Resolved: 05/Sep/16

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

Type: New Feature Priority: Major - P3
Reporter: David Hows Assignee: Michael Cahill (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-9923 storage.repairPath only applies to MM... Closed
Related
is related to DOCS-8231 Clarify the steps regarding repair da... Closed
is related to SERVER-25959 Check whether any mmapv1 options are ... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Currently, only the MMAPv1 storage engine will acknowledge the --repairPath option when specified.

WiredTiger for instance will never check if this option is set or use the option if provided. Specifying repairPath with storage engines other than MMAPv1 should fail. The documentation will be updated to reflect this in DOCS-8231.



 Comments   
Comment by Githook User [ 05/Sep/16 ]

Author:

{u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

Message: SERVER-25008 Disallow repairPath with non-mmapv1 storage engines.
Branch: master
https://github.com/mongodb/mongo/commit/078f29b7ed3361c6d19ce55a7fa32643c9987cbd

Comment by Daniel Pasette (Inactive) [ 12/Jul/16 ]

Sounds good Michael. Maybe error of any non-mmap engine.

Comment by Michael Cahill (Inactive) [ 12/Jul/16 ]

pasette, completely agree: the only way I could see to support repairPath with WiredTiger would be to make a copy of the database, then run the existing repair. I'll take this one.

Comment by Daniel Pasette (Inactive) [ 12/Jul/16 ]

I think this might be quite tricky to support with the WiredTiger storage engine. We should immediately fix the documentation that this is only supported on MMAPv1 and error out if attempted with another storage engine.

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