| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
This is the only place where it is used.
|
| |
|
|
|
|
|
| |
Currently this value is ignored by the shard and it will be used by a
subsequent change.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
This change moves the "shard status" retrieval to common static functions
and gets rid of the ShardStatus function.
|