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

Get rid of LastError class

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2021-08-09

      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.

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

              Created:
              Updated:
              Resolved: