[SERVER-35782] Repair should move aside unsalvageable data files and create empty ones in their place Created: 25/Jun/18 Updated: 29/Oct/23 Resolved: 23/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.3, 4.1.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | nyc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||
| Sprint: | Storage NYC 2018-07-16, Storage NYC 2018-07-30, Storage NYC 2018-08-27 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
If a collection is unsalvageable by WiredTiger, the data file should be moved aside (potentially to a .corrupt file name), and a new, empty collection should be created in its place. Currently, repair fails if a collection is unsalvageable. This behavior should be changed so that the database can be started normally even if collections cannot be salvaged. |
| Comments |
| Comment by Githook User [ 18/Sep/18 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: (cherry picked from commit 60ed4a2dbfa1a80c9bb8da87a6d2fa55b55dffa4) Conflicts: |
| Comment by Githook User [ 23/Aug/18 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |