diff options
author | Shaun Verch <shaun.verch@10gen.com> | 2013-09-18 14:02:36 -0400 |
---|---|---|
committer | Shaun Verch <shaun.verch@10gen.com> | 2013-10-04 16:58:54 -0400 |
commit | 6fc951d492881a32754bc3e38e8b5eca78929197 (patch) | |
tree | 73c2afe3120a8a87cf3bc8379e53461b2cf05b1e /src/mongo/db/repl/rs_sync.cpp | |
parent | 99372153dfe9dd9251e49371d872b5f27dfd6f2c (diff) | |
download | mongo-6fc951d492881a32754bc3e38e8b5eca78929197.tar.gz |
SERVER-8510 Get rid of CmdLine struct and use new option handling style
Diffstat (limited to 'src/mongo/db/repl/rs_sync.cpp')
-rw-r--r-- | src/mongo/db/repl/rs_sync.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/rs_sync.cpp b/src/mongo/db/repl/rs_sync.cpp index 259bbf70d09..bfa54421217 100644 --- a/src/mongo/db/repl/rs_sync.cpp +++ b/src/mongo/db/repl/rs_sync.cpp @@ -43,6 +43,7 @@ #include "mongo/db/repl/oplog.h" #include "mongo/db/repl/rs.h" #include "mongo/db/repl/rs_sync.h" +#include "mongo/db/storage_options.h" #include "mongo/util/fail_point_service.h" #include "mongo/db/commands/server_status.h" #include "mongo/db/stats/timer_stats.h" @@ -116,7 +117,7 @@ namespace replset { lk.reset(new Lock::DBWrite(ns)); } - Client::Context ctx(ns, dbpath); + Client::Context ctx(ns, storageGlobalParams.dbpath); ctx.getClient()->curop()->reset(); // For non-initial-sync, we convert updates to upserts // to suppress errors when replaying oplog entries. |