summaryrefslogtreecommitdiff
path: root/src/mongo/SConscript
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-26538 SERVER-26539 Detach from boost::threadAndrew Morrow2017-08-021-3/+0
| | | | | Also, use thread_local everywhere for our thread specific data needs and remove the legacy support.
* SERVER-30298 Add UserDigest LogicalSessionIDJason Carey2017-07-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inclusion of a sha256 digest of the full username to the logical session id (in addition to the current guid) is necessary to fully disambiguate logical sessions in degraded clusters (when the authoritative record for a session is unreachable). Semantics for the uid are as follows: session creation via startSession() * Sessions can only be created with one, and only one, user authenticated * The composite key is created from a guid created on the spot, as well as the digest of the currently auth'd username * Only the session guid is returned to the user * This prevents outside users from attempting to send back a value we'd have to check. It's preferable to decorate the guid with the user digest per command, rather than having to check a value the user might send. session use for a command * Sessions are passed via the lsid top level field in any command * Sessions are only meaningful for commands which requireAuth. For sessions which don't require auth, we strip session information from the command at parse time * Session ids are passed as an object, which can optionally include the username digest * It is illegal to pass the username digest unless the currently auth'd user has the impersonate privilege (the __system user does). This enables sessions on shard servers via mongos
* SERVER-25788 Fix linking of options_parser_init.Siyuan Zhou2017-07-251-0/+1
|
* SERVER-30053 Get rid of the ShardingCatalogManager interfaceKaloian Manassiev2017-07-171-0/+1
| | | | | | As part of this change also moves ShardingCatalogManager to be a decoration on ServiceContext and decouples the dependency between the 'connPoolStats' command and ShardingCatalogManager.
* SERVER-29610 Allow LogicalSessionIds to contain signed user informationsamantharitter2017-07-131-0/+1
|
* SERVER-28495 FTDC for MongoSMark Benvenuto2017-07-121-0/+1
|
* SERVER-29885 Serialize operations for the same logical sessionKaloian Manassiev2017-07-061-1/+0
| | | | Also makes the session state available on the OperationContext.
* SERVER-29875 Install SessionsTransactionTable on the ServiceContextKaloian Manassiev2017-06-281-3/+4
| | | | | Also hooks it with the replication subsystem and ensures the collection is created on promotion to primary.
* SERVER-26871 report failures when handling shell history fileKevin Pulo2017-06-281-0/+1
|
* SERVER-29726 Build iOS and tvOS on evergreenAndrew Morrow2017-06-261-1/+2
|
* SERVER-29533 make mongodbmain a libraryJason Carey2017-06-211-3/+12
| | | | | | In service of making it easier to stand up mongodb in a library let's separate out mongodbmain into its own library and structure db.cpp to link to it, rather than including all of the setup in the final .cpp.
* SERVER-28344: Implement the admin.system.sessions collectionSpencer Jackson2017-06-201-0/+1
|
* SERVER-29712 Add a polyfill for std::hardware_constructive_interference_sizeAndrew Morrow2017-06-201-0/+1
|
* SERVER-29403 Implement TransportLayerASIOJonathan Reams2017-06-171-2/+2
|
* SERVER-29475 Install the logical session cachesamantharitter2017-06-161-0/+1
|
* SERVER-29552 Complete the assemble_response libraryAndrew Morrow2017-06-151-1/+0
|
* SERVER-29472 Install PeriodicRunnerASIO on mongod and mongossamantharitter2017-06-131-0/+1
|
* SERVER-29305 `DBDirectClient::call` uses OpContextADAM David Alan Martin2017-06-081-1/+0
| | | | | | | | | | | | | | | | Presently it directly calls `assembleResponse`, which is responsible for a cyclic dependency. This functionality is available through the `ServiceContext` mechanism, and thus needn't directly use `assembleResponse`. The `ServiceEntryPoint` member of `ServiceContext` is set through a setter, which isn't always called, so we initialize the global entry through a factory function. This also removes the superfluous argument for `HostAndPort`, as that was used to track whether the call was made from within the `DbDirectClient` object itself or from the network -- a separate bit in the `OperationContext` indicates that state.
* Revert "SERVER-29305 `dbdirectclient::call` uses OpContext"James Wahlin2017-06-081-0/+1
| | | | This reverts commit 36351fdb8642bed4fd977e8234b6ff16cf5e7da2.
* SERVER-29305 `dbdirectclient::call` uses OpContextADAM David Alan Martin2017-06-071-1/+0
| | | | | | | | | | | Presently it directly calls `assembleResponse`, which is responsible for a cyclic dependency. This functionality is available through the `ServiceContext` mechanism, and thus needn't directly use `assembleResponse`. The `ServiceEntryPoint` member of `ServiceContext` is set through a setter, which isn't always called, so we initialize the global entry through a factory function.
* SERVER-29238 Implement ServiceStateMachineJonathan Reams2017-06-051-2/+2
|
* SERVER-29441 Clean up declaration of the cpuprofiler libraryAndrew Morrow2017-06-051-37/+32
|
* SERVER-29281 Resolve edges related to the dcommands libraryAndrew Morrow2017-05-191-0/+1
|
* SERVER-29012 Enable ASAN strict init order checking and fix revealed issuesAndrew Morrow2017-05-011-1/+1
|
* SERVER-29000 Remove the miniwebserver and derivativesAndrew Morrow2017-04-271-1/+0
|
* SERVER-27921 New Range DeleterNathan Myers2017-04-201-1/+0
|
* SERVER-28306 IDL Code GeneratorMark Benvenuto2017-03-291-0/+1
|
* SERVER-27727 Hide idle threads in hang analyzer (core only)Mathias Stearn2017-03-241-0/+1
|
* SERVER-26703 reject commands exceeding the BSON depth limitKyle Suarez2017-03-131-0/+1
| | | | | Any command sent to the server that exceeds the depth limit will fail. This also prevents users from inserting documents that exceed the depth limit.
* SERVER-27749 Integrate LogicalTimeMetadataRandolph Tan2017-03-071-0/+1
| | | | Attach logical time metadata to all outgoing messages and process incoming logical time metadata in mongod
* SERVER-27995 make repl_set* naming convention consistentJudah Schvimer2017-03-061-1/+1
|
* SERVER-28155 Get rid of the 'mongoscore' sharding libraryKaloian Manassiev2017-03-011-2/+10
|
* SERVER-28155 Get rid of the 'serveronly' sharding libraryKaloian Manassiev2017-03-011-1/+0
| | | | Fold its contents in the mongod-side of sharding.
* SERVER-28094 Remove the StaticObserverAndrew Morrow2017-02-271-1/+0
|
* SERVER-27855 Attach all NetworkInterface instances with EgressHooksRandolph Tan2017-02-171-0/+1
| | | | | | with the exception of: - NetworkInterfaceCollectionRangeDeleter-TaskExecutor (doesn't really use network) - AddShard-TaskExecutor (destination shard is still not part of cluster)
* SERVER-28004 Add build system support for iOS-related Darwin variantsAndrew Morrow2017-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a SCons invocation like the following to attach to the correct SDK and targeting options. // macOS native build: > python buildscripts/scons.py 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/scons.py 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/scons.py 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/scons.py 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/scons.py 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
* SERVER-27378 Narrow scope of enterprise module environment modificationsAndrew Morrow2017-02-051-1/+2
|
* SERVER-27710 Move SNMP init hook out of db.cpp.ADAM David Alan Martin2017-01-191-0/+1
| | | | | | | | The `src/mongo/db.cpp` file is compiled into the main server program, and causes broken-dependency issues in linking the enterprise modules. By moving this symbol to another file, we can better express this dependency. Further, this change lays the groundwork to switch from from a pointer to function to a `std::function< void () >` object.
* SERVER-27709 Remove cycles & change incomplete tagADAM David Alan Martin2017-01-171-1/+1
| | | | | | | Allow `incomplete` for the time being to prevent breaking code in enterprise. The cycle/incomplete exemption has been renamed to `illegal_cyclic_or_unresolved_dependencies_whitelisted`, to discourage overuse. Removed the incompletes that we can.
* SERVER-27478 Fix dynamic link on FreeBSDADAM David Alan Martin2017-01-041-0/+5
| | | | | The global `environ` is not supplied by any libraries on FreeBSD, and its math library is not in libc.
* SERVER-27497 Scope SCons Environment changes narrowlyAndrew Morrow2017-01-031-7/+5
|
* SERVER-26698 switch all compiles to C++14Matt Cotter2016-12-151-2/+0
| | | | Enjoy the C++14! 😀 ❤️ thank you!
* SERVER-23103 Add direct dependencies for mongod sourcesAndrew Morrow2016-12-141-0/+13
|
* SERVER-27279 pthread_setname_np is not supported on SUSE 11.4Mark Benvenuto2016-12-061-3/+4
|
* SERVER-3993 Windows File Version stampingMark Benvenuto2016-11-031-4/+4
|
* SERVER-3993 Windows File Version stampingMark Benvenuto2016-11-031-2/+13
|
* SERVER-25665 Cleanup chunk metadata caching library dependenciesKaloian Manassiev2016-10-281-1/+0
| | | | | | No functional changes. Removes unused includes and libraries and moves cluster_write.cpp to be only part of the mongos commands since it is not used elsewhere.
* SERVER-26709 Merge mongo/platform/platform and mongo/util/foundation into ↵Andy Schwerin2016-10-261-1/+13
| | | | mongo/base library.
* SERVER-26411 Move balancer sources under mongo/db/sKaloian Manassiev2016-10-051-15/+16
|
* Revert "SERVER-26411 Move balancer sources under mongo/db/s"Benety Goh2016-10-051-16/+15
| | | | This reverts commit 92bdb7b398f29bcaef88da18c7a2df03f07e77ca.