[SERVER-32594] Add mechanism to delete and recreate the "catalog". Created: 09/Jan/18 Updated: 30/Oct/23 Resolved: 02/Feb/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.2 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Daniel Gottlieb (Inactive) | Assignee: | Kyle Suarez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | rollback-functional | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Storage 2018-01-15, Storage 2018-01-29, Storage 2018-02-12 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Description |
|
Recover to stable timestamp works by "pulling the rug out" from underneath in-memory state, which is constructed from the storage engine's data. To safely recreate the in-memory state, internal caches will be rebuilt. This includes rebuilding the "catalog". In short, this work should expose one method to throw away and one method to recreate the catalog. In between these methods, recover to a stable timestamp can "pull the rug out". Requirements:
Assumptions:
Constraints:
Out of scope:
|
| Comments |
| Comment by Kyle Suarez [ 02/Feb/18 ] |
|
Per Slack conversation with Geert, moving catalog_control.cpp to the catalog_helpers library will induce a library cycle with the repl/oplog library, so punting the reorganization to a future commit. |
| Comment by Kyle Suarez [ 31/Jan/18 ] |
|
Re-opening this so I can make a minor adjustment to the shared libraries. |
| Comment by Githook User [ 31/Jan/18 ] |
|
Author: {'email': 'kyle.suarez@mongodb.com', 'name': 'Kyle Suarez', 'username': 'ksuarz'}Message: |