summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/balancer
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-56276 correct typo in config.actionlog document fieldPaolo Polato2021-06-111-1/+1
|
* SERVER-57313 Pass the collection epoch and timestamp when building a ↵Sergi Mateo Bellido2021-06-031-2/+5
| | | | | | | | ChunkType from a config.chunks BSON - Pass the epoch and the timestamp to the functions that build ChunkTypes from config.chunks BSON - Fixing our tests
* SERVER-55592 Add time-series fields to sharding catalogSergi Mateo Bellido2021-04-274-9/+119
| | | | | * Disallowing drop collection, autosplitter and autobalancer of sharded time-series collections
* SERVER-55700 Update kImplicitDefault in WriteConcernOptionsHuayu Ouyang2021-04-191-1/+1
|
* SERVER-53973 Migration manager recovery should handle failed ↵Tommaso Tocci2021-03-301-5/+13
| | | | findIntersectingChunk during refineShardKey
* SERVER-55285 Review why some tests don't pass when we enable by default the ↵Sergi Mateo Bellido2021-03-294-64/+89
| | | | | | new metadata format Fixing some tests
* SERVER-55281 lint for newline violationsBilly Donahue2021-03-251-1/+1
|
* SERVER-49526 configsvrReshardCollection should calculate new initial split ↵Randolph Tan2021-03-232-14/+61
| | | | points
* SERVER-55016 Remove depedency of db/commands on 'sharding_runtime_d'Kaloian Manassiev2021-03-091-4/+1
|
* SERVER-52812 Unify the implicit createDatabase/enableSharding flowKaloian Manassiev2021-02-212-1/+1
| | | | | | | | This change makes both enableSharding and the implicit createDatabase from the routers to go through the same _configsvrCreateDatabase command. This command has the sole responsibility now of creating (or ensuring it is created) a database with the specified name, optional primary flag and optional enableSharding field.
* SERVER-54014 Define a reasonable maxTimeMsOverride for the checkOID requestsAlexandre Bique2021-02-051-0/+3
|
* SERVER-53105: Target chunks by collectionUUIDJordi Serra Torrens2021-02-012-65/+2
|
* SERVER-53118 Make the DistLockManager use the same processId/lockSessionId ↵Kaloian Manassiev2021-01-213-42/+26
| | | | per shard
* SERVER-53118 Make the DistLockManager ProcessId for each node to be the ShardIdKaloian Manassiev2021-01-092-4/+2
| | | | | | Following the model of the config server, for stepdown purposes, this change makes the ProcessId for the dist lock of each node even on a shard to be the ShardId.
* SERVER-53227 Move omitted LockPings/LockType files to MongoDKaloian Manassiev2021-01-092-1/+2
| | | | The previous commit forgot to move these files out of MongoS.
* SERVER-53227 Move the DistLockManager to only be available on MongoDKaloian Manassiev2021-01-035-58/+44
|
* SERVER-53547 Make use of return values in ShardRegistry APITommaso Tocci2020-12-311-2/+1
|
* SERVER-53093 Add timestamp to ChunkVersionSergi Mateo Bellido2020-12-105-21/+21
| | | | PART 2: Fixing our tests
* SERVER-40811 make initializers throwyBilly Donahue2020-12-081-3/+1
| | | | | | | - Consolidate init-related headers (just init.h and initializer.h) - Factor out a separate DependencyGraph component - Remove MONGO_DEFAULT_PREREQUISITES, MONGO_NO_PREREQUISITES, MONGO_NO_DEPENDENTS. - Document the role of the "default" initializer.
* SERVER-52933 Add timestamp to the DatabaseVersion IDLSergi Mateo Bellido2020-11-242-2/+1
| | | | | | PART 1 - Adding a new DatabaseVersion class that handles the underlying IDL implementation of a DatabaseVersion
* SERVER-49145: Prevent distributed lock timeouts in suites with background ↵Jordi Serra Torrens2020-11-162-5/+24
| | | | migrations
* SERVER-52872 Remove StatusWith methods from ShardingCatalogClientKaloian Manassiev2020-11-161-22/+3
| | | | | As a side-effect also removes some of the legacy "fromBSON" parsing from CollectionType in an effort to make it behave more IDL-like.
* SERVER-50027 Implement an 'allowMigrations' collection propertyKaloian Manassiev2020-11-111-2/+4
|
* SERVER-50027 Convert the CollectionType's UUID field to IDLKaloian Manassiev2020-11-031-6/+1
| | | | ... and make it required
* SERVER-50027 Make CollectionType use IDL (Part 1)Kaloian Manassiev2020-10-222-3/+3
| | | | | | | This change just starts the basis so that the CollectionType can be built on IDL in order to avoid conflicts with any changes to the format. The remaining fields will be moved to IDL in a subsequent commit and the custom parsing will be removed.
* SERVER-51240 fix readability-avoid-const-params-in-decls in testsBenety Goh2020-10-041-2/+2
|
* SERVER-50740 Add onShutdown() method to ReplicaSetAwareInterface class.Suganthi Mani2020-09-091-0/+1
|
* SERVER-50410 Change NotMasterOrSecondary error code name to ↵Pavi Vetriselvan2020-09-041-1/+1
| | | | NotPrimaryOrSecondary
* SERVER-50505 Make the CatalogCache return ChunkManager(s) directlyKaloian Manassiev2020-09-013-54/+52
| | | | | ... instead of returning the intermediate CachedCollectionRoutingInfo class. The ChunkManager should be the only class used for routing.
* SERVER-50329 Make ChunkManager be passed by value everywhereKaloian Manassiev2020-08-172-17/+16
| | | | ... instead of shared_ptr.
* SERVER-49734 Used local write concern to cleanup active migration on config ↵Alex Taskov2020-08-171-5/+2
| | | | serveron stepup
* SERVER-49030 Make CurOp::_start and CurOp::_end atomicJustin Seyster2020-08-041-23/+30
|
* SERVER-49800 fix use-after-move violations in shardingBenety Goh2020-08-021-2/+2
|
* SERVER-49935 Add startup method to ReplicaSetAwareService interfaceSpencer T Brody2020-07-311-0/+1
|
* SERVER-48365 Migration manager recovery should handle a refined shard keyPierlauro Sciarelli2020-07-212-48/+111
|
* SERVER-48927 Provide term to ReplicaSetAwareService onStepUp methodsSpencer T Brody2020-06-242-4/+4
|
* SERVER-48924 Move ReplicaSetAwareService into repl directory and namespaceSpencer T Brody2020-06-241-1/+1
|
* SERVER-48775 Make all `s_test` suites use the ShardingTestFixtureKaloian Manassiev2020-06-155-9/+10
|
* SERVER-48775 Make OpObserverShardingImpl to be part of sharding_runtime_dKaloian Manassiev2020-06-151-8/+8
|
* SERVER-48406 Add onBecomeArbiter to ReplicaSetAwareServiceKevin Pulo2020-05-282-0/+7
|
* SERVER-46200 implement basic VectorClock serviceKevin Pulo2020-05-122-2/+18
|
* SERVER-47674 Create Facade wrapper for ChunkInfoMapAlex Taskov2020-04-271-2/+4
|
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-267-7/+7
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-46127 unit tests log to a kTest componentGabriel Russell2020-04-141-1/+1
|
* SERVER-46799 Update sharding log lines to adhere to LOGV2 style guide (files ↵Esha Maharishi2020-04-131-41/+55
| | | | missed in the first pass)
* SERVER-45624 Make the balancer split the sessions collectionCheahuychou Mao2020-04-093-40/+131
|
* SERVER-46830 remove CWRWC FCV 4.4 codeKevin Pulo2020-04-081-7/+4
|
* SERVER-47151 Separate WriteOpTest(s) and ChunkManagerTest into separate .cpp ↵Kaloian Manassiev2020-03-311-1/+0
| | | | | | files Also removes some unnecessary code from the BatchedCommandRequest.
* SERVER-46799 Update sharding log lines to adhere to LOGV2 style guideRandolph Tan2020-03-255-92/+107
|
* SERVER-46201 add ReplicaSetAwareService, convert Balancer to use itKevin Pulo2020-03-242-28/+27
|