-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.1.4, 2.2.2
-
Component/s: MongoDB 3.2
-
Environment:nodejs
-
Empty show more show less
in mongodb-core:
when ops jobs are stored using `disconnectHandler.add` wrong opType is specified:
in /lib/topologies/replset.js, 'insert' is used for 'update' and 'remove'
in /lib/topologies/mongos.js, 'insert' is used for 'remove'
this causes wrong operations to be executed when connection is reestablished ( most of the time leading to operation error )
see pull request with a fix:
https://github.com/christkv/mongodb-core/pull/121