From 2308e25ae49bc53f4790851918f2da586eaad6a0 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Fri, 22 Mar 2013 15:51:08 -0400 Subject: SERVER-9087: fix initial sync ignoring updates during index creation --- src/mongo/db/cloner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mongo/db/cloner.cpp b/src/mongo/db/cloner.cpp index 26eb5baa639..233410b4590 100644 --- a/src/mongo/db/cloner.cpp +++ b/src/mongo/db/cloner.cpp @@ -389,6 +389,7 @@ namespace mongo { mayInterrupt( opts.mayBeInterrupted ); dbtempreleaseif r( opts.mayYield ); +#if 0 // fetch index info auto_ptr cur = _conn->query(idxns.c_str(), BSONObj(), 0, 0, 0, opts.slaveOk ? QueryOption_SlaveOk : 0 ); @@ -415,7 +416,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? -- cgit v1.2.1