Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15381

[Server] Improve 6.0 compatibility notes for removal of legacy op codes to also mention getLastError

    XMLWordPrintableJSON

Details

    Description

      I think we should improve the documentation at https://www.mongodb.com/docs/v6.0/release-notes/6.0-compatibility/#legacy-opcodes-removed to mention the getLastError command. This command was used by old drivers in conjunction with the legacy op codes for doing writes (OP_INSERT, OP_UPDATE, and OP_DELETE). As part of removing support for the legacy op codes in 5.1, we removed support for getLastError as well. It's worth mentioning this explicitly in the release notes.

      Note that we did already document the removal of getLastError elsewhere, e.g. here: https://www.mongodb.com/docs/v6.0/reference/command/getLastError/

      Attachments

        Activity

          People

            jeffrey.allen@mongodb.com Jeffrey Allen
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 35 weeks, 1 day ago