Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
comment about repl and id index MINOR
  • Loading branch information
erh committed Oct 16, 2009
1 parent 8a7c1d8 commit 7a0324a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion db/repl.cpp
Expand Up @@ -789,7 +789,10 @@ namespace mongo {
else {
BSONObjBuilder b;
b.append(_id);
RARELY ensureHaveIdIndex(ns); // otherwise updates will be slow

/* erh 10/16/2009 - this is probably not relevant any more since its auto-created, but not worth removing */
RARELY ensureHaveIdIndex(ns); // otherwise updates will be slow

_updateObjects(ns, o, b.done(), true, ss);
}
}
Expand Down

0 comments on commit 7a0324a

Please sign in to comment.