diff options
author | Greg Studer <greg@10gen.com> | 2012-06-11 12:45:05 -0400 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2012-06-11 12:45:05 -0400 |
commit | e8f0424f33455017086b2c986fdb572c4cad2dbd (patch) | |
tree | 4673391a6b6c43d07653b688a268507f379bcc70 /src/mongo/client/syncclusterconnection.h | |
parent | 936c03f4adab997257057458a9cb730753712d8a (diff) | |
download | mongo-e8f0424f33455017086b2c986fdb572c4cad2dbd.tar.gz |
SERVER-5200 and SERVER-4262 remove race condition with simultaneous config reload from update
This reverts commit e123c445170548c0eb248dc1b221dfb09aa9b1ec.
Diffstat (limited to 'src/mongo/client/syncclusterconnection.h')
-rw-r--r-- | src/mongo/client/syncclusterconnection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/client/syncclusterconnection.h b/src/mongo/client/syncclusterconnection.h index b3fac66e5f8..1d0fc3afdc2 100644 --- a/src/mongo/client/syncclusterconnection.h +++ b/src/mongo/client/syncclusterconnection.h @@ -43,6 +43,7 @@ namespace mongo { public: using DBClientBase::query; + using DBClientBase::update; /** * @param commaSeparated should be 3 hosts comma separated @@ -77,7 +78,7 @@ namespace mongo { virtual void remove( const string &ns , Query query, bool justOne ); - virtual void update( const string &ns , Query query , BSONObj obj , bool upsert , bool multi ); + virtual void update( const string &ns , Query query , BSONObj obj , int flags ); virtual bool call( Message &toSend, Message &response, bool assertOk , string * actualServer ); virtual void say( Message &toSend, bool isRetry = false , string * actualServer = 0 ); |