[SERVER-36390] Remove featureCompatibilityVersion getVersionUnsafe() function Created: 01/Aug/18  Updated: 29/Oct/23  Resolved: 27/Aug/19

Status: Closed
Project: Core Server
Component/s: Upgrade/Downgrade
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Maria van Keulen Assignee: Xuerui Fa
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2019-09-09
Participants:

 Description   

The getVersionUnsafe() function is an unsafe getter for the featureCompatibilityVersion parameter. It presently has no callers and should be removed.



 Comments   
Comment by Githook User [ 27/Aug/19 ]

Author:

{'username': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'name': 'Xuerui Fa'}

Message: SERVER-36390 Removed unused getVersionUnsafe() function
Branch: master
https://github.com/mongodb/mongo/commit/e437b3e237d643e57245ce763b023a124f5da9be

Comment by Siyuan Zhou [ 23/Aug/19 ]

The new usage milkie  mentioned above has been removed in SERVER-42516. This ticket is unblocked.

Comment by Eric Milkie [ 11/Feb/19 ]

It appears that a new usage of the function was added as part of SERVER-36537 a couple months ago. Redirecting this ticket to the Repl team so that they can remove the function once the code for SERVER-36537 is removed (presumably in 4.4).

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