[SERVER-58735] Get rid of LastError class Created: 21/Jul/21  Updated: 29/Oct/23  Resolved: 04/Aug/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: Yoon Soo Kim
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2021-08-09
Participants:

 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.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Generated at Thu Feb 08 05:45:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.