summaryrefslogtreecommitdiff
path: root/src/mongo/s/d_migrate.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-18978: Clang-Format - Fix comment word wrapping indentationMark Benvenuto2015-06-201-11/+16
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-2337/+2290
|
* SERVER-18815 Rename shard registry's findIfExists(...) to getShard(...) and ↵Daniel Alabi2015-06-181-2/+2
| | | | avoid references to shared pointers to Shard object
* SERVER-18947 Cleanup unused code in chunk.hKaloian Manassiev2015-06-171-29/+28
| | | | | This is in preparation for moving out networking code out of the Chunk class.
* SERVER-6686 Remove all uses of boost::xtime outside of time_support.cpp.Andy Schwerin2015-06-161-69/+66
|
* SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptrAndrew Morrow2015-06-101-2/+2
|
* SERVER-18807 modified ReplicationCoordinator::canAcceptWritesForDatabases to ↵Benety Goh2015-06-091-5/+4
| | | | accept a namespace instead of a database name
* SERVER-18347 Attach ShardedConnectionInfo as a client decorationAndrew Morrow2015-06-081-1/+1
|
* SERVER-18277 Stronger locking rules for CurOp and OpDebug.Andy Schwerin2015-06-051-4/+4
|
* SERVER-18127 Remove ConfigServer::modelServerKaloian Manassiev2015-06-041-1/+1
| | | | | | The config server connection string should only be needed for cases where we need to send it to the remote servers as part of either set shard version or initial shard handshake.
* SERVER-18815 Remove Shard(std::string&) constructorKaloian Manassiev2015-06-041-24/+48
| | | | | This change removes the shard constructor accepting std::string, since shard creation should be explicit.
* SERVER-18157 Appropriately handle applyOps status during migrationDaniel Alabi2015-06-031-12/+8
|
* SERVER-14995 Move _killPending from CurOp to OperationContext.Andy Schwerin2015-06-021-1/+1
| | | | | | | Also, limit the lifetime of OperationContext in MongoD so that it goes out of scope before sending a reply to the client. This is necessary so that operations do not appear in the currentOp command result after the server sends a response to the client.
* Reapply "SERVER-14995 Move operation id, lockState and client fields to ↵Andy Schwerin2015-06-021-3/+0
| | | | | | OperationContext." This reverts commit e181ea38af737ef7aaf5f8228f870d8c7149b2bb.
* SERVER-18438 Unify shard runtime status retrievalKaloian Manassiev2015-05-311-90/+72
| | | | | | This change is in preparation for making Shard use the RemoteCommandRunner, where we will start invoking commands instead of going directly through the connections.
* Revert "SERVER-14995 Move operation id, lockState and client fields to ↵Spencer T Brody2015-05-291-0/+3
| | | | | | OperationContext." This reverts commit 4ea38c308da292f43e29d32b1b53b7324db0bafe.
* SERVER-14995 Move operation id, lockState and client fields to OperationContext.Andy Schwerin2015-05-291-3/+0
| | | | | | | | | | | | | They have been moved from OperationContextImpl. Furthermore, the CurOp stack is now attached to OperationContext, instead of Client. With this change, an operation's lifetime is governed by the lifetime of an OperationContext object. The "_active" field of CurOp is therefore no longer meaingful. This required fixing the lifetime of OperationContext in a few places. A future change will adjust operation lifetime timing to time the lifetime of the OperationContext object, as well.
* SERVER-18127 Shard class should use ConnectionString for addressesKaloian Manassiev2015-05-261-5/+5
| | | | | Currently we convert indiscriminately between ConnectionString and std::string. This change unifies all places to use only ConnectionString.
* SERVER-18355 Make awaitReplication properly respect maxTimeMSSpencer T Brody2015-05-181-1/+1
|
* Revert "Revert "SERVER-18515 Replace OperationContext::getCurOp with ↵Ernie Hershey2015-05-181-2/+2
| | | | | | CurOp::get(OperationContext*)"" This reverts commit 7147e127644cba2bfa292945557b43664cc31f47.
* Revert "SERVER-18515 Replace OperationContext::getCurOp with ↵Ernie Hershey2015-05-181-2/+2
| | | | | | CurOp::get(OperationContext*)" This reverts commit d5bf63455aa614d98ac840f09ce5ca6b813b9507.
* SERVER-18515 Replace OperationContext::getCurOp with ↵Andy Schwerin2015-05-181-2/+2
| | | | CurOp::get(OperationContext*)
* SERVER-18171: Rename commitAndRestart to abandonSnapshotGeert Bosch2015-05-151-1/+1
|
* SERVER-18124 Move 'newest chunk' check to the catalog managerKaloian Manassiev2015-05-151-13/+16
| | | | | * Adds ability to specify limit to the chunk listing call. * Gets rid of the getChunksForShard call since it can be built on getChunks
* SERVER-18217 Change Timestamp to OpTime where appropriate.Siyuan Zhou2015-05-121-6/+7
|
* SERVER-18227 Add a mechanism to disable document validation and start using itMathias Stearn2015-05-081-0/+3
| | | | This does not necessarily cover all places that need to disable validation.
* SERVER-17592 Move legacy dist lock code under catalogRandolph Tan2015-05-051-1/+1
|
* SERVER-5218 Batch oplog writes always wait for journal.Siyuan Zhou2015-04-301-1/+1
|
* Revert "SERVER-5218 Batch oplog writes always wait for journal."Siyuan Zhou2015-04-291-1/+1
| | | | This reverts commit 27a8cb772d9e876fc7549a2c6ce3c1a62a4a394f.
* SERVER-5218 Batch oplog writes always wait for journal.Siyuan Zhou2015-04-291-1/+1
|
* SERVER-17915 Partial indexes shouldn't be eligible as shard key indexJason Rassi2015-04-281-3/+3
| | | | | | - Adds new public method IndexDescriptor::isPartial(). - Replaces IndexCatalog::findIndexByPrefix() with IndexCatalog::findShardKeyPrefixedIndex().
* SERVER-17592 Refactor legacy logic into distributed lock managerRandolph Tan2015-04-241-8/+8
|
* SERVER-17817 Make ServiceContext create and manage Client objects.Andy Schwerin2015-04-201-1/+0
| | | | | | | | | | | | Also, deduplicate Client::* method implementations, guard the identity of the current CurOp of a Client with the Client's _mutex instead of the mutex guarding the list of all clients. Makes the currentClient object private to client.cpp, and all access to the thread-bound client is now done with haveClient() and cc() free functions in the mongo namespace. Removes the vesitgal Client::shutdown() methods.
* SERVER-17760 moveChunk, mergeChunk, splitChunk commands should use catalog ↵Daniel Alabi2015-04-201-22/+8
| | | | manager for applyOps
* SERVER-15860 Switch replication metadata ops to be replication-specific, ↵matt dannenberg2015-04-171-7/+42
| | | | rather than using commands
* SERVER-17760 shardId no longer used by splitChunk and moveChunk commandsDaniel Alabi2015-04-171-7/+0
| | | | | In mongods <= 2.6, we use shardId to get the current metadata information for the current chunk. Now, we use cached CollectionMetadata.
* SERVER-17633 add const qualifiers to PlanStage and Explain interfacesDavid Storch2015-04-171-2/+2
|
* SERVER-17817 Make AuthorizationSession a decoration of ClientBasic.Andy Schwerin2015-04-161-2/+2
|
* SERVER-18064 Move shard.cpp under the sharding client libraryKaloian Manassiev2015-04-151-1/+1
|
* SERVER-17573 move OpObserver calls into the datalayer as much as possible ↵matt dannenberg2015-04-091-2/+1
| | | | and eliminate repl bools
* SERVER-17875 Remove redundant check done on receiving-end of chunk migrationDaniel Alabi2015-04-081-1/+1
|
* SERVER-17874 Fix parameter hiding in src/mongo/sDaniel Alabi2015-04-081-5/+5
| | | | | Conflicts: src/mongo/s/commands_public.cpp
* SERVER-17880 Rename OpTime to TimestampEric Milkie2015-04-071-6/+6
|
* SERVER-17774 Move ChunkType to src/mongo/s/catalogDaniel Alabi2015-04-071-1/+1
|
* SERVER-17817 Move replication-specific data from Client into ReplClientInfo ↵Andy Schwerin2015-04-061-4/+7
| | | | decoration.
* SERVER-17880 remove ReplTimeEric Milkie2015-04-061-7/+7
|
* SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext.Andy Schwerin2015-04-031-2/+2
|
* SERVER-17805 logOp / OperationObserver should always check shardversionRandolph Tan2015-04-011-1/+3
|
* SERVER-17758 Move AutoGet* and Client::*Context to their own file.Andy Schwerin2015-03-271-8/+9
| | | | | The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and Client::WriteContext is OldClientWriteContext.
* SERVER-17690 Move sharding change logging operations to catalog managerKaloian Manassiev2015-03-241-5/+14
| | | | | So they can be abstracted behind the interface and not go through a config server connection directly.