summaryrefslogtreecommitdiff
path: root/src/mongo/s/request.cpp
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2012-01-24 11:30:27 -0500
committerGreg Studer <greg@10gen.com>2012-01-24 11:30:27 -0500
commit4c1d7fe9c46daae55a3d4edfbac55cc8541a0aef (patch)
tree97008a3818a375de753586bb45a9806315f30a71 /src/mongo/s/request.cpp
parent544b108db93158a39d50efc691f2521f411fe517 (diff)
downloadmongo-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.cpp13
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