This was recently broken in 1.7.0.
https://mongodb.slack.com/archives/CKNS6CS72/p1680249243187789
Asking for collection stats with mongosh fails for me
db.prescriptions_atlas.stats() MongoServerError: $collStats param 'storageStats' is not valid for Data Lake, correlationID = 175171aa0ed454ea77e0388aLooks like a parameter we need to support - Explicit $colllStats works (sorta)
We already have a fallback mechanism in place for a specific error that can occur with timeseries collections, we should expand this to the case in which the server is unable to parse the request.
- is caused by
-
MONGOSH-1157 Use $collStats/$currentOp instead of command forms
- Closed