-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: CLI Module
-
None
-
Iteration Geneva
-
Not Needed
As reported on Slack:
$ ./mongosh-0.15.6-linux-x64/bin/mongosh Current Mongosh Log ID: 60e7fca7c1e7bb676a145aae Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000 Using MongoDB: 5.0.0-rc7 Using Mongosh: 0.15.6 For mongosh info see: https://docs.mongodb.com/mongodb-shell/ ------ The server generated these startup warnings when booting: 2021-07-06T16:46:21.409+02:00: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem 2021-07-06T16:46:21.985+02:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted 2021-07-06T16:46:21.985+02:00: This server is bound to localhost. Remote systems will be unable to connect to this server. Start the server with --bind_ip <address> to specify which IP addresses it should serve responses from, or with --bind_ip_all to bind to all interfaces. If this behavior is desired, start the server with --bind_ip 127.0.0.1 to disable this warning 2021-07-06T16:46:21.985+02:00: Soft rlimits for open file descriptors too low ------ test> var pipeline = db.movies.aggregate([{ $match: {"imdb.rating": {$eq: 7}, genres: {$nin: ["Crime", "Horror"]}, rated: {$eq:"PG", $eq:"G"}, languages:{$in: ["English","Japanese"]}}},{ $count: "total"}]) test> load('./validateLab1.js') true test> validateLab1(pipeline) internal/streams/writable.js:452 state.afterWriteTickInfo = null; ^ TypeError: Cannot create property 'afterWriteTickInfo' on string '[Circular]' at afterWriteTick (internal/streams/writable.js:452:28) at processTicksAndRejections (internal/process/task_queues.js:81:21)
which is obviously all kinds of weird.
(validateLab1.js from https://s3.amazonaws.com/edu-downloads.10gen.com/M121/2021/July/static/handouts/m121/chapter1.zip)