Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-18978: Clang-Format - Fix comment word wrapping indentation | Mark Benvenuto | 2015-06-20 | 1 | -11/+16 |
| | |||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -2337/+2290 |
| | |||||
* | SERVER-18815 Rename shard registry's findIfExists(...) to getShard(...) and ↵ | Daniel Alabi | 2015-06-18 | 1 | -2/+2 |
| | | | | avoid references to shared pointers to Shard object | ||||
* | SERVER-18947 Cleanup unused code in chunk.h | Kaloian Manassiev | 2015-06-17 | 1 | -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 Schwerin | 2015-06-16 | 1 | -69/+66 |
| | |||||
* | SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptr | Andrew Morrow | 2015-06-10 | 1 | -2/+2 |
| | |||||
* | SERVER-18807 modified ReplicationCoordinator::canAcceptWritesForDatabases to ↵ | Benety Goh | 2015-06-09 | 1 | -5/+4 |
| | | | | accept a namespace instead of a database name | ||||
* | SERVER-18347 Attach ShardedConnectionInfo as a client decoration | Andrew Morrow | 2015-06-08 | 1 | -1/+1 |
| | |||||
* | SERVER-18277 Stronger locking rules for CurOp and OpDebug. | Andy Schwerin | 2015-06-05 | 1 | -4/+4 |
| | |||||
* | SERVER-18127 Remove ConfigServer::modelServer | Kaloian Manassiev | 2015-06-04 | 1 | -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&) constructor | Kaloian Manassiev | 2015-06-04 | 1 | -24/+48 |
| | | | | | This change removes the shard constructor accepting std::string, since shard creation should be explicit. | ||||
* | SERVER-18157 Appropriately handle applyOps status during migration | Daniel Alabi | 2015-06-03 | 1 | -12/+8 |
| | |||||
* | SERVER-14995 Move _killPending from CurOp to OperationContext. | Andy Schwerin | 2015-06-02 | 1 | -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 Schwerin | 2015-06-02 | 1 | -3/+0 |
| | | | | | | OperationContext." This reverts commit e181ea38af737ef7aaf5f8228f870d8c7149b2bb. | ||||
* | SERVER-18438 Unify shard runtime status retrieval | Kaloian Manassiev | 2015-05-31 | 1 | -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 Brody | 2015-05-29 | 1 | -0/+3 |
| | | | | | | OperationContext." This reverts commit 4ea38c308da292f43e29d32b1b53b7324db0bafe. | ||||
* | SERVER-14995 Move operation id, lockState and client fields to OperationContext. | Andy Schwerin | 2015-05-29 | 1 | -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 addresses | Kaloian Manassiev | 2015-05-26 | 1 | -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 maxTimeMS | Spencer T Brody | 2015-05-18 | 1 | -1/+1 |
| | |||||
* | Revert "Revert "SERVER-18515 Replace OperationContext::getCurOp with ↵ | Ernie Hershey | 2015-05-18 | 1 | -2/+2 |
| | | | | | | CurOp::get(OperationContext*)"" This reverts commit 7147e127644cba2bfa292945557b43664cc31f47. | ||||
* | Revert "SERVER-18515 Replace OperationContext::getCurOp with ↵ | Ernie Hershey | 2015-05-18 | 1 | -2/+2 |
| | | | | | | CurOp::get(OperationContext*)" This reverts commit d5bf63455aa614d98ac840f09ce5ca6b813b9507. | ||||
* | SERVER-18515 Replace OperationContext::getCurOp with ↵ | Andy Schwerin | 2015-05-18 | 1 | -2/+2 |
| | | | | CurOp::get(OperationContext*) | ||||
* | SERVER-18171: Rename commitAndRestart to abandonSnapshot | Geert Bosch | 2015-05-15 | 1 | -1/+1 |
| | |||||
* | SERVER-18124 Move 'newest chunk' check to the catalog manager | Kaloian Manassiev | 2015-05-15 | 1 | -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 Zhou | 2015-05-12 | 1 | -6/+7 |
| | |||||
* | SERVER-18227 Add a mechanism to disable document validation and start using it | Mathias Stearn | 2015-05-08 | 1 | -0/+3 |
| | | | | This does not necessarily cover all places that need to disable validation. | ||||
* | SERVER-17592 Move legacy dist lock code under catalog | Randolph Tan | 2015-05-05 | 1 | -1/+1 |
| | |||||
* | SERVER-5218 Batch oplog writes always wait for journal. | Siyuan Zhou | 2015-04-30 | 1 | -1/+1 |
| | |||||
* | Revert "SERVER-5218 Batch oplog writes always wait for journal." | Siyuan Zhou | 2015-04-29 | 1 | -1/+1 |
| | | | | This reverts commit 27a8cb772d9e876fc7549a2c6ce3c1a62a4a394f. | ||||
* | SERVER-5218 Batch oplog writes always wait for journal. | Siyuan Zhou | 2015-04-29 | 1 | -1/+1 |
| | |||||
* | SERVER-17915 Partial indexes shouldn't be eligible as shard key index | Jason Rassi | 2015-04-28 | 1 | -3/+3 |
| | | | | | | - Adds new public method IndexDescriptor::isPartial(). - Replaces IndexCatalog::findIndexByPrefix() with IndexCatalog::findShardKeyPrefixedIndex(). | ||||
* | SERVER-17592 Refactor legacy logic into distributed lock manager | Randolph Tan | 2015-04-24 | 1 | -8/+8 |
| | |||||
* | SERVER-17817 Make ServiceContext create and manage Client objects. | Andy Schwerin | 2015-04-20 | 1 | -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 Alabi | 2015-04-20 | 1 | -22/+8 |
| | | | | manager for applyOps | ||||
* | SERVER-15860 Switch replication metadata ops to be replication-specific, ↵ | matt dannenberg | 2015-04-17 | 1 | -7/+42 |
| | | | | rather than using commands | ||||
* | SERVER-17760 shardId no longer used by splitChunk and moveChunk commands | Daniel Alabi | 2015-04-17 | 1 | -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 interfaces | David Storch | 2015-04-17 | 1 | -2/+2 |
| | |||||
* | SERVER-17817 Make AuthorizationSession a decoration of ClientBasic. | Andy Schwerin | 2015-04-16 | 1 | -2/+2 |
| | |||||
* | SERVER-18064 Move shard.cpp under the sharding client library | Kaloian Manassiev | 2015-04-15 | 1 | -1/+1 |
| | |||||
* | SERVER-17573 move OpObserver calls into the datalayer as much as possible ↵ | matt dannenberg | 2015-04-09 | 1 | -2/+1 |
| | | | | and eliminate repl bools | ||||
* | SERVER-17875 Remove redundant check done on receiving-end of chunk migration | Daniel Alabi | 2015-04-08 | 1 | -1/+1 |
| | |||||
* | SERVER-17874 Fix parameter hiding in src/mongo/s | Daniel Alabi | 2015-04-08 | 1 | -5/+5 |
| | | | | | Conflicts: src/mongo/s/commands_public.cpp | ||||
* | SERVER-17880 Rename OpTime to Timestamp | Eric Milkie | 2015-04-07 | 1 | -6/+6 |
| | |||||
* | SERVER-17774 Move ChunkType to src/mongo/s/catalog | Daniel Alabi | 2015-04-07 | 1 | -1/+1 |
| | |||||
* | SERVER-17817 Move replication-specific data from Client into ReplClientInfo ↵ | Andy Schwerin | 2015-04-06 | 1 | -4/+7 |
| | | | | decoration. | ||||
* | SERVER-17880 remove ReplTime | Eric Milkie | 2015-04-06 | 1 | -7/+7 |
| | |||||
* | SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext. | Andy Schwerin | 2015-04-03 | 1 | -2/+2 |
| | |||||
* | SERVER-17805 logOp / OperationObserver should always check shardversion | Randolph Tan | 2015-04-01 | 1 | -1/+3 |
| | |||||
* | SERVER-17758 Move AutoGet* and Client::*Context to their own file. | Andy Schwerin | 2015-03-27 | 1 | -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 manager | Kaloian Manassiev | 2015-03-24 | 1 | -5/+14 |
| | | | | | So they can be abstracted behind the interface and not go through a config server connection directly. |