summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharding_state_recovery.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-29909 Remove circular dependency between db_raii and sharding librariesKaloian Manassiev2017-12-281-2/+1
| | | | | (cherry picked from commit 8467708af7fa83f8827362b80f56dab4aad30a41) (cherry picked from commit 4312da76ee19623dd60811a22a53fa8e9beb484c)
* SERVER-30053 Get rid of the ShardingCatalogManager interfaceKaloian Manassiev2017-07-171-6/+6
| | | | | | 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-5/+5
| | | | | This method is now just a simple getter and doesn't require operation context.
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-1/+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-27713 create an OpObserver for shard chunk metadata updatesDianna Hohensee2017-06-151-5/+6
|
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-21/+22
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-27625 remove dead ANSA and setShardVersion codeEsha Maharishi2017-01-231-10/+1
|
* SERVER-26340 ShardingState::setShardName should be called under ↵Esha Maharishi2016-10-101-2/+2
| | | | initializeFromConfigConnString's "lock"
* SERVER-24991 log redaction for storage mongosRamon Fernandez2016-08-271-4/+4
|
* SERVER-25001 Wire in new _configsvrSplitChunk command so mongod no longer ↵Jess Fan2016-08-231-1/+2
| | | | runs applyOps directly.
* SERVER-24465 Remove 'recoverShardingState' server parameterSpencer T Brody2016-07-261-12/+10
|
* SERVER-24842 ShardingStateRecovery::recover cleanup should not wait for ↵Kaloian Manassiev2016-07-051-3/+6
| | | | replication
* SERVER-24323 Rename CatalogManager to ShardingCatalogClientSpencer T Brody2016-06-131-4/+4
| | | | | | 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-23971 Clang-Format codeMark Benvenuto2016-05-281-1/+1
|
* SERVER-23933 Remove OpDebug from ops/update.cpp::update()James Wahlin2016-05-191-2/+1
|
* SERVER-23128 Remove sharding logic from UpdateLifecycleImplMathias Stearn2016-04-211-1/+1
| | | | It didn't actually do anything
* SERVER-22661 Require --shardsvr for shard aware initializationRandolph Tan2016-04-081-0/+4
|
* SERVER-23479 move ownership of configOpTime to GridEsha Maharishi2016-04-051-4/+3
|
* SERVER-22661 Add initialization from shard identity docRandolph Tan2016-03-231-2/+6
|
* SERVER-23103 Break circularity between optime and bson_extractAndrew Morrow2016-03-211-0/+1
|
* SERVER-22318 remove SCCC supportMisha Tyulenev2016-03-031-8/+0
|
* SERVER-22276 SERVER-22277 implement "j" flag in write concern apply to ↵matt dannenberg2016-02-041-1/+1
| | | | secondary as well as primary
* SERVER-21823 Update and findAndModify with {upsert: true} should report ↵Tess Avitabile2016-01-291-1/+1
| | | | nMatched:0 nModified:0 if results in an insert
* SERVER-21222 minOpTime recovery should only be written if the config server ↵Randolph Tan2015-11-101-0/+8
| | | | is replica set
* SERVER-21186 Make actionLog format the same as changeLog'sKaloian Manassiev2015-11-031-1/+0
| | | | | Ensures that the action log entries have _id keys as well and unifies the logging code for sharding operations.
* SERVER-20889 Add server parameter for disabling sharding state recoverySpencer T Brody2015-10-221-0/+10
|
* SERVER-21033 Do not wait for write concern under lockKaloian Manassiev2015-10-211-4/+7
|
* SERVER-19934 Sharding config minOpTime recoveryKaloian Manassiev2015-10-071-0/+297
Adds a framework to record incomplete sharding metadata change operations, which can be recovered at startup or transition to primary. This version of the framework is blocking in that it cannot be interrupted until completed.