don't delete old chunk data until there aren't cursors iterating it SERVER-937
This commit is contained in:
@@ -193,7 +193,7 @@ namespace mongo {
|
||||
if ( doauth )
|
||||
_auth( lockState );
|
||||
|
||||
{
|
||||
if ( _client->_curOp->getOp() != dbGetMore ){ // getMore's are special and should be handled else where
|
||||
string errmsg;
|
||||
if ( ! shardVersionOk( _ns , errmsg ) ){
|
||||
msgasserted( StaleConfigInContextCode , (string)"shard version not ok in Client::Context: " + errmsg );
|
||||
|
||||
Reference in New Issue
Block a user