[SERVER-32027] Ensure oplog entry has wallClockTime object regardless of FCV Created: 17/Nov/17  Updated: 30/Oct/23  Resolved: 20/Nov/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.6.0-rc4
Fix Version/s: 3.6.0-rc5, 3.7.1

Type: Bug Priority: Major - P3
Reporter: Eddie Louie Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: Sharding 2017-12-04
Participants:
Linked BF Score: 0

 Description   

An invariant failure occurs when the setFeatureCompatibilityVersion is in transition from 3.4 to 3.6. Oplog entries without the wallClockTime object when applied on the secondary can trigger this failure.



 Comments   
Comment by Githook User [ 20/Nov/17 ]

Author:

{'name': 'Kaloian Manassiev', 'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com'}

Message: SERVER-32027 Fix unit-tests which rely on having a valid wallclock time

(cherry picked from commit c98068d7c836e2d36a862189733d903b24b02d9a)
Branch: v3.6
https://github.com/mongodb/mongo/commit/08d239f5c350910f0aa5631d8ad79cdf0bd6d43f

Comment by Githook User [ 20/Nov/17 ]

Author:

{'name': 'Kaloian Manassiev', 'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com'}

Message: SERVER-32027 Fix unit-tests which rely on having a valid wallclock time
Branch: master
https://github.com/mongodb/mongo/commit/c98068d7c836e2d36a862189733d903b24b02d9a

Comment by Githook User [ 20/Nov/17 ]

Author:

{'name': 'Kaloian Manassiev', 'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com'}

Message: SERVER-32027 Always include the wall clock time in oplog entries

Regardless of the feature compatibility version.

(cherry picked from commit c01e10aea6201caae629fa479e3f0e01f31f13c9)
Branch: v3.6
https://github.com/mongodb/mongo/commit/942bc8d60b6697d806e38c085842221414d95551

Comment by Githook User [ 20/Nov/17 ]

Author:

{'name': 'Kaloian Manassiev', 'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com'}

Message: SERVER-32027 Always include the wall clock time in oplog entries

Regardless of the feature compatibility version.
Branch: master
https://github.com/mongodb/mongo/commit/c01e10aea6201caae629fa479e3f0e01f31f13c9

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