Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30413

Add function to set options.temp when resyncing collection metadata for rollback

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.13
    • Affects Version/s: Backlog
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2017-09-11

      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.

            Assignee:
            william.schultz@mongodb.com Will Schultz
            Reporter:
            allison.chang Allison Chang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: