diff options
author | Benety Goh <benety@mongodb.com> | 2019-04-03 00:47:32 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2019-04-03 00:47:32 -0400 |
commit | edee95798fd655a8da71da29c6081d09e62a3b89 (patch) | |
tree | 730008ff3b8f5521b047c92baff866d6747d3091 /src/mongo/executor | |
parent | 24aa7dc8f39e133da8a3e405863e5dbbd980f68d (diff) | |
download | mongo-edee95798fd655a8da71da29c6081d09e62a3b89.tar.gz |
Revert "SERVER-39814 Bumping error codes to a reasonable band"
This reverts commit 247a61781c6628e1fba1393f82ba8d7befb6334d.
Diffstat (limited to 'src/mongo/executor')
-rw-r--r-- | src/mongo/executor/connection_pool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/executor/connection_pool.cpp b/src/mongo/executor/connection_pool.cpp index ff20255c76e..4cbc42dc2ec 100644 --- a/src/mongo/executor/connection_pool.cpp +++ b/src/mongo/executor/connection_pool.cpp @@ -528,7 +528,7 @@ Future<ConnectionPool::ConnectionHandle> ConnectionPool::SpecificPool::getConnec lk.unlock(); _parent->_factory->getExecutor().schedule(guardCallback([this](auto lk, auto schedStatus) { - fassert(51157, schedStatus); + fassert(20000, schedStatus); spawnConnections(lk); })); @@ -616,7 +616,7 @@ void ConnectionPool::SpecificPool::finishRefresh(stdx::unique_lock<stdx::mutex> lk.unlock(); _parent->_factory->getExecutor().schedule(guardCallback([this](auto lk, auto schedStatus) { - fassert(51158, schedStatus); + fassert(20003, schedStatus); fulfillRequests(lk); })); } @@ -670,7 +670,7 @@ void ConnectionPool::SpecificPool::returnConnection(ConnectionInterface* connPtr lk.unlock(); _parent->_factory->getExecutor().schedule(guardCallback([this](auto lk, auto schedStatus) { - fassert(51159, schedStatus); + fassert(20004, schedStatus); fulfillRequests(lk); })); } |