mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
clean cruft
This commit is contained in:
parent
de7e99dcf5
commit
3348a25a3d
@ -56,12 +56,6 @@ namespace mongo {
|
||||
return _manager->getns();
|
||||
}
|
||||
|
||||
void Chunk::setShard( const Shard& s ){
|
||||
_shard = s;
|
||||
_manager->_migrationNotification(this);
|
||||
_modified = true;
|
||||
}
|
||||
|
||||
bool Chunk::contains( const BSONObj& obj ) const{
|
||||
return
|
||||
_manager->getShardKey().compare( getMin() , obj ) <= 0 &&
|
||||
|
Loading…
Reference in New Issue
Block a user