skip to Main Content

Mongodb – Randomly throwing MongoPoolClearedError

I have a problem with my database. I frequently (several time a day) have crash during queries. It throws this error: PoolClearedError [MongoPoolClearedError]: Connection pool for db2.prod.someDomain.com:27017 was cleared because another operation failed with: "connection <monitor> to [ip:v6:add:ress::]:27017 timed out"…

VIEW QUESTION

Mongodb – how to access object inside the array?

{ "_id" : ObjectId("64caa6599b2ec8d2da9e8e58"), "message" : { "text" : "hey" }, "users" : [ { "from" : "64c7acfbe872c97c7912ca09", "to" : "64c2d5612172d620ac18714f" } ], "sender" : ObjectId("64c7acfbe872c97c7912ca09"), "createdAt" : ISODate("2023-08-02T18:54:17.176+0000"), "updatedAt" : ISODate("2023-08-02T18:54:17.176+0000"), "__v" : NumberInt(0) } I want to access…

VIEW QUESTION
Back To Top
Search