Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36055

Mobile SE: Compact returns wrong error code on mobile

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Storage Engines 2018-07-30

      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"});

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: