diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2014-08-29 12:49:19 -0400 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2014-09-09 12:54:42 -0400 |
commit | da86d5ed4f14dbd05fa713b530759a11ab9b149c (patch) | |
tree | 205f9046cb887e28a4e853275dcf3d63cabbfe76 /src/mongo/db/repl/repl_set_impl.cpp | |
parent | fe1c74d2656b3609f529842a7c810034671ddea1 (diff) | |
download | mongo-da86d5ed4f14dbd05fa713b530759a11ab9b149c.tar.gz |
SERVER-14668 remove no-OpCtx DBDirectClient and update all former users
Diffstat (limited to 'src/mongo/db/repl/repl_set_impl.cpp')
-rw-r--r-- | src/mongo/db/repl/repl_set_impl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/repl/repl_set_impl.cpp b/src/mongo/db/repl/repl_set_impl.cpp index 3271a5a7100..ce5b0310832 100644 --- a/src/mongo/db/repl/repl_set_impl.cpp +++ b/src/mongo/db/repl/repl_set_impl.cpp @@ -766,7 +766,7 @@ namespace { try { OwnedPointerVector<ReplSetConfig> configs; try { - configs.mutableVector().push_back(ReplSetConfig::makeDirect()); + configs.mutableVector().push_back(ReplSetConfig::makeDirect(txn)); } catch (DBException& e) { log() << "replSet exception loading our local replset configuration object : " @@ -776,7 +776,7 @@ namespace { i != _seeds->end(); i++) { try { - configs.mutableVector().push_back(ReplSetConfig::make(*i)); + configs.mutableVector().push_back(ReplSetConfig::make(txn, *i)); } catch (DBException& e) { log() << "replSet exception trying to load config from " << *i @@ -792,7 +792,7 @@ namespace { i++) { try { configs.mutableVector().push_back( - ReplSetConfig::make(HostAndPort(*i))); + ReplSetConfig::make(txn, HostAndPort(*i))); } catch (DBException&) { LOG(1) << "replSet exception trying to load config from discovered " @@ -805,7 +805,7 @@ namespace { if (!replSettings.reconfig.isEmpty()) { try { - configs.mutableVector().push_back(ReplSetConfig::make(replSettings.reconfig, + configs.mutableVector().push_back(ReplSetConfig::make(txn, replSettings.reconfig, true)); } catch (DBException& re) { |