diff options
author | Greg Studer <greg@10gen.com> | 2012-01-24 11:30:27 -0500 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2012-01-24 11:30:27 -0500 |
commit | 4c1d7fe9c46daae55a3d4edfbac55cc8541a0aef (patch) | |
tree | 97008a3818a375de753586bb45a9806315f30a71 /src/mongo/s/request.cpp | |
parent | 544b108db93158a39d50efc691f2521f411fe517 (diff) | |
download | mongo-4c1d7fe9c46daae55a3d4edfbac55cc8541a0aef.tar.gz |
Revert "top level retry for old sharding meta data"
This reverts commit b09709c7cce24ec72bfeb59cb0acd589eba98019.
Diffstat (limited to 'src/mongo/s/request.cpp')
-rw-r--r-- | src/mongo/s/request.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mongo/s/request.cpp b/src/mongo/s/request.cpp index 0d2c63b750a..96cce96685d 100644 --- a/src/mongo/s/request.cpp +++ b/src/mongo/s/request.cpp @@ -119,17 +119,8 @@ namespace mongo { bool iscmd = false; if ( op == dbQuery ) { - try { - iscmd = isCommand(); - s->queryOp( *this ); - } - catch ( RecvStaleConfigException& stale ) { - _d.markReset(); - log( attempt == 0 ) << "got RecvStaleConfigException at top level: " << stale.toString() << " attempt: " << attempt << endl; - massert( 16062 , "too many attemps to handle RecvStaleConfigException at top level" , attempt <= 5 ); - process( attempt + 1 ); - return; - } + iscmd = isCommand(); + s->queryOp( *this ); } else if ( op == dbGetMore ) { checkAuth( Auth::READ ); // this is important so someone can't steal a cursor |