[SERVER-47672] Add minSnapshotHistoryWindowInSeconds parameter Created: 20/Apr/20  Updated: 29/Oct/23  Resolved: 07/May/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.7.0

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-47785 Keep minSnapshotHistoryWindowInSecond... Closed
is depended on by SERVER-47786 Remove snapshot window logic Closed
Documented
is documented by DOCS-13635 Investigate changes in SERVER-47672: ... Closed
Duplicate
is duplicated by SERVER-47786 Remove snapshot window logic Closed
Related
is related to SERVER-47855 Change default value for minSnapshotH... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-05-18
Participants:

 Description   

Add a new startup and runtime server parameter minSnapshotHistoryWindowInSeconds for mongod, which is the amount of history in seconds stored by the system. Remove support for maxTargetSnapshotHistoryWindowInSeconds.

Also remove snapshot window adjustment logic, see SERVER-31767.

  • This logic was used to dynamically change the amount of history stored to avoid cache pressure. Given durable history is available now, this is no longer needed.
  • Delete metrics in the "snapshot-window-settings" subsection of the wiredTiger serverStatus section that are no longer relevant.
    • "max target available snapshots window size in seconds”
    • "target available snapshots window size in seconds"

Add metric "minimum target snapshots window size in seconds".



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

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-47672: Add minSnapshotHistoryWindowInSeconds and remove snapshot window adjustment logic
Branch: master
https://github.com/mongodb/mongo/commit/db37687407c8f84f42afa87ba0d0c14bcbf35140

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