diff options
Diffstat (limited to 's/request.cpp')
-rw-r--r-- | s/request.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/s/request.cpp b/s/request.cpp index 52f2e54..32c17cc 100644 --- a/s/request.cpp +++ b/s/request.cpp @@ -41,8 +41,7 @@ namespace mongo { assert( _d.getns() ); _id = _m.header()->id; - _clientId = p ? p->getClientId() : 0; - _clientInfo = ClientInfo::get( _clientId ); + _clientInfo = ClientInfo::get(); _clientInfo->newRequest( p ); } @@ -74,7 +73,7 @@ namespace mongo { } _m.header()->id = _id; - + _clientInfo->clearCurrentShards(); } Shard Request::primaryShard() const { |