~ubuntu-branches/ubuntu/wily/juju-mongodb/wily-proposed

« back to all changes in this revision

Viewing changes to src/mongo/s/shard.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-01-22 14:52:36 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140122145236-exgvx1pxk4fu9o4c
Tags: 2.4.9-0ubuntu1
* New upstream point release.
* d/p/0003-SERVER-12064-Use-gcc-atomic-builtins-if-available.patch:
  Dropped - not really needed for this version on mongodb.
* d/install: Don't ship mongo binary, its broken without a JS engine
  (LP: #1270098).
* d/p/0005-disable-jstests.patch: Dropped in preference to updates to
  d/p/0001-Add-option-to-disable-javascript.patch - rebased on revised
  upstream pull request.
* d/rules: Don't strip binaries during build so we get a ddeb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
         */
291
291
        bool runCommand( const string& db , const BSONObj& cmd , BSONObj& res );
292
292
 
 
293
        // Whether or not we release connections from the thread-local cache after a read
293
294
        static bool releaseConnectionsAfterResponse;
294
295
 
 
296
        // Controls whether we throw on initially failing to set a version
 
297
        static bool ignoreInitialVersionFailure;
 
298
 
295
299
        /** checks all of my thread local connections for the version of this ns */
296
300
        static void checkMyConnectionVersions( const string & ns );
297
301