[SERVER-72063] Cannot create oplog with size of less than 10 bytes in standalone mode Created: 13/Dec/22  Updated: 29/Oct/23  Resolved: 09/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 6.3.0-rc1

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-67246 Remove size multiple restriction on c... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.3
Sprint: Execution Team 2023-02-20
Participants:
Linked BF Score: 5

 Description   

In standalone mode, it is possible to trip this invariant that the minimum bytes per oplog stone is less than 1 when creating an oplog collection.

This is only possible in FCV 6.2 or when the featureFlagCappedCollectionsRelaxedSize feature flag is enabled after work done in SERVER-67246.



 Comments   
Comment by Githook User [ 16/Feb/23 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-72063 Throw on attempt to create overly small oplog

(cherry picked from commit ac38b8ebe46bdd3ca3010c09956c8099424c6c1a)
Branch: v6.3
https://github.com/mongodb/mongo/commit/855410a37a74b6382d5fcf2ecf31266c918f02ca

Comment by Githook User [ 09/Feb/23 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-72063 Throw on attempt to create overly small oplog
Branch: master
https://github.com/mongodb/mongo/commit/ac38b8ebe46bdd3ca3010c09956c8099424c6c1a

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