[SERVER-28734] Recover WiredTiger data files when lacking metadata, but have _mdb_catalog data Created: 11/Apr/17 Updated: 14/Aug/18 Resolved: 08/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.2, 4.1.2 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Louis Williams |
| Resolution: | Done | Votes: | 0 |
| Labels: | SEKB | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||
| Sprint: | Storage NYC 2018-07-02, Storage NYC 2018-07-16, Storage NYC 2018-07-30, Storage NYC 2018-08-13 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Occasionally someone might accidentally delete a metadata file - it would be nice to have a way to fetch all the bson from the data files that are now "orphaned". This ticket will only support this behavior on Unix systems. |
| Comments |
| Comment by Githook User [ 14/Aug/18 ] |
|
Author: {'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams'}Message: (cherry picked from commit 840cf50e5b071103fca33ff24e39333064c07f18) Conflicts: |
| Comment by Githook User [ 08/Aug/18 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |
| Comment by Githook User [ 13/Jul/18 ] |
|
Author: {'username': 'xy24', 'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com'}Message: Revert " This reverts commit ca2b902002110013479af34f0ce6dee9906d9ad9. |
| Comment by Githook User [ 10/Jul/18 ] |
|
Author: {'username': 'louiswilliams', 'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com'}Message: |
| Comment by Louis Williams [ 28/Jun/18 ] |
|
This ticket will allow WiredTiger.wt files that have orphaned a collection as a result of a salvage to rebuild the metadata for that collection during repair.
|