summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-10-16 10:20:48 -0400
committerEliot Horowitz <eliot@10gen.com>2009-10-16 10:20:48 -0400
commit7a0324acadf71bb634722fd04ba2f95f5f78568f (patch)
tree3e2bc4353f75bf7ba6cf93acf0f39e0031ec0447
parent8a7c1d8c1de1001b3227d065790024252a1021eb (diff)
downloadmongo-7a0324acadf71bb634722fd04ba2f95f5f78568f.tar.gz
comment about repl and id index MINOR
-rw-r--r--db/repl.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/repl.cpp b/db/repl.cpp
index 895fbc623bf..4a119fd86fd 100644
--- a/db/repl.cpp
+++ b/db/repl.cpp
@@ -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);
}
}