diff options
author | samantharitter <samantha.ritter@10gen.com> | 2016-08-31 17:35:11 -0400 |
---|---|---|
committer | samantharitter <samantha.ritter@10gen.com> | 2016-09-12 17:19:25 -0400 |
commit | d614dda4286e31680f2773f511eeda997ae66e38 (patch) | |
tree | 3a8710baf2f1c0caf0d567b91237a6b185fe9e4d /src/mongo/s/service_entry_point_mongos.cpp | |
parent | 710eea36a153c9d3e0cfe820b39bd99137520aea (diff) | |
download | mongo-d614dda4286e31680f2773f511eeda997ae66e38.tar.gz |
SERVER-25918 Operations on closed sessions should return a TransportSessionClosed status
Diffstat (limited to 'src/mongo/s/service_entry_point_mongos.cpp')
-rw-r--r-- | src/mongo/s/service_entry_point_mongos.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/s/service_entry_point_mongos.cpp b/src/mongo/s/service_entry_point_mongos.cpp index d7d40e4beee..427152c8adb 100644 --- a/src/mongo/s/service_entry_point_mongos.cpp +++ b/src/mongo/s/service_entry_point_mongos.cpp @@ -97,6 +97,11 @@ void ServiceEntryPointMongos::_sessionLoop(Session* session) { break; } + // Our session may have been closed internally. + if (status == TransportLayer::TicketSessionClosedStatus) { + break; + } + uassertStatusOK(status); } |