[SERVER-9397] fromMigrate flag not set properly for index builds on sharding migrate Created: 18/Apr/13  Updated: 10/Dec/14  Resolved: 07/Mar/14

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

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

Issue Links:
Related
related to SERVER-4333 Add flag to the oplog entry for migra... Closed
Operating System: ALL
Participants:

 Description   

This line in d_migrate.cpp:
theDataFileMgr.insertAndLog( system_indexes.c_str() , idx, true /* flag fromMigrate in oplog */ );
should be:
theDataFileMgr.insertAndLog( system_indexes.c_str() , idx, false, true /* flag fromMigrate in oplog */ );



 Comments   
Comment by Eric Milkie [ 07/Mar/14 ]

Right, this problem went away when Eliot refactored the index catalog stuff. We now call logOp explicitly for the migration index builds, with fromMigrate=true.

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