-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.2.21
-
Component/s: None
-
Environment:Linux server with MongoDB v3.2.11 and Node mongoose lib v2.7.7 pulling node-mongodb-native v2.2.21
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Our node setup with mongoose is pulling in the mongodb driver v2.2.21 and seeing a large CPU usage increase. This does not happen if we revert to our last deployment version v2.2.16.
I've attached below a keymetric screengrab of the issue. The first blue line indicates when our service with v2.2.21 is deployed, showing CPU usage over the next 40min with light usage. Then we deployed again with everything else the same but v2.2.16, indicated by the second blue line. Drastic drop in cpu usage.
We're running mongodb as a replica set and using mongoose to connect.
I've also tried to use versions 2.2.17 and also saw a CPU increase. I'm not sure what logs if any I should provide. The mongodb logs show nothing abnormal happening