diff options
author | dwight <dwight@10gen.com> | 2010-09-27 12:35:22 -0400 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2010-09-27 12:35:22 -0400 |
commit | c1b68a13dea69fce069eec237901cf3511052cf5 (patch) | |
tree | ecfa24f587f77218ed482fc324d3241858e6d123 /db/repl/rs_initialsync.cpp | |
parent | 57aa5b4d16f63d86690e8b325e27e6997729483e (diff) | |
download | mongo-c1b68a13dea69fce069eec237901cf3511052cf5.tar.gz |
towards durability
Diffstat (limited to 'db/repl/rs_initialsync.cpp')
-rw-r--r-- | db/repl/rs_initialsync.cpp | 2 |
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; |