summaryrefslogtreecommitdiff
path: root/src/mongo/s/shard_util.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-3/+3
| | | | | | 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-27809 Move regular chunk split to the balancerKaloian Manassiev2017-01-301-4/+3
|
* SERVER-27809 Move chunk 'at median' split to the cluster split commandKaloian Manassiev2017-01-251-18/+5
| | | | This is the only place where it is used.
* SERVER-27613 do not send chunk's ChunkVersion in split requestsEsha Maharishi2017-01-111-2/+0
|
* SERVER-25527 Make moveChunk and splitChunk commands include the chunk versionKaloian Manassiev2016-08-171-0/+2
| | | | | Currently this value is ignored by the shard and it will be used by a subsequent change.
* SERVER-24071 Introduce ChunkRange classKaloian Manassiev2016-05-091-1/+2
| | | | | | | This change introduces a ChunkRange class to be used for parsing and serialization of chunk min and max bounds. It also switches the chunk manager and sharding utilities to use ranges encoding the chunk bounds separately.
* SERVER-22667 Move multiSplit to shardutilKaloian Manassiev2016-04-261-7/+31
| | | | | | Moves the Chunk::multiSplit command to the shardutil namespace and makes it accept all necessary arguments. This change helps go in the direction of making Chunk an interface purely for caching.
* SERVER-22667 Move Chunk::pickSplitVector/MedianKey out of ChunkKaloian Manassiev2016-04-121-4/+38
| | | | | | | | | The pickSplitVector and selectMedianKey utilities logically belong to the balancer, so moving them out of the Chunk class and into shard_util. The changes to balance.cpp have no functional effect, just rearranging them to better match the balancer control flow and to make the subsequent changes easier to follow.
* SERVER-19875 Add OperationContext to CatalogManager::getAllShardsSpencer T Brody2015-08-251-1/+4
|
* SERVER-19111 Get rid of ShardStatusKaloian Manassiev2015-06-291-0/+56
This change moves the "shard status" retrieval to common static functions and gets rid of the ShardStatus function.