Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Nov 15, 2022

Minimum Oplog Retention Period - Set Minimum Oplog Window

The documentation states: "New in version 4.4: Starting in MongoDB 4.4, you can specify the minimum number of hours to preserve an oplog entry." https://www.mongodb.com/docs/manual/core/replica-set-oplog/#minimum-oplog-retention-period The mongodbatlas\_cluster resource in the terraform mongodbatlas provider only provides for the oplog\_size\_mb argument. https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cluster#oplog_size_mb It would be nice to have that exposed so that terraform can update that value.
  • Attach files
  • Guest
    Nov 17, 2022
    Thanks Gary for sharing feedback! Generally before we expose a new feature in Terraform we like to make it available first in the Atlas Admin API which I believe doesn't yet expose minimum number of hours to preserve an oplog entry. Sharing your feedback with Atlas team in case we can expose in our API first and then could be worthwhile feature to add to Terraform (as well as Atlas CLI and CloudFormation as well). Hope this helps.