[SERVER-77380] Using --serverless flag disables oplog truncation Created: 22/May/23  Updated: 29/Oct/23  Resolved: 25/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 6.3.2, 7.0.0-rc3

Type: Bug Priority: Blocker - P1
Reporter: Hugh Tong (Inactive) Assignee: Hugh Tong (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Server Serverless 2023-05-29
Participants:
Linked BF Score: 135

 Description   

The storageGlobalParams.allowOplogTruncation setting is used by the WiredTigerKVEngine to determine the pinned oplog timestamp.  However, the serverless flag conflicts with the replSet flag, and will cause the storageGlobalParams.allowOplogTruncation flag to be disabled.



 Comments   
Comment by Githook User [ 25/May/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-77380 Using --serverless flag disables oplog truncation
Branch: v6.3
https://github.com/mongodb/mongo/commit/ca4b6a457a2990c1ba74a04e2e20c6ecb6b064d3

Comment by Githook User [ 25/May/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-77380 Using --serverless flag disables oplog truncation
Branch: v7.0
https://github.com/mongodb/mongo/commit/c8e97403ca1debd289b45ff3d236bd0ab9701d66

Comment by Githook User [ 24/May/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-77380 Using --serverless flag disables oplog truncation
Branch: master
https://github.com/mongodb/mongo/commit/fb7abe8b2eedc51f4bdb512643c3204881a48347

Generated at Thu Feb 08 06:35:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.