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

Mobile SE: Compact returns wrong error code on mobile

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v4.0
    • 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

              sulabh.mahajan@mongodb.com Sulabh Mahajan
              sean.tao Sean Tao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: