Skip to content

Instantly share code, notes, and snippets.

@YuriGor
Last active October 15, 2018 08:56
Show Gist options
  • Save YuriGor/04192230fb63542c1af5ff5c19b3a724 to your computer and use it in GitHub Desktop.
Save YuriGor/04192230fb63542c1af5ff5c19b3a724 to your computer and use it in GitHub Desktop.
How to get updating document _id inside pre-updateOne hook?
const fs = require('fs');
const stringify = require('json-stringify-safe');
const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
async function main() {
let _id = '';
const mongoUri = 'mongodb://localhost/pre';
await mongoose.connect(
mongoUri,
{ useNewUrlParser: true },
error => {
if (error) console.error(error);
else console.info('mondo connected');
},
);
const schema = new mongoose.Schema({ name: { type: String } });
schema.pre('updateOne', async function() {
console.log('pre-updateOne! Writing this to JSON file..');
fs.writeFileSync(
`./query.doc-${_id}.json`,
stringify(this, null, 2),
'utf-8',
);
});
const Model = mongoose.model('Model', schema);
await Model.remove({});
let res = await Model.create({
name: "I'll be updated soon",
});
console.log(res.name, res._id);
_id = res._id;
await Model.updateOne(
({ _id: res._id }, { $set: { name: 'I was updated!' } }),
);
await mongoose.disconnect();
}
main();
{
"_mongooseOptions": {},
"_transforms": [],
"mongooseCollection": {
"collection": {
"s": {
"db": {
"_events": {},
"_eventsCount": 3,
"s": {
"databaseName": "pre",
"dbCache": {},
"children": [],
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"options": {},
"logger": {
"className": "Db"
},
"bson": {},
"bufferMaxEntries": -1,
"parentDb": null,
"noListener": false
},
"serverConfig": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.db.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"bufferMaxEntries": -1,
"databaseName": "pre"
},
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.collection.s.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.collection.s.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.collection.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.collection.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.collection.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.collection.s.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"dbName": "pre",
"options": {},
"namespace": "pre.models",
"readPreference": null,
"slaveOk": false,
"internalHint": null,
"collectionHint": null,
"name": "models"
}
},
"opts": {
"bufferCommands": true,
"capped": false
},
"name": "models",
"collectionName": "models",
"conn": {
"base": {
"connections": [
"[Circular ~.mongooseCollection.conn]"
],
"models": {},
"modelSchemas": {
"Model": {
"obj": {
"name": {}
},
"paths": {
"name": {
"enumValues": [],
"regExp": null,
"path": "name",
"instance": "String",
"validators": [],
"setters": [],
"getters": [],
"options": {},
"_index": null,
"$parentSchema": "[Circular ~.mongooseCollection.conn.base.modelSchemas.Model]"
},
"_id": {
"path": "_id",
"instance": "ObjectID",
"validators": [],
"setters": [
null
],
"getters": [],
"options": {
"auto": true
},
"_index": null,
"$parentSchema": "[Circular ~.mongooseCollection.conn.base.modelSchemas.Model]"
},
"__v": {
"path": "__v",
"instance": "Number",
"validators": [],
"setters": [],
"getters": [],
"options": {},
"_index": null
}
},
"aliases": {},
"subpaths": {},
"virtuals": {
"id": {
"path": "id",
"getters": [
null
],
"setters": [],
"options": {}
}
},
"singleNestedPaths": {},
"nested": {},
"inherits": {},
"callQueue": [],
"_indexes": [],
"methods": {},
"methodOptions": {},
"statics": {},
"tree": {
"name": {},
"_id": {
"auto": true
},
"id": {
"path": "id",
"getters": [
null
],
"setters": [],
"options": {}
}
},
"query": {},
"childSchemas": [],
"plugins": [
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
}
],
"$id": 1,
"s": {
"hooks": {
"_pres": {},
"_posts": {}
}
},
"_userProvidedOptions": {},
"options": {
"typeKey": "type",
"id": true,
"noVirtualId": false,
"_id": true,
"noId": false,
"validateBeforeSave": true,
"read": null,
"shardKey": null,
"autoIndex": null,
"minimize": true,
"discriminatorKey": "__t",
"versionKey": "__v",
"capped": false,
"bufferCommands": true,
"strict": true,
"pluralization": true
},
"$globalPluginsApplied": true,
"_requiredpaths": []
}
},
"options": {
"pluralization": true
},
"plugins": [
[
null,
{
"deduplicate": true
}
],
[
null,
{
"deduplicate": true
}
],
[
null,
{
"deduplicate": true
}
],
[
null,
{
"deduplicate": true
}
]
]
},
"collections": {
"models": "[Circular ~.mongooseCollection]"
},
"models": {},
"config": {
"autoIndex": true
},
"replica": false,
"options": null,
"otherDbs": [],
"relatedDbs": {},
"states": {
"0": "disconnected",
"1": "connected",
"2": "connecting",
"3": "disconnecting",
"99": "uninitialized",
"disconnected": 0,
"connected": 1,
"connecting": 2,
"disconnecting": 3,
"uninitialized": 99
},
"_readyState": 1,
"_closeCalled": false,
"_hasOpened": true,
"$internalEmitter": {
"_events": {},
"_eventsCount": 1,
"_maxListeners": 0
},
"_listening": false,
"_connectionOptions": {
"useNewUrlParser": true
},
"name": "pre",
"host": "localhost",
"port": 27017,
"user": null,
"pass": null,
"client": {
"_events": {},
"_eventsCount": 0,
"s": {
"url": "mongodb://localhost/pre",
"options": {
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"dbCache": {
"pre": {
"_events": {},
"_eventsCount": 3,
"s": {
"databaseName": "pre",
"dbCache": {},
"children": [],
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"options": {},
"logger": {
"className": "Db"
},
"bson": {},
"bufferMaxEntries": -1,
"parentDb": null,
"noListener": false
},
"serverConfig": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"bufferMaxEntries": -1,
"databaseName": "pre"
}
},
"sessions": []
},
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.client.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.client.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.client.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.client.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.client.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.client.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
}
},
"$initialConnection": {},
"db": {
"_events": {},
"_eventsCount": 3,
"s": {
"databaseName": "pre",
"dbCache": {},
"children": [],
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.db.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.db.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.db.s.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.db.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.db.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.db.s.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"options": {},
"logger": {
"className": "Db"
},
"bson": {},
"bufferMaxEntries": -1,
"parentDb": null,
"noListener": false
},
"serverConfig": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~.mongooseCollection.conn.db.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~.mongooseCollection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"bufferMaxEntries": -1,
"databaseName": "pre"
}
},
"queue": [],
"buffer": false,
"emitter": {
"_events": {},
"_eventsCount": 0
}
},
"schema": {
"obj": {
"name": {}
},
"paths": {
"name": {
"enumValues": [],
"regExp": null,
"path": "name",
"instance": "String",
"validators": [],
"setters": [],
"getters": [],
"options": {},
"_index": null,
"$parentSchema": "[Circular ~.schema]"
},
"_id": {
"path": "_id",
"instance": "ObjectID",
"validators": [],
"setters": [
null
],
"getters": [],
"options": {
"auto": true
},
"_index": null,
"$parentSchema": "[Circular ~.schema]"
},
"__v": {
"path": "__v",
"instance": "Number",
"validators": [],
"setters": [],
"getters": [],
"options": {},
"_index": null
}
},
"aliases": {},
"subpaths": {},
"virtuals": {
"id": {
"path": "id",
"getters": [
null
],
"setters": [],
"options": {}
}
},
"singleNestedPaths": {},
"nested": {},
"inherits": {},
"callQueue": [],
"_indexes": [],
"methods": {},
"methodOptions": {},
"statics": {},
"tree": {
"name": {},
"_id": {
"auto": true
},
"id": {
"path": "id",
"getters": [
null
],
"setters": [],
"options": {}
}
},
"query": {},
"childSchemas": [],
"plugins": [
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
}
],
"$id": 1,
"s": {
"hooks": {
"_pres": {},
"_posts": {}
}
},
"_userProvidedOptions": {},
"options": {
"typeKey": "type",
"id": true,
"noVirtualId": false,
"_id": true,
"noId": false,
"validateBeforeSave": true,
"read": null,
"shardKey": null,
"autoIndex": null,
"minimize": true,
"discriminatorKey": "__t",
"versionKey": "__v",
"capped": false,
"bufferCommands": true,
"strict": true,
"pluralization": true
},
"$globalPluginsApplied": true,
"_requiredpaths": []
},
"op": "updateOne",
"options": {},
"_conditions": {},
"_update": {
"$set": {
"name": "I was updated!"
}
},
"_collection": {
"collection": {
"collection": {
"s": {
"db": {
"_events": {},
"_eventsCount": 3,
"s": {
"databaseName": "pre",
"dbCache": {},
"children": [],
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.db.s.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.db.s.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"options": {},
"logger": {
"className": "Db"
},
"bson": {},
"bufferMaxEntries": -1,
"parentDb": null,
"noListener": false
},
"serverConfig": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.db.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.db.serverConfig.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"bufferMaxEntries": -1,
"databaseName": "pre"
},
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.collection.s.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.collection.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.collection.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.collection.s.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.collection.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.collection.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.collection.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.collection.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.collection.s.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"dbName": "pre",
"options": {},
"namespace": "pre.models",
"readPreference": null,
"slaveOk": false,
"internalHint": null,
"collectionHint": null,
"name": "models"
}
},
"opts": {
"bufferCommands": true,
"capped": false
},
"name": "models",
"collectionName": "models",
"conn": {
"base": {
"connections": [
"[Circular ~._collection.collection.conn]"
],
"models": {},
"modelSchemas": {
"Model": {
"obj": {
"name": {}
},
"paths": {
"name": {
"enumValues": [],
"regExp": null,
"path": "name",
"instance": "String",
"validators": [],
"setters": [],
"getters": [],
"options": {},
"_index": null,
"$parentSchema": "[Circular ~._collection.collection.conn.base.modelSchemas.Model]"
},
"_id": {
"path": "_id",
"instance": "ObjectID",
"validators": [],
"setters": [
null
],
"getters": [],
"options": {
"auto": true
},
"_index": null,
"$parentSchema": "[Circular ~._collection.collection.conn.base.modelSchemas.Model]"
},
"__v": {
"path": "__v",
"instance": "Number",
"validators": [],
"setters": [],
"getters": [],
"options": {},
"_index": null
}
},
"aliases": {},
"subpaths": {},
"virtuals": {
"id": {
"path": "id",
"getters": [
null
],
"setters": [],
"options": {}
}
},
"singleNestedPaths": {},
"nested": {},
"inherits": {},
"callQueue": [],
"_indexes": [],
"methods": {},
"methodOptions": {},
"statics": {},
"tree": {
"name": {},
"_id": {
"auto": true
},
"id": {
"path": "id",
"getters": [
null
],
"setters": [],
"options": {}
}
},
"query": {},
"childSchemas": [],
"plugins": [
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
},
{
"opts": {
"deduplicate": true
}
}
],
"$id": 1,
"s": {
"hooks": {
"_pres": {},
"_posts": {}
}
},
"_userProvidedOptions": {},
"options": {
"typeKey": "type",
"id": true,
"noVirtualId": false,
"_id": true,
"noId": false,
"validateBeforeSave": true,
"read": null,
"shardKey": null,
"autoIndex": null,
"minimize": true,
"discriminatorKey": "__t",
"versionKey": "__v",
"capped": false,
"bufferCommands": true,
"strict": true,
"pluralization": true
},
"$globalPluginsApplied": true,
"_requiredpaths": []
}
},
"options": {
"pluralization": true
},
"plugins": [
[
null,
{
"deduplicate": true
}
],
[
null,
{
"deduplicate": true
}
],
[
null,
{
"deduplicate": true
}
],
[
null,
{
"deduplicate": true
}
]
]
},
"collections": {
"models": "[Circular ~._collection.collection]"
},
"models": {},
"config": {
"autoIndex": true
},
"replica": false,
"options": null,
"otherDbs": [],
"relatedDbs": {},
"states": {
"0": "disconnected",
"1": "connected",
"2": "connecting",
"3": "disconnecting",
"99": "uninitialized",
"disconnected": 0,
"connected": 1,
"connecting": 2,
"disconnecting": 3,
"uninitialized": 99
},
"_readyState": 1,
"_closeCalled": false,
"_hasOpened": true,
"$internalEmitter": {
"_events": {},
"_eventsCount": 1,
"_maxListeners": 0
},
"_listening": false,
"_connectionOptions": {
"useNewUrlParser": true
},
"name": "pre",
"host": "localhost",
"port": 27017,
"user": null,
"pass": null,
"client": {
"_events": {},
"_eventsCount": 0,
"s": {
"url": "mongodb://localhost/pre",
"options": {
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"dbCache": {
"pre": {
"_events": {},
"_eventsCount": 3,
"s": {
"databaseName": "pre",
"dbCache": {},
"children": [],
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.s.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"options": {},
"logger": {
"className": "Db"
},
"bson": {},
"bufferMaxEntries": -1,
"parentDb": null,
"noListener": false
},
"serverConfig": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.s.dbCache.pre.serverConfig.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"bufferMaxEntries": -1,
"databaseName": "pre"
}
},
"sessions": []
},
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.client.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.client.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.client.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.client.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.client.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.client.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.client.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.client.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.client.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
}
},
"$initialConnection": {},
"db": {
"_events": {},
"_eventsCount": 3,
"s": {
"databaseName": "pre",
"dbCache": {},
"children": [],
"topology": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.db.s.topology.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.db.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.db.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.db.s.topology.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.db.s.topology.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.db.s.topology.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.db.s.topology.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.s.topology]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.s.topology]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.db.s.topology.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.s.topology]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.s.topology]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.db.s.topology.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"options": {},
"logger": {
"className": "Db"
},
"bson": {},
"bufferMaxEntries": -1,
"parentDb": null,
"noListener": false
},
"serverConfig": {
"_events": {
"joined": [
null,
null
],
"left": [
null,
null
],
"error": [
null,
null
],
"timeout": [
null,
null
],
"close": [
null,
null
],
"parseError": [
null,
null
],
"open": [
null,
null
],
"fullsetup": [
null,
null,
null
],
"all": [
null,
null
],
"reconnect": [
null,
null
]
},
"_eventsCount": 26,
"_maxListeners": null,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"s": {
"coreTopology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.db.serverConfig.s.coreTopology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.db.serverConfig.s.coreTopology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.db.serverConfig.s.coreTopology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.db.serverConfig.s.coreTopology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sCapabilities": {
"hasAggregationCursor": true,
"hasWriteCommands": true,
"hasTextSearch": true,
"hasAuthCommands": true,
"hasListCollectionsCommand": true,
"hasListIndexesCommand": true,
"minWireVersion": 0,
"maxWireVersion": 7,
"maxNumberOfDocsInBatch": 100000,
"commandsTakeWriteConcern": true,
"commandsTakeCollation": true
},
"clonedOptions": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"reconnect": true,
"emitError": true,
"poolSize": 5,
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"store": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.serverConfig]"
},
"length": 0
},
"host": "localhost",
"port": 27017,
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000
},
"sessionPool": {
"topology": {
"_events": {},
"_eventsCount": 20,
"id": 0,
"s": {
"options": {
"host": "localhost",
"port": 27017,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.serverConfig]"
},
"length": 0
},
"reconnect": true,
"emitError": true,
"size": 5,
"monitorCommands": false,
"socketTimeout": 360000,
"connectionTimeout": 30000,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"logger": {
"className": "Server"
},
"bson": {},
"pool": {
"_events": {},
"_eventsCount": 10,
"topology": "[Circular ~._collection.collection.conn.db.serverConfig.s.sessionPool.topology]",
"options": {
"host": "localhost",
"port": 27017,
"size": 5,
"minSize": 0,
"connectionTimeout": 30000,
"socketTimeout": 360000,
"keepAlive": true,
"keepAliveInitialDelay": 300000,
"noDelay": true,
"ssl": false,
"checkServerIdentity": true,
"ca": null,
"crl": null,
"cert": null,
"key": null,
"passPhrase": null,
"rejectUnauthorized": false,
"promoteLongs": true,
"promoteValues": true,
"promoteBuffers": false,
"reconnect": true,
"reconnectInterval": 1000,
"reconnectTries": 30,
"domainsEnabled": false,
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.serverConfig]"
},
"length": 0
},
"emitError": true,
"monitorCommands": false,
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE"
},
"servers": [
{
"host": "localhost",
"port": 27017
}
],
"useNewUrlParser": true,
"db": "pre",
"dbName": "pre",
"socketTimeoutMS": 360000,
"connectTimeoutMS": 30000,
"bson": {}
},
"id": 0,
"retriesLeft": 30,
"reconnectId": null,
"logger": {
"className": "Pool"
},
"state": "connected",
"availableConnections": [
{
"id": 0,
"host": "localhost",
"port": 27017
}
],
"inUseConnections": [],
"connectingConnections": [],
"executing": false,
"queue": [],
"authProviders": {
"mongocr": {
"bson": {},
"authStore": []
},
"x509": {
"bson": {},
"authStore": []
},
"plain": {
"bson": {},
"authStore": []
},
"gssapi": {
"bson": {},
"authStore": []
},
"sspi": {
"bson": {},
"authStore": []
},
"scram-sha-1": {
"bson": {},
"authStore": [],
"id": 0,
"cryptoMethod": "sha1"
},
"scram-sha-256": {
"bson": {},
"authStore": [],
"id": 1,
"cryptoMethod": "sha256"
}
},
"reconnectConnection": null,
"authenticating": false,
"loggingout": false,
"nonAuthenticatedConnections": [],
"authenticatingTimestamp": null,
"numberOfConsecutiveTimeouts": 0,
"connectionIndex": 3
},
"disconnectHandler": {
"s": {
"storedOps": [],
"storeOptions": {
"force": false,
"bufferMaxEntries": -1
},
"topology": "[Circular ~._collection.collection.conn.db.serverConfig]"
},
"length": 0
},
"monitoring": true,
"inTopology": false,
"monitoringInterval": 5000,
"topologyId": -1,
"compression": {
"compressors": []
},
"clusterTime": null,
"serverDescription": {
"topologyType": "Single",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Standalone"
}
]
},
"topologyDescription": {
"topologyType": "Unknown",
"servers": [
{
"address": "localhost:27017",
"arbiters": [],
"hosts": [],
"passives": [],
"type": "Unknown"
}
]
}
},
"ismaster": {
"ismaster": true,
"maxBsonObjectSize": 16777216,
"maxMessageSizeBytes": 48000000,
"maxWriteBatchSize": 100000,
"localTime": "2018-10-15T08:50:21.014Z",
"logicalSessionTimeoutMinutes": 30,
"minWireVersion": 0,
"maxWireVersion": 7,
"readOnly": false,
"ok": 1
},
"lastIsMasterMS": 5,
"monitoringProcessId": {
"_called": false,
"_idleTimeout": 5000,
"_idlePrev": {
"_idleNext": "[Circular ~._collection.collection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId._idlePrev]"
}
},
"_idleNext": {
"_idleNext": "[Circular ~._collection.collection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_idlePrev": "[Circular ~._collection.collection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId]",
"_unrefed": false,
"msecs": 5000,
"_timer": {
"_list": "[Circular ~._collection.collection.conn.db.serverConfig.s.sessionPool.topology.monitoringProcessId._idleNext]"
}
},
"_idleStart": 235,
"_repeat": null,
"_destroyed": false
},
"initialConnect": false,
"wireProtocolHandler": {},
"_type": "server",
"clientInfo": {
"driver": {
"name": "nodejs",
"version": "3.1.6"
},
"os": {
"type": "Linux",
"name": "linux",
"architecture": "x64",
"version": "4.15.0-36-generic"
},
"platform": "Node.js v10.7.0, LE, mongodb-core: 3.1.5"
},
"lastUpdateTime": 0,
"lastWriteDate": 0,
"staleness": 0
},
"sessions": [
{
"id": {
"id": "kGAXAGflQbGcb35KhahUyQ=="
},
"lastUse": 1539593421037,
"txnNumber": 0
}
]
},
"sessions": []
}
},
"bufferMaxEntries": -1,
"databaseName": "pre"
}
},
"queue": [],
"buffer": false,
"emitter": {
"_events": {},
"_eventsCount": 0
}
},
"collectionName": "models"
},
"$useProjection": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment