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

Get rid of LastError class

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      QE 2021-08-09

      Description

      In SERVER-57390 we are deleting the getLastError command's implementation in both mongod and mongos. As follow-up work, we should try to delete the LastError class, as it was the internal mechanism used to implement the getLastError command.

      There may be a few internal uses of the LastError class which need to be cleaned up in order to do this. For example, this code: https://github.com/mongodb/mongo/blob/645aee3ae701b83bfd3d4a5dbc84f17b6597a61a/src/mongo/db/service_entry_point_common.cpp#L1867-L1880.

        Attachments

          Activity

            People

            Assignee:
            yoonsoo.kim Yoon Soo Kim
            Reporter:
            david.storch David Storch
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: