[SERVER-36055] Mobile SE: Compact returns wrong error code on mobile Created: 10/Jul/18 Updated: 29/Oct/23 Resolved: 23/Jul/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.1, 4.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sean Tao | Assignee: | Sulabh Mahajan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | nonnyc, storage-engines, todo_in_code | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||||||||||||||||||
| Sprint: | Storage Engines 2018-07-30 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
Compact command on mobile fails with error code: 59, with message "no such command: 'compact'", as opposed to the proper error code: CommandNotSupported.
Example code when run on storage to generate the error: db.runCommand({compact: "coll"});
|
| Comments |
| Comment by Githook User [ 23/Jul/18 ] | |||||||
|
Author: {'name': 'Sulabh Mahajan', 'email': 'sulabh.mahajan@mongodb.com', 'username': 'sulabhM'}Message: (cherry picked from commit 1c1535c9ee73ac4ed0d922855ccbe44335909082) | |||||||
| Comment by Githook User [ 23/Jul/18 ] | |||||||
|
Author: {'username': 'sulabhM', 'name': 'Sulabh Mahajan', 'email': 'sulabh.mahajan@mongodb.com'}Message: | |||||||
| Comment by Sulabh Mahajan [ 20/Jul/18 ] | |||||||
|
sean.tao,
|