[SERVER-46779] {{replSetResizeOplog}} requires {{size}} when setting {{minRetentionHours}} Created: 10/Mar/20 Updated: 29/Oct/23 Resolved: 27/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 4.3.4 |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ravind Kumar (Inactive) | Assignee: | Gregory Noma |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||||||||||
| Sprint: | Execution Team 2020-04-06 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
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:
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. |
| Comments |
| Comment by Githook User [ 01/Apr/20 ] |
|
Author: {'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}Message: (cherry picked from commit a4a33ae57b2bebaad649d9598880849a6933111e) |
| Comment by Githook User [ 27/Mar/20 ] |
|
Author: {'email': 'gregory.noma@gmail.com', 'name': 'Gregory Noma', 'username': 'gregorynoma'}Message: Revert " This reverts commit 5862665e24170eb9fe9d0977fba1e6dc56a7a257. |
| Comment by Githook User [ 27/Mar/20 ] |
|
Author: {'email': 'gregory.noma@gmail.com', 'name': 'Gregory Noma', 'username': 'gregorynoma'}Message: (cherry picked from commit a4a33ae57b2bebaad649d9598880849a6933111e) |
| Comment by Githook User [ 23/Mar/20 ] |
|
Author: {'email': 'gregory.noma@gmail.com', 'name': 'Gregory Noma', 'username': 'gregorynoma'}Message: |