[SERVER-33864] Remove OplogApplier::Observer::onOperationConsumed Created: 13/Mar/18  Updated: 29/Oct/23  Resolved: 13/Jun/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Improvement Priority: Minor - P4
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-32332 Put SyncTail behind new Applier inter... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

This Observer function, introduced in SERVER-32332, is used exclusively by BackgroundSync to update server metrics for the OplogBuffer. We should find a better home for these metrics and remove the Observer function.



 Comments   
Comment by Githook User [ 13/Jun/18 ]

Author:

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

Message: SERVER-33864 BackgroundSync no longer implements OplogApplier::Observer
Branch: master
https://github.com/mongodb/mongo/commit/9a7b88779fd519bd955daa106d5d19244fe4072d

Comment by Githook User [ 13/Jun/18 ]

Author:

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

Message: SERVER-33864 remove BackgroundSync::onBufferCleared()
Branch: master
https://github.com/mongodb/mongo/commit/e0663788e47453452ef2adf4438ba5e4b734864d

Comment by Githook User [ 13/Jun/18 ]

Author:

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

Message: SERVER-33864 remove OplogApplier::Observer::onOperationConsumed()
Branch: master
https://github.com/mongodb/mongo/commit/0e7b5ea398f99086219a498e4e07db47798686f8

Comment by Githook User [ 13/Jun/18 ]

Author:

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

Message: SERVER-33864 move repl.buffer server metrics from BackgroundSync to ReplicationCoordinatorExternalStateImpl
Branch: master
https://github.com/mongodb/mongo/commit/33ca343513b06d7dd9a51899f9f78a8a20225118

Comment by Githook User [ 12/Jun/18 ]

Author:

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

Message: SERVER-33864 add OplogBuffer::Counters::maxSize
Branch: master
https://github.com/mongodb/mongo/commit/71b93c9a002e9fe1de76afba7aaba80046818c03

Comment by Githook User [ 11/Jun/18 ]

Author:

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

Message: SERVER-33864 OplogBufferBlockingQueue supports updating optional Counters
Branch: master
https://github.com/mongodb/mongo/commit/76fdcd76e8800afcbb57868fb98a7b6bcda6684c

Comment by Githook User [ 11/Jun/18 ]

Author:

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

Message: SERVER-33864 add OplogBuffer::Counters
Branch: master
https://github.com/mongodb/mongo/commit/27b827cd2f9d6b645a7d38766fa570c33e1f3d89

Generated at Thu Feb 08 04:34:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.