Mongodb – Why does allowDiskUse not working in aggregation pipeline for $group stage?
I was working on an aggregation pipeline to cleanup duplicate data from a collection on the database. But it was throwing the following error even after setting { allowDiskUse: true }. Err: "MongoServerError: PlanExecutor error during aggregation :: caused by…