function _constructFromExistingSeedNode(seedNode) {
        var conf = _replSetGetConfig(new Mongo(seedNode));
        print('Recreating replica set from config ' + tojson(conf));

        var existingNodes = conf.members.map(member => member.host);
        self.ports = existingNodes.map(node => node.split(':')[1]);
        self.nodes = existingNodes.map(node => new Mongo(node));
    }
/**
     * Constructor, which instantiates the ReplSetTest object from an existing set.
     */
Constructor, which instantiates the ReplSetTest object from an existing set.
Constructor which instantiates the ReplSetTest object from an existing set .
function _constructFromExistingSeedNode(seedNode) {
        var conf = _replSetGetConfig(new Mongo(seedNode));
        print('Recreating replica set from config ' + tojson(conf));
        var existingNodes = conf.members.map(member => member.host);
        self.ports = existingNodes.map(node => node.split(':')[1]);
        self.nodes = existingNodes.map(node => new Mongo(node));
    }
function _constructFromExistingSeedNode ( seedNode ) { var conf = _replSetGetConfig ( new Mongo ( seedNode ) ) ; print ( 'Recreating replica set from config ' + tojson ( conf ) ) ; var existingNodes = conf . members . map ( member => member . host ) ; self . ports = existingNodes . map ( node => node . split ( ':' ) [ 1 ] ) ; self . nodes = existingNodes . map ( node => new Mongo ( node ) ) ; }
Constructor, which instantiates the ReplSetTest object from an existing set.
Constructor which instantiates the ReplSetTest object from an existing set .