[DOCS-13538] Investigate changes in SERVER-46779: {{replSetResizeOplog}} requires {{size}} when setting {{minRetentionHours}} Created: 23/Mar/20  Updated: 13/Nov/23  Due: 08/May/20  Resolved: 04/May/20

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-replication
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-46779 {{replSetResizeOplog}} requires {{siz... Closed
Participants:
Days since reply: 3 years, 40 weeks, 2 days ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

Downstream Change Summary

The replSetResizeOplog command no longer requires the 'size' parameter.

Description of Linked Ticket

As of 4.3.4, replSetResizeOplog requires setting the oplog size when configuring minRetentionHours. This is a bit unusual, as it requires the user to retrieve the current oplog size before changing the minimum retention period if they only want to modify the retention period.

This behavior is not reflected in the commandline or configuration file options, where oplogSize or replication.oplogSizeMB are not dependencies.

It looks like design decision happened as part of a discussion during code review:

geert 2020/02/14 18:06:42
We'll always require a size. This is required by capped collections. That
requirement is mostly historical, but not something we should change in this
patch. Not requiring a size would lead to downgrade issues, and would turn into
significant extra work.

As per the review for DOCSP-8653, revisit this discussion and see if this is something that can be fixed while addressing the original downgrade concerns.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 04/May/20 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13538: replResizeOplog - size not required for minRetentionHours
Branch: master
https://github.com/mongodb/docs/commit/a5679c5288b2fe3955d719c1e12e13aeffc8e29c

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