[SERVER-40018] Remove ServerTransactionsMetrics::getOldestActiveOpTime Created: 07/Mar/19  Updated: 29/Oct/23  Resolved: 17/Apr/19

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

Type: Task Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: prepare_initial_sync
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-39680 Maintain the oldest active transactio... Closed
depends on SERVER-39989 Use a config.transactions find comman... Closed
is depended on by SERVER-36492 Reconstruct prepared transactions at ... Closed
Duplicate
is duplicated by SERVER-37129 Remove oldestOplogEntryTS invariants ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2019-04-08, Repl 2019-04-22
Participants:

 Description   

Remove getOldestActiveOpTime() and the data structures that support it; it's obsoleted by the new data stored in the config.transactions table inĀ SERVER-39680. Before deleting, update initial sync to query the config.transactions table instead of the oldest active optime data structures, in SERVER-39989.



 Comments   
Comment by Githook User [ 17/Apr/19 ]

Author:

{'email': 'samy.lanka@mongodb.com', 'name': 'Samy Lanka', 'username': 'lankas'}

Message: SERVER-40018 Remove oldestOplogEntryOpTime from TransactionMetricsObserver and TransactionParticipant
Branch: master
https://github.com/mongodb/mongo/commit/79d96979125e9aaa53774a4e1767b1eb231031a9

Comment by Githook User [ 03/Apr/19 ]

Author:

{'name': 'Samy Lanka', 'username': 'lankas', 'email': 'samy.lanka@mongodb.com'}

Message: SERVER-40018 Remove ServerTransactionMetrics::getOldestActiveOpTime and supporting datastructures
Branch: master
https://github.com/mongodb/mongo/commit/4459b439700f096a7b6287fdddde592db8934fe2

Comment by Judah Schvimer [ 07/Mar/19 ]

While this isn't required for 4.2, it will provide some perf improvement and will be a high value, easy code cleanup.

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