This repository was archived by the owner on Nov 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
This repository was archived by the owner on Nov 6, 2019. It is now read-only.
Problem with Mongo 3.4.3 #60
Copy link
Copy link
Open
Description
Hello,
I move to Mongo 3.4.3 (previously 2.x). Since migration, Mubsub has a bug.
When I launch the project I have the following error :
Development/core.node/node_modules/mongodb/lib/utils.js:98
process.nextTick(function() { throw err; });
^
MongoError: The field 'strict' is not a valid collection option. Options: { capped: true, autoIndexId: true, size: 5242880, strict: false }
at Function.MongoError.create (Development/core.node/node_modules/mongodb-core/lib/error.js:31:11)
at Development/core.node/node_modules/mongodb-core/lib/topologies/server.js:778:66
at Callbacks.emit (Development/core.node/node_modules/mongodb-core/lib/topologies/server.js:95:3)
at Connection.messageHandler (Development/core.node/node_modules/mongodb-core/lib/topologies/server.js:249:23)
at Socket.<anonymous> (Development/core.node/node_modules/mongodb-core/lib/connection/connection.js:266:22)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:548:20)
Error say that strict: false is responsible of the error.
When I remove the line in mubsub, problem is solved.
This is the line I talk about :
https://github.com/scttnlsn/mubsub/blob/master/lib/channel.js#L24
What is the purpose of this line ?
Why is there a problem ?
Is it really specific to version of MongoDb ?
Thanks !
Metadata
Metadata
Assignees
Labels
No labels