Commits on Oct 11, 2012
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

    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.
    matulef committed Oct 10, 2012
  3. SERVER-2001 make modifiedRangeBound accept index patterns without 1/-…

    …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.
    matulef committed Oct 10, 2012
  4. SERVER-5211 Separate of CmdLine::store into two functions.

    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
    andy10gen committed Oct 8, 2012
  5. SERVER-7230 timing error in repl_monitor_stress.js

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

    …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.
    matulef committed Oct 10, 2012
  7. Fix for js test.

    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.
    matulef committed Oct 10, 2012
  8. SERVER-3104 Allow intersection of sibling multikey index field ranges…

    … having a shared $elemMatch parent.
    astaple committed Jul 31, 2012
  9. use new simple Random class

    erh committed Oct 10, 2012
  10. use unordered_map for db level locks

    erh committed Oct 10, 2012
  11. new style include format

    erh committed Oct 10, 2012
  12. use unordered_map in stats

    erh committed Oct 10, 2012
  13. fix error code conflict

    erh committed Oct 10, 2012
Commits on Oct 9, 2012
  1. SERVER-1887 make db.coll.dropIndex() work with name or key object

    Remove the fixup of the user's index specification that was converting
    it into a default-style index name.  Adjust comments in code and help text
    to describe how to use db.collectionName.dropIndex().
    tadmarshall committed Oct 9, 2012