Skip to content

Commit

Permalink
SERVER-9087: fix initial sync ignoring updates during index creation
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Mar 22, 2013
1 parent a67ea3a commit ae6ef38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mongo/db/cloner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ namespace mongo {
mayInterrupt( opts.mayBeInterrupted );
dbtempreleaseif r( opts.mayYield );

#if 0
// fetch index info
auto_ptr<DBClientCursor> cur = _conn->query(idxns.c_str(), BSONObj(), 0, 0, 0,
opts.slaveOk ? QueryOption_SlaveOk : 0 );
Expand All @@ -420,7 +421,7 @@ namespace mongo {
_sortersForNS[idxEntry["ns"].String()].insert(make_pair(idxEntry["name"].String(),
details));
}

#endif
// just using exhaust for collection copying right now

// todo: if snapshot (bool param to this func) is true, we need to snapshot this query?
Expand Down

0 comments on commit ae6ef38

Please sign in to comment.