[SERVER-74351] condition in OpObserver::onDelete() always evaluates to true Created: 24/Feb/23  Updated: 29/Oct/23  Resolved: 28/Feb/23

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

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-74100 Streamline logical branches in opObse... Backlog
is related to SERVER-60540 [Retryability] Add retryability suppo... Closed
is related to SERVER-60919 Remove oplog based change stream pre-... Closed
is related to SERVER-59443 Remove storeFindAndModifyImagesInSide... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-03-06
Participants:

 Description   

This condition in OpObserverImpl::onDelete() can be safely removed because it always evaluates to true after we removed the RetryableFindAndModifyLocation::kOplog constant in SERVER-60919.



 Comments   
Comment by Githook User [ 27/Feb/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-74351 remove unnecessary conditional from OpObserverImpl::onDelete()
Branch: master
https://github.com/mongodb/mongo/commit/d2eafc117d81aa326d26810a7a0844563593e126

Generated at Thu Feb 08 06:27:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.