Skip to content

Commit

Permalink
clean cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Lerner committed Nov 5, 2010
1 parent a226549 commit 5e927a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions s/chunk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -914,12 +914,6 @@ namespace mongo {
}
return ss.str();
}

void ChunkManager::_migrationNotification(Chunk* c){
_chunkRanges.reloadRange(_chunkMap, c->getMin(), c->getMax());
_shards.insert(c->getShard());
}


void ChunkRangeManager::assertValid() const{
if (_ranges.empty())
Expand Down
5 changes: 0 additions & 5 deletions s/chunk.h
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,6 @@ namespace mongo {
ShardKeyPattern _key;
bool _unique;

map<string,unsigned long long> _maxMarkers;

ChunkMap _chunkMap;
ChunkRangeManager _chunkRanges;

Expand All @@ -354,9 +352,6 @@ namespace mongo {
mutable RWLock _lock;
DistributedLock _nsLock;

// This should only be called from Chunk after it has been migrated
void _migrationNotification(Chunk* c);

friend class Chunk;
friend class ChunkRangeManager; // only needed for CRM::assertValid()
static AtomicUInt NextSequenceNumber;
Expand Down

0 comments on commit 5e927a1

Please sign in to comment.