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

Mobile SE: Compact returns wrong error code on mobile

    • Fully Compatible
    • ALL
    • v4.0
    • Storage Engines 2018-07-30

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

       

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

              Created:
              Updated:
              Resolved: