summaryrefslogtreecommitdiff
path: root/db/repl/rs_initialsync.cpp
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2010-09-27 12:35:22 -0400
committerdwight <dwight@10gen.com>2010-09-27 12:35:22 -0400
commitc1b68a13dea69fce069eec237901cf3511052cf5 (patch)
treeecfa24f587f77218ed482fc324d3241858e6d123 /db/repl/rs_initialsync.cpp
parent57aa5b4d16f63d86690e8b325e27e6997729483e (diff)
downloadmongo-c1b68a13dea69fce069eec237901cf3511052cf5.tar.gz
towards durability
Diffstat (limited to 'db/repl/rs_initialsync.cpp')
-rw-r--r--db/repl/rs_initialsync.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl/rs_initialsync.cpp b/db/repl/rs_initialsync.cpp
index 3851c66827d..a0579ac967e 100644
--- a/db/repl/rs_initialsync.cpp
+++ b/db/repl/rs_initialsync.cpp
@@ -74,7 +74,7 @@ namespace mongo {
NamespaceDetails *d = nsdetails(rsoplog);
// temp
- if( d && d->nrecords == 0 )
+ if( d && d->stats.nrecords == 0 )
return; // already empty, ok.
log(1) << "replSet empty oplog" << rsLog;