diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-10-16 10:20:48 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-10-16 10:20:48 -0400 |
commit | 7a0324acadf71bb634722fd04ba2f95f5f78568f (patch) | |
tree | 3e2bc4353f75bf7ba6cf93acf0f39e0031ec0447 | |
parent | 8a7c1d8c1de1001b3227d065790024252a1021eb (diff) | |
download | mongo-7a0324acadf71bb634722fd04ba2f95f5f78568f.tar.gz |
comment about repl and id index MINOR
-rw-r--r-- | db/repl.cpp | 5 |
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); } } |