[SERVER-30413] Add function to set options.temp when resyncing collection metadata for rollback Created: 28/Jul/17 Updated: 30/Oct/23 Resolved: 29/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | Backlog |
| Fix Version/s: | 3.5.13 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Allison Chang | Assignee: | William Schultz (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Repl 2017-09-11 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
When rolling back a renameCollection operation, we need to resync the metadata as well from the sync source in order to check whether or not the collection is a temp collection or not. Currently, there is no way to set the options.temp field in the collection options. In order to set options.temp, a function must be added into collection_catalog_entry.h and namespace_details_collection_entry.h/.cpp to set the options.temp field for a collection. |
| Comments |
| Comment by Githook User [ 29/Aug/17 ] |
|
Author: {'name': 'William Schultz', 'username': 'will62794', 'email': 'william.schultz@mongodb.com'}Message: |