diff options
author | Mathias Stearn <mathias@10gen.com> | 2018-01-17 17:47:05 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2018-01-19 21:43:07 -0500 |
commit | 42c264630fa1e7d5924c291a9eeac6522d70f31e (patch) | |
tree | d6fe01c798cbb2c273423388161a98fe4729caaf /src/mongo/db/repl | |
parent | 6d92ce0e7ec4e9a0cf31e9f9940a63b03968bb88 (diff) | |
download | mongo-42c264630fa1e7d5924c291a9eeac6522d70f31e.tar.gz |
SERVER-25345 remove wassert
Diffstat (limited to 'src/mongo/db/repl')
-rw-r--r-- | src/mongo/db/repl/replication_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_info.cpp b/src/mongo/db/repl/replication_info.cpp index ebcbb8034ab..2a772d192dd 100644 --- a/src/mongo/db/repl/replication_info.cpp +++ b/src/mongo/db/repl/replication_info.cpp @@ -126,7 +126,7 @@ void appendReplicationInfo(OperationContext* opCtx, BSONObjBuilder& result, int } if (level > 1) { - wassert(!opCtx->lockState()->isLocked()); + invariant(!opCtx->lockState()->isLocked()); // note: there is no so-style timeout on this connection; perhaps we should have // one. ScopedDbConnection conn(s["host"].valuestr()); |