-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
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.