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

correctly pass fromMigrate flag on migration index creation

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.5.0
    • Affects Version/s: 2.4.3
    • Component/s: None
    • None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: