[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:
Related
related to SERVER-31881 Safe rollback does not properly remov... Closed
related to SERVER-31805 rollbackViaRefetchNoUUID fails if rol... Closed
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: SERVER-30413 Add function to set options.temp when resyncing collection metadata for
rollback
Branch: master
https://github.com/mongodb/mongo/commit/c0c28f5663d232c67949ba3c6a5536c50018d0d0

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