[SERVER-76894] eliminate unnecessary OpObserver overrides using OpObserverNoop for base class Created: 05/May/23  Updated: 29/Oct/23  Resolved: 10/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.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:
Duplicate
is duplicated by SERVER-76439 Cleanup OpObserver Interfaces Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-05-15
Participants:

 Description   

A lot of the OpObserver implementations define no-op implementations for the methods - we can make the OpObserverNoop a base class for these implementations to reduce some of the code duplication.



 Comments   
Comment by Githook User [ 10/May/23 ]

Author:

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

Message: SERVER-76894 eliminate unnecessary OpObserver overrides using OpObserverNoop for base class
Branch: master
https://github.com/mongodb/mongo/commit/1a58eaf299e732d3a7e3e800eeb780d8c9b00212

Comment by Githook User [ 09/May/23 ]

Author:

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

Message: SERVER-76894 clean up OpObserverNoop to use as base class for most OpObserver implementations
Branch: master
https://github.com/mongodb/mongo/commit/ce2025295417f343da218879bf679d406b995f1b

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