Giter VIP home page Giter VIP logo

mongocacheview's People

Contributors

beergeek avatar ciudilo avatar johnlpage avatar mhelmstetter avatar peterhubbard-mongodb avatar renatoriccio avatar torstenspindler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mongocacheview's Issues

invalid array length issue

It goes half way and terminates:

Collection                 	Size	Cached	%tage	Delta	Read	Written	Used
addresses                    	3	0	0	0	0	0	0
osm_nodes                    	3039	375	12	37	265	0	4691210
osm_nodes_2017               	52	0	0	0	0	0	0
osm_relations                	8	0	0	0	0	0	0
osm_ways                     	1392	0	0	0	0	0	0
osm_ways_2017                	27	0	0	0	0	0	0
postings                     	105	0	0	0	0	0	0
seen_db                      	2	0	0	0	0	0	0
url_cache                    	56	0	0	0	0	0	0
oplog.rs                     	175	5	2	0	0	12	5420
2018-03-12T15:57:29.616-0700 E QUERY    [thread1] RangeError: invalid array length :
@./mongocacheview.js:49:17
failed to load: ./mongocacheview.js

Syntax error with server version 5 or 6

Getting this error:

uncaught exception: Error: listCollections failed: {
	"ok" : 0,
	"errmsg" : "BSON field 'listCollections.nameOnly' is the wrong type 'object', expected type 'bool'",
	"code" : 14,
	"codeName" : "TypeMismatch",
	"$clusterTime" : {
		"clusterTime" : Timestamp(1716407879, 545),
		"signature" : {
			"hash" : BinData(0,"+/5clE2UWFD3j4EiXBgQW6Xpcdk="),
			"keyId" : NumberLong("7311807678248910873")
		}
//Main Loop
	},
	"operationTime" : Timestamp(1716407879, 545)
} :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype._getCollectionInfosCommand@src/mongo/shell/db.js:808:15
DB.prototype.getCollectionInfos@src/mongo/shell/db.js:856:16
@mongocacheview.js:19:23
failed to load: mongocacheview.js
exiting with code -3

uncaught exception: TypeError: db[collInfo.coll].stats is not a function

$ git rev-parse --short HEAD
21f2d9b
$ mongo mongocacheview.js
Collection                                                           	Size	Cached	%tage	Delta	Read	Written	Used
[some (all?) collections listed]
uncaught exception: TypeError: db[collInfo.coll].stats is not a function :
@mongocacheview.js:50:21
failed to load: mongocacheview.js
exiting with code -3
$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.