[SERVER-30062] storageDetails command returns error Created: 07/Jul/17  Updated: 30/Oct/23  Resolved: 28/Nov/17

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 3.4.4, 3.5.9
Fix Version/s: 3.7.1

Type: Bug Priority: Major - P3
Reporter: Asya Kamsky Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: neweng, platforms-interns-2017
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-10-23, Platforms 2017-11-13, Platforms 2017-12-04
Participants:

 Description   

In both 3.4 and 3.6 (on mmap and wiredTiger) shell helpers getPagesInRAM and getDiskStorageStats call storageDetails command which gives an error:

db.test.getPagesInRAM()
error executing storageDetails command: no such command: 'storageDetails', bad cmd: '{ storageDetails: "test", analyze: "pagesInRAM" }'
db.test.getDiskStorageStats()
error executing storageDetails command: no such command: 'storageDetails', bad cmd: '{ storageDetails: "test", analyze: "diskStorage" }'

These shell helpers should have been removed when the command was removed. We still have references to it in permissions, but the command seems to be gone.



 Comments   
Comment by Gregory McKeon (Inactive) [ 30/Nov/17 ]

billy.donahue should this fixversion be 3.7.1?

Comment by Githook User [ 28/Nov/17 ]

Author:

{'name': 'Billy Donahue', 'username': 'BillyDonahue', 'email': 'billy.donahue@mongodb.com'}

Message: SERVER-30062 remove storageDetails wrappers from shell
Branch: master
https://github.com/mongodb/mongo/commit/42fe228abc27664f630cbafe932ffaf2b12eccb8

Comment by Asya Kamsky [ 07/Jul/17 ]

The clean-up should remove it from shell (by removing shell helpers) and also from various permissions/roles (which should trigger appropriate documentation fix as well).

Generated at Thu Feb 08 04:22:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.