[SERVER-51009] Make FCV check for v:2 oplog entries correct Created: 17/Sep/20  Updated: 29/Oct/23  Resolved: 23/Sep/20

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.8.0

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-09-21, Query 2020-10-05
Participants:

 Description   

When the FCV check for this feature was first introduced, it was done as an equality check:

if (currentFCV == fcv47Constant) {...} 

This will cause problems when the 4.8 FCV constants are introduced. We should fix this and make the FCV checks compliant with the new FCV check style guide.



 Comments   
Comment by Githook User [ 23/Sep/20 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'puppyofkosh'}

Message: SERVER-51009 Fix comment
Branch: master
https://github.com/mongodb/mongo/commit/68285b66fa9cceb99601d0249acef5728292c0b7

Comment by Githook User [ 23/Sep/20 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'puppyofkosh'}

Message: SERVER-51009 Correct FCV check for $v:2 delta oplog entries
Branch: master
https://github.com/mongodb/mongo/commit/9d32e7df2db65700879bb08c1afbba2c4fc7e101

Generated at Thu Feb 08 05:24:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.