Permalink
Browse files

Remove code that has been dead since commit in June 2011.

Removes from consideration a dbexit(), so relevant to SERVER-5520.

Commit in question: 759e1e6
  • Loading branch information...
1 parent 558966d commit 8dc5617a4d474d8342472f21bcb1cbebfc25b038 @andy10gen andy10gen committed Apr 26, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/mongo/db/repl/rs.cpp
@@ -723,11 +723,6 @@ namespace mongo {
}
}
catch(DBException& e) {
- if( e.getCode() == 13497 /* removed from set */ ) {
- cc().shutdown();
- dbexit( EXIT_CLEAN , "removed from replica set" ); // never returns
- verify(0);
- }
log() << "replSet error unexpected exception in haveNewConfig() : " << e.toString() << rsLog;
_fatal();
}

0 comments on commit 8dc5617

Please sign in to comment.