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

correctly pass fromMigrate flag on migration index creation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      In d_migrate.cpp, we're accidentally passing the fromMigrate flag as the god mode flag when initially creating to-side indexes.

      theDataFileMgr.insertAndLog( system_indexes.c_str() , idx, true /* flag fromMigrate in oplog */ );

      There are two boolean params to insertAndLog, fromMigrate is the second.

      No impact aside from index creation not being tagged as fromMigrate.

        Attachments

          Activity

            People

            • Assignee:
              greg_10gen Greg Studer
              Reporter:
              greg_10gen Greg Studer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: