summaryrefslogtreecommitdiff
path: root/src/mongo/s/sharding_test_fixture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-32901 Consolidate sharding librariesKaloian Manassiev2018-01-291-1/+1
| | | | | Also gets rid of most usages of the std::string variant of CollectionShardingState::get.
* SERVER-32684 Make mongos write command objects hold Status directlyMathias Stearn2018-01-171-3/+3
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-1/+1
|
* SERVER-29839 Protect from mid-command renames in parseNsOrUUIDMaria van Keulen2017-08-301-1/+1
|
* SERVER-29672 Make Config/ShardCatalogCacheLoader decorations on ServiceContextKaloian Manassiev2017-07-281-1/+6
|
* SERVER-18084 Give ServiceContext to ShardingEgressMetadataHookKaloian Manassiev2017-07-271-3/+4
| | | | And remove its usages of grid in place of Grid::get()
* SERVER-28752 Get rid of usages of Batched Insert/Update/Delete Request in ↵Kaloian Manassiev2017-07-191-26/+22
| | | | sharding tests
* SERVER-30053 Get rid of the ShardingCatalogManager interfaceKaloian Manassiev2017-07-171-2/+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-30053 Remove 'opCtx' parameter from Grid::catalogClient()Kaloian Manassiev2017-07-131-3/+3
| | | | | This method is now just a simple getter and doesn't require operation context.
* SERVER-29319 mongos write commands support document sequencesMathias Stearn2017-06-191-6/+6
|
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-2/+2
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-29403 Implement TransportLayerASIOJonathan Reams2017-06-171-1/+2
|
* SERVER-29017 Get rid of ShardingCatalogClient::updateCollectionKaloian Manassiev2017-05-121-2/+3
|
* SERVER-28814 eliminate unnecessary includes of server_selection_metadata.hMathias Stearn2017-05-121-1/+0
|
* SERVER-28318 make sharded getLastError work with paths that go over ASIOEsha Maharishi2017-04-061-2/+12
|
* SERVER-22611 Get rid of ChunkDiff and add more CatalogCache testsKaloian Manassiev2017-04-041-14/+18
| | | | | | This change gets rid of the "chunk differ" which was previously shared between mongos and mongod. Instead its relatively simple logic has been moved inside the CatalogCache.
* SERVER-28164 make ClusterWrite::run path use ARS instead of DBClientMultiCommandEsha Maharishi2017-03-131-0/+7
|
* SERVER-27750 Always attach the configsvr metadata in ShardingEgress*HooksRandolph Tan2017-03-101-3/+2
|
* Revert "Revert "SERVER-27750 Attach LogicalTimeMetadata to globalConnPool ↵Randolph Tan2017-03-101-2/+3
| | | | | | and shardConnectionPool"" This reverts commit 4e2cb91ed1fe8a9a8caead72a7f0bd56b2ba28d1.
* Revert "SERVER-27750 Attach LogicalTimeMetadata to globalConnPool and ↵Randolph Tan2017-03-091-3/+2
| | | | | | shardConnectionPool" This reverts commit 34dbe2a42d1db621f16555878b57f48efb30cc28.
* SERVER-27750 Attach LogicalTimeMetadata to globalConnPool and ↵Randolph Tan2017-03-081-2/+3
| | | | | | shardConnectionPool This also include refactor work to cleanup ShardingEgressMetadataHook api and allow ShardingConnectionHook to take EgressMetadataHookList.
* SERVER-27977 Remove unused config conn string command parametersDianna Hohensee2017-02-271-2/+0
|
* SERVER-28030 Move catalog_cache.h/.cpp to mongo/s/Kaloian Manassiev2017-02-181-1/+8
| | | | | There is no need for the CatalogCache and the cache entry classes to be in the same directory as the catalog manager.
* SERVER-26674 Remove uses of locks in TransportLayerLegacysamantharitter2016-11-081-2/+3
| | | | | | | - transport::Session becomes an abstract interface - narrow the TransportLayer interface - LegacySession owns its Connection object for fast access - refactor mock session and ticket classes into one common class
* SERVER-26674 transport::Session objects should be shared_ptr managedsamantharitter2016-11-051-4/+3
|
* SERVER-26506 add tracking for commandsMisha Tyulenev2016-10-141-2/+5
|
* SERVER-26411 Move balancer sources under mongo/db/sKaloian Manassiev2016-10-051-1/+1
|
* Revert "SERVER-26411 Move balancer sources under mongo/db/s"Benety Goh2016-10-051-1/+1
| | | | This reverts commit 92bdb7b398f29bcaef88da18c7a2df03f07e77ca.
* SERVER-26411 Move balancer sources under mongo/db/sKaloian Manassiev2016-10-051-1/+1
|
* SERVER-24325 Remove the s/catalog/replset/ directory and move all its files ↵Spencer T Brody2016-09-211-1/+1
| | | | to s/catalog
* SERVER-24702 remove remnants of ShardingCatalogManagerImpl from ↵Esha Maharishi2016-09-061-1/+1
| | | | ShardingTestFixture
* Revert "SERVER-25935 move ShardRegistry::init() out of Grid::init()"Max Hirschhorn2016-09-041-2/+1
| | | | This reverts commit d1d57b9ebab61ae897aaee624ca8df34399baa01.
* SERVER-25935 move ShardRegistry::init() out of Grid::init()Esha Maharishi2016-09-021-1/+2
|
* SERVER-25872 make DistLockCatalogFixture and ReplSetDistLockManagerFixture ↵Esha Maharishi2016-09-011-1/+1
| | | | extend MongodTestFixture
* SERVER-24508 BSONObj::ComparatorInterfaceDavid Storch2016-08-181-10/+12
| | | | | | | | | | | BSONObj instances should now be compared via the comparator interface's evaluate() method. This preferred over using BSONObj::woCompare() directly. If the comparison doesn't require any database semantics (e.g. there is no collation), there is a global instance of the SimpleBSONObjComparator which should be used for BSONObj comparisons. If the comparison requires special semantics, then callers must instantiate their own comparator object.
* SERVER-18084 Add Grid::get(ServiceContext*) getterKaloian Manassiev2016-08-161-17/+16
| | | | Also removes some references to the static 'grid' instance.
* SERVER-24999 Remove ShardingTextFixture's CatalogManager for libdepJess Fan2016-08-101-25/+2
|
* SERVER-24439 Make mongos commands over sharded collections inherit the ↵Tess Avitabile2016-08-051-0/+2
| | | | collection default collation
* SERVER-24162 Integrate TransportLayerSamantha Ritter2016-07-121-6/+13
| | | | | Expand the transport layer as needed to replace uses of abstract message port for ingress networking.
* SERVER-24859 Use 'majority' write concern to create changelog and actionlog ↵Kaloian Manassiev2016-07-011-1/+6
| | | | collections
* SERVER-24734 Check for an invalid ConnectionString type when parsing an ↵Esha Maharishi2016-06-241-7/+0
| | | | addShard request on mongos
* SERVER-24323 Add ShardingCatalogManager and move addShard implementation into itSpencer T Brody2016-06-131-2/+13
|
* SERVER-24323 Rename CatalogManager to ShardingCatalogClientSpencer T Brody2016-06-131-12/+13
| | | | | | Renames the relevant classes and libraries, moves files, updates comments referencing the CatalogManager, and renames common methods for getting the catalogManager (like grid.catalogManager()). No functional changes.
* SERVER-24118 Rename LiteParsedQuery to QueryRequest.David Hatch2016-06-031-2/+2
|
* SERVER-23733 Remove the mongos chunkSize startup optionKaloian Manassiev2016-06-021-8/+7
| | | | | This change removes the chunkSize startup option from mongos in place of the 'chunksize' setting.
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-2/+3
|
* SERVER-18277 Track elapsed time on cursors using microsecond resolution on ↵Andy Schwerin2016-05-231-0/+2
| | | | | | | | | | | | | OperationContext. This completes the mechanics of moving max-time tracking to OperationContext and switching the checkForInterrupt checks to use the service context's fast clock source, while tracking the amount of execution time remaining on a cursor with microsecond granularity to ensure that remaining execution time always declines, even for very brief operations on cursors. This patch does not complete the transition from wait_for waiting to wait_until waiting in all places that do waiting based on operation deadlines.
* SERVER-23973 Ensure config servers send the correct config server optime ↵Spencer T Brody2016-05-191-4/+4
| | | | when talking to shards
* SERVER-24104 Replace direct uses of stdx::chrono::durations with MongoDB ↵Andy Schwerin2016-05-171-1/+1
| | | | | | duration using decls. This is a preliminary step for switching from stdx::chrono::duration to mongo::Duration.
* SERVER-23857 dispatch shard creation by ConnectionString typeMisha Tyulenev2016-05-051-2/+30
|