Permalink
Commits on Oct 12, 2012
  1. SERVER-6925 use the size of the queue in bytes rather than number of …

    milkie committed Oct 12, 2012
    …objects when calculating cap
  2. Do not import now-defunct buildscripts.bb in SConstruct.

    Andrew Schwerin committed Oct 12, 2012
  3. Merge pull request #313 from ranman/master

    ranman committed Oct 12, 2012
    Remove some buildbot related stuff from SCons that is no longer needed
  4. remove bb.py as it's no longer needed in buildbot

    Randall Hunt committed Oct 12, 2012
  5. SERVER-7186 Fixed unittest impacted by previous commit.

    Alberto Lerner committed Oct 12, 2012
  6. SERVER-7186 Fixed the case where logging addToSet would fail dollar s…

    Alberto Lerner committed Oct 12, 2012
    …ign verification.
  7. SERVER-7338 In Windows, use NUL instead of NUL: in test

    tadmarshall committed Oct 12, 2012
    Boost::filesystem v3 generates a bad file specification from NUL:
    in Windows.  Use NUL instead.  Either should have worked, so I
    think this is actually a bug in Boost::filesystem v3.
Commits on Oct 11, 2012
  1. SERVER-4314 Migrate to Boost Filesystem v3, away from deprecated v2.

    svenstaro committed with amschwerin Sep 5, 2012
    Original author: Sven-Hendrik Haase <sh@lutzhaase.com>
    Merged by: Andy Schwerin <schwerin@10gen.com>
    Signed-off-by: Andy Schwerin <schwerin@10gen.com>
  2. SERVER-7329 also now checks at the beginning, after the first write, …

    dwight committed Oct 11, 2012
    …in addition to ad the end
  3. SERVER-6207 protect printWindowsStackTrace() with critical section

    tadmarshall committed Oct 9, 2012
    Use SimpleMutex::scoped_lock to make printWindowsStackTrace() run in
    only one thread at a time.
  4. SERVER-7289 add inexpensive tests to validate command

    tadmarshall committed Oct 9, 2012
    Checks added to the validate command:
    1) The 'xprev' pointer in each extent in the extent list should point
       to the previous extent, or be null for the first extent
    2) The 'lastExtent' pointer in NamespaceDetails should point to the last extent
    3) If an exception is thrown while counting extents, identify the failing extent
    4) If an exception is thrown while counting extents, report the count
    5) If an exception is thrown while counting extents, the first extent should be
       validated and the check for 'xprev' in the first extent being null should be done
    6) If an invalid signature is found in an extent, report the value found and
       identify the extent
    7) The "self-pointer" 'myLoc' in an extent should be validated
    8) The extent size should be compared with Extent::minSize(), not zero
Commits on Oct 10, 2012
  1. fix Windows compile

    tadmarshall committed Oct 10, 2012
  2. SERVER-2001 change shard key validation to allow hashed shard keys

    matulef committed Oct 10, 2012
    This changes the top-level shard key validation to allow shard keys
    such as {a : "hashed"}. It also adds some helper functions for
    determining when a unique index is compatible with a given shard
    key, and a variety of unit tests and a js test.
  3. SERVER-2001 make modifiedRangeBound accept index patterns without 1/-…

    matulef committed Oct 10, 2012
    …1 vals
    
    To allow more complex index types, modifiedRangeBound needs to make sense
    of index patterns like {a : "hashed"} that don't have 1 or -1 for the
    field values.  With this change, it will treat bounds over a hashed
    keyspace as ascending over the range of hashed values.
  4. SERVER-5211 Separate of CmdLine::store into two functions.

    amschwerin committed Oct 8, 2012
    The new functions are CmdLine::store, with the same signature as before, and
    mongo::initializeServerGlobalState(), which should take no parameters, but does
    take an optional bool to deal with a knot in mongod --shutdown that I haven't
    yet untangled.
    
    This separation makes it easier to test functions in the command line parsing
    part of the library, and provides a little extra clarity on the role of the two
    functions.
  5. SERVER-7230 timing error in repl_monitor_stress.js

    renctan committed Oct 10, 2012
    Change the test to keep on trying until we confirmed that reconfig actually succeeded
  6. SERVER-2001 shardChunkManager no longer modifies shard key with ascen…

    matulef committed Oct 10, 2012
    …ding fields
    
    Validation of proper shard keys is now done at the top-level, so there
    is no need to replace field values with "1.0". Moreover, hashed keys
    like { a : "hashed" } will not have numeric field vals.
  7. Fix for js test.

    matulef committed Oct 10, 2012
    Previously the index was not actually created because it was declared
    as unique, but there were duplicate x values.  Thus, this test was
    passing for the wrong reasons.  Removing the uniqueness condition
    fixes that.