summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/database_sharding_state.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-58167 Use scoped database critical section during dropDatabasePierlauro Sciarelli2021-07-051-1/+1
|
* Revert "SERVER-58012 Serialize implicit create collection with drop database"Pierlauro Sciarelli2021-06-301-1/+1
| | | | This reverts commit 9a6a898692298dd6993b295134021ffa1944011a.
* SERVER-58012 Serialize implicit create collection with drop databasePierlauro Sciarelli2021-06-251-1/+1
|
* SERVER-56788 Extend the in-memory collection critical section to keep track ↵Sergi Mateo Bellido2021-05-161-6/+10
| | | | of the ongoing operation
* SERVER-53905 Implement PrimaryOnlyService for DDL coordinatorsTommaso Tocci2021-02-241-0/+24
|
* SERVER-53691 Store and expose database info in DatabaseShardingStateTommaso Tocci2021-01-141-18/+30
|
* SERVER-51319 Call DatabaseShardingState::checkDbVersion() and ↵Dianna Hohensee2020-12-161-3/+9
| | | | | | | | | | | CSS::getCollectionDescription() safely in AutoGetCollectionLockFree and expand lock-free sharding testing. CollectionShardingState and DatabaseShardingState can now be accessed without a lock via new getSharedForLockFreeReads() functions on their respective interfaces. The shard key will now be available in the AutoGetCollection* RAII types via the CollectionPtr. This allows lock-free reads to acquire a single view of the sharding state to use throughout a read operation.
* SERVER-52933 Add timestamp to the DatabaseVersion IDLSergi Mateo Bellido2020-11-241-2/+2
| | | | | | PART 1 - Adding a new DatabaseVersion class that handles the underlying IDL implementation of a DatabaseVersion
* SERVER-47701 Allow CRUD and DDL commands on shards when connected to the ↵Marcos José Grillo Ramírez2020-05-191-2/+2
| | | | primary directly instead of the router
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-46799: update log lines for style guideLamont Nelson2020-03-231-5/+4
|
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-131-2/+7
|
* SERVER-43317 merge failpoint headers. Rewrite docs.Billy Donahue2019-10-031-1/+1
| | | | iterate docs
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-2/+2
|
* SERVER-34431 MoveDatabaseShardingState into its own mapjannaerin2019-07-081-19/+60
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-38473 Create DatabaseShardingStateLock to ensure concurrency around ↵Blake Oler2019-02-051-12/+15
| | | | DatabaseShardingState usage
* SERVER-38288 Delete CursorManager::invalidateAll().David Storch2019-01-311-3/+0
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-14/+16
|
* SERVER-37142 Make clearing the MovePrimarySourceManager a no-op if one ↵Jack Mulrow2018-09-241-2/+0
| | | | doesn't exist
* SERVER-34435 rename versioning.{h,cpp} to database_version_helpers.{h,cpp}Esha Maharishi2018-04-131-1/+1
|
* SERVER-34435 DatabaseVersion idl type should not use lexicographic comparisonEsha Maharishi2018-04-131-1/+2
|
* SERVER-34273 Bring database version checking out from under test flagEsha Maharishi2018-04-051-8/+0
|
* SERVER-33773 Add 'waitForMovePrimaryCriticalSection' flag to ↵Blake Oler2018-04-031-3/+2
| | | | OperationShardingState
* SERVER-33099 Trigger server-side refresh of the cached database entry on ↵Esha Maharishi2018-04-021-1/+5
| | | | StaleDatabaseVersion
* SERVER-34246 Add getDatabaseVersion command on shards for support and testingEsha Maharishi2018-04-021-0/+8
|
* SERVER-33769 Implement a commitMovePrimary command on the config serverBlake Oler2018-04-021-1/+1
|
* SERVER-33206 Create MovePrimarySourceManager and add clone commandBlake Oler2018-03-191-0/+20
|
* SERVER-29908 Move the migration critical section out of MigrationSourceManagerKaloian Manassiev2018-03-131-11/+12
|
* SERVER-33098 Make shards check the client's databaseVersion and throw ↵Esha Maharishi2018-03-121-5/+28
| | | | StaleDbVersion on mismatch
* SERVER-33437 Make Decorables not type-erased.ADAM David Alan Martin2018-03-021-5/+5
| | | | | | | | | | | | The current Decorable system type-erases the most derived (Decorated) type when registering Decorations. This is illegal as derived classes which are no longer standard-layout can have the `Decorable` base class reordered with respect to the base address of their storage. This also removes the "with-owner" forms of declaring a decoration, which caused problems with layout. The decoration handles have been modified to provide mechanisms to get back to the owner directly, given a pointer or reference to the decoration.
* SERVER-33032 add a DatabaseShardingState containing the databaseVersion as a ↵Esha Maharishi2018-02-261-0/+85
decoration on Database