7.0.8 $currentOp aggregation gives invalid name space

David Lange shared this idea 2 years ago
Completed

This worked in the prior version, and works from the mongo shell:

use admin

db.getSiblingDB("admin").aggregate( [

{ $currentOp : { allUsers: true, idleConnections: true, idleSessions: true } },

{ $match : { "effectiveUsers.user":/.*dk.*/} }

] )

after upgrade to 7.0.8 I get the following error:

"message" : "$currentOp must be run against the 'admin' database with {aggregate: 1}",

Best Answer
photo

Resolved in 7.0.9.

Replies (3)

photo
2

Its working in this beta version.

photo
1

Resolved in 7.0.9.

Leave a Comment
 
Attach a file