[SERVER-9641] correctly pass fromMigrate flag on migration index creation Created: 09/May/13  Updated: 11/Jul/16  Resolved: 10/May/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.4.3
Fix Version/s: 2.5.0

Type: Bug Priority: Minor - P4
Reporter: Greg Studer Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 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.



 Comments   
Comment by auto [ 09/May/13 ]

Author:

{u'date': u'2013-05-09T19:09:58Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-9641 correctly pass fromMigrate flag on index creation
Branch: master
https://github.com/mongodb/mongo/commit/e54e86b4d3c36f6762ff63c03d824b1eaec0c2df

Generated at Thu Feb 08 03:21:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.