[COMPASS-2862] Remove $indexStats, $currentOp and $listSessions Created: 17/May/18  Updated: 29/Oct/23  Resolved: 25/Jul/18

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: 1.16.0

Type: Bug Priority: Major - P3
Reporter: Joy Sampoonachot (Inactive) Assignee: Durran Jordan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Sprint U$O, Iteration Daikon Radish

 Description   

Remove $indexStats, $currentOp and $listSessions from agg pipeline builder.  These are generally not pipeline stages that users would typically want to use the builder in, so why clutter the interface.  If there were requests to add them back in, it's simple to do.

 



 Comments   
Comment by Githook User [ 08/Aug/18 ]

Author:

{'username': 'durran', 'name': 'Durran Jordan', 'email': 'durran@gmail.com'}

Message: COMPASS-2862: Removing operators that cannot be executed
Branch: instance-refresh
https://github.com/10gen/compass/commit/58b29a170635531182834eb189b0365f18638fd9

Comment by Githook User [ 25/Jul/18 ]

Author:

{'username': 'durran', 'name': 'Durran Jordan', 'email': 'durran@gmail.com'}

Message: COMPASS-2862: Removing operators that cannot be executed
Branch: fix-accelerator-keys
https://github.com/10gen/compass/commit/58b29a170635531182834eb189b0365f18638fd9

Comment by Githook User [ 25/Jul/18 ]

Author:

{'username': 'durran', 'name': 'Durran Jordan', 'email': 'durran@gmail.com'}

Message: COMPASS-2862: Removing operators that cannot be executed
Branch: master
https://github.com/10gen/compass/commit/58b29a170635531182834eb189b0365f18638fd9

Comment by Githook User [ 24/Jul/18 ]

Author:

{'name': 'Durran Jordan', 'email': 'durran@gmail.com', 'username': 'durran'}

Message: COMPASS-2862: Removing operators that cannot be executed
Branch: COMPASS-2862
https://github.com/10gen/compass/commit/637b443502d049daa2359c31b67647b283aacf31

Comment by Daniel Pasette (Inactive) [ 23/Jul/18 ]

I've now tried these on Version 1.15.0-beta.7 (1.15.0-beta.7) and they just don't work, so I'd like to propose that we remove them.

  • currentOp and listSessions and listLocalSessions are run directly against the database, which is not an interface that we expose (nor should we).
    • The error message is actually cut off in my view (using a 13" macbook pro):
      • "$listLocalSessions must be run against the database with {aggregate: 1}   <== cut off here, not a collection"
  • indexStats does actually work, but because it takes no args, you have to "kickstart" the aggregation to work by typing something in the text editor box.  Maybe it's a separate thing that stages which take no args should be automatically run?
Generated at Wed Feb 07 22:31:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.