Commits on Feb 18, 2017
  1. SERVER-28030 Remove writes from ChunkManager

    Also moves the 'chunks' tests from dbtests into the ChunkManager
    kaloianm committed Feb 15, 2017
  2. SERVER-28030 Move catalog_cache.h/.cpp to mongo/s/

    There is no need for the CatalogCache and the cache entry classes to be in
    the same directory as the catalog manager.
    kaloianm committed Feb 15, 2017
Commits on Feb 17, 2017
  1. SERVER-27855 Attach all NetworkInterface instances with EgressHooks

    with the exception of:
    - NetworkInterfaceCollectionRangeDeleter-TaskExecutor (doesn't really use network)
    - AddShard-TaskExecutor (destination shard is still not part of cluster)
    renctan committed Feb 3, 2017
  2. Import wiredtiger: e1bcc30da91eedd0b17cebb725cc7e607ffa2340 from bran…

    …ch mongodb-3.6
    ref: 48a3cbc17f..e1bcc30da9
    for: 3.5.4
    WT-2790       Fix a text case false positive in test_sweep01
    WT-2909       Create automatable test verifying checkpoint integrity after errors
    WT-3088       bug: Don't evict a page with refs visible to readers after a split
    WT-3097       Race on reconfigure or shutdown can lead to waiting for statistics log server
    WT-3111       util_create() doesnt free memory assigned to "uri"
    WT-3113       Add a verbose mode to dump the cache when eviction is stuck
    WT-3115       Change the dhandle lock to a read/write lock
    WT-3120       Fix ordering problem in connection_close for filesystem loaded in an extension
    WT-3135       search_near() for index with custom collator
    WT-3137       Hang in __log_slot_join/__log_slot_switch_internal
    WT-3139       Enhance wtperf to support periodic table scans
    WT-3144       bug fix: random cursor returns not-found when descending to an empty page
    WT-3148       Improve eviction efficiency with many small trees
    WT-3149       Change eviction to start new walks from a random place in the tree
    WT-3150       Reduce impact of checkpoints on eviction server
    WT-3152       Convert table lock from a spinlock to a read write lock
    WT-3156       Assertion in log_write fires after write failure
    WT-3157       checkpoint/transaction integrity issue when writes fail.
    WT-3159       Incorrect key for index containing multiple variable sized entries
    WT-3161       checkpoint hang after write failure injection.
    WT-3164       Ensure all relevant btree fields are reset on checkpoint error
    WT-3170       Clear the eviction walk point while populating from a tree
    WT-3173       Add runtime detection for s390x CRC32 hardware support
    WT-3174       Coverity/lint cleanup
    WT-3175       New hang in internal page split
    WT-3179       Test bug: clang sanitizer failure in fail_fs
    WT-3180       Fault injection tests should only run as "long" tests and should not create core files
    WT-3184       Problem duplicating index cursor with custom collator
    WT-3186       Fix error path and panic detection in logging loops
    agorrod committed Feb 17, 2017
Commits on Feb 16, 2017
  1. SERVER-27973 make ClusterClientCursor own ClusterClientCursorParams a…

    …nd pass the params by reference to RouterStageMerge/ARM
    EshaMaharishi committed Feb 10, 2017
  2. SERVER-19491 Require that arbiters have priority 0 or 1.

    Configurations with arbiters having priority 1 will be silently changed to 0.
    Configurations with arbiters having priority other than 0 or 1 will be
    rejected during initiate or reconfigure.
    mtrussotto committed Feb 16, 2017
  3. SERVER-26349 Run dmesg -T with sudo

    syev committed Feb 14, 2017
Commits on Feb 15, 2017
  1. SERVER-28004 Add build system support for iOS-related Darwin variants

    Use a SCons invocation like the following to attach to the correct SDK
    and targeting options.
    // macOS native build:
    > python buildscripts/ CCFLAGS="-isysroot `xcrun --sdk macosx --show-sdk-path` -mmacosx-version-min=10.10" LINKFLAGS="-Wl,-syslibroot,`xcrun --sdk macosx --show-sdk-path` -mmacosx-version-min=10.10" CC=`xcrun -f --sdk macosx clang` CXX=`xcrun -f --sdk macosx clang++`all
    // iOS Cross:
    > python buildscripts/ CCFLAGS="-arch arm64 -isysroot `xcrun --sdk iphoneos --show-sdk-path` -miphoneos-version-min=10.2" LINKFLAGS="-arch arm64 -Wl,-syslibroot,`xcrun --sdk iphoneos --show-sdk-path` -miphoneos-version-min=10.2" CC=`xcrun -f --sdk iphoneos clang` CXX=`xcrun -f --sdk iphoneos clang++` TARGET_OS=iOS TARGET_ARCH=aarch64 all
    // iOS Simulator Cross:
    > python buildscripts/ CCFLAGS="-isysroot `xcrun --sdk iphonesimulator --show-sdk-path` -miphoneos-version-min=10.2" LINKFLAGS="-Wl,-syslibroot,`xcrun --sdk iphonesimulator --show-sdk-path` -miphoneos-version-min=10.2" CC=`xcrun -f --sdk iphonesimulator clang` CXX=`xcrun -f --sdk iphonesimulator clang++` TARGET_OS=iOS-sim all
    // tvOS Cross:
    > python buildscripts/ CCFLAGS="-arch arm64 -isysroot `xcrun --sdk appletvos --show-sdk-path` -mtvos-version-min=10.1" LINKFLAGS="-arch arm64 -Wl,-syslibroot,`xcrun --sdk appletvos --show-sdk-path` -mtvos-version-min=10.1" CC=`xcrun -f --sdk appletvos clang` CXX=`xcrun -f --sdk appletvos clang++` TARGET_OS=tvOS TARGET_ARCH=aarch64 all
    // tvOS Simulator Cross:
    > python buildscripts/ CCFLAGS="-isysroot `xcrun --sdk appletvsimulator --show-sdk-path` -mtvos-version-min=10.1" LINKFLAGS="-Wl,-syslibroot,`xcrun --sdk appletvsimulator --show-sdk-path` -mtvos-version-min=10.1" CC=`xcrun -f --sdk appletvsimulator clang` CXX=`xcrun -f --sdk appletvsimulator clang++` TARGET_OS=tvOS-sim
    To run the resulting binaries under the simulator, boot a particular
    target machine with 'xcrun simctl':
    > xcrun simctl boot 'Apple TV 1080p'
    Find the ID of the instance that was booted:
    > xcrun simctl list | grep 'Apple TV 1080p'
    And then spawn the intended binary inside the simulator with that ID:
    > xcrun simctl spawn CEEC6346-6D21-4092-A091-E5A3862A357F build/opt/mongo/mongod --dbpath=tmp
    acmorrow committed Feb 9, 2017
Commits on Feb 14, 2017
  1. SERVER-23225 Create a jstest to ensure readConcern "majority" is disa…

    …llowed with protocol version 0.
    mtrussotto committed Feb 14, 2017
Commits on Feb 13, 2017