diff options
author | Daniel Alabi <alabidan@gmail.com> | 2015-03-18 15:24:07 -0400 |
---|---|---|
committer | Daniel Alabi <alabidan@gmail.com> | 2015-03-18 15:34:24 -0400 |
commit | b91ea550904b0863f6d6c96fc38150add8c1ec03 (patch) | |
tree | a4fe7b59f98c5100e16da16cbb5ddb3d601c84f1 /src/mongo/s/chunk_manager.h | |
parent | c887c1e141b9d135a29e7f53dbb280a3406a87a2 (diff) | |
download | mongo-b91ea550904b0863f6d6c96fc38150add8c1ec03.tar.gz |
SERVER-17586 Update ShardVersionMap in ChunkManager when shard is deleted during balancing
Fix dbtest ChunkManagerLoadBasicTest so that it actually inserts a shard document into
config.shards.
Diffstat (limited to 'src/mongo/s/chunk_manager.h')
-rw-r--r-- | src/mongo/s/chunk_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/chunk_manager.h b/src/mongo/s/chunk_manager.h index c15fb7dbaa1..1e57c45d6d5 100644 --- a/src/mongo/s/chunk_manager.h +++ b/src/mongo/s/chunk_manager.h @@ -224,7 +224,7 @@ namespace mongo { bool _load(const std::string& config, ChunkMap& chunks, std::set<Shard>& shards, - ShardVersionMap& shardVersions, + ShardVersionMap* shardVersions, const ChunkManager* oldManager); static bool _isValid(const ChunkMap& chunks); |