Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. --- mongodb-src-r1.8.1/client/dbclient_rs.cpp 2011-04-05 21:40:13.000000000 -0700
  2. +++ mongodb-src-r1.8.1-mod/client/dbclient_rs.cpp 2011-05-16 20:33:23.122412950 -0700
  3. @@ -52,7 +52,6 @@
  4. }
  5. protected:
  6. void run() {
  7. - log() << "starting" << endl;
  8. while ( ! inShutdown() ) {
  9. sleepsecs( 20 );
  10. try {
  11. @@ -294,7 +293,6 @@
  12. scoped_lock lk( _lock );
  13. _nodes.push_back( Node( h , newConn ) );
  14. }
  15. - log() << "updated set (" << _name << ") to: " << getServerAddress() << endl;
  16. changed = true;
  17. }
  18. }
  19. @@ -570,7 +568,6 @@
  20. }
  21.  
  22. void DBClientReplicaSet::isntMaster() {
  23. - log() << "got not master for: " << _masterHost << endl;
  24. _monitor->notifyFailure( _masterHost );
  25. _master.reset();
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement