[DOCS-13635] Investigate changes in SERVER-47672: Add minSnapshotHistoryWindowInSeconds parameter Created: 07/May/20 Updated: 13/Nov/23 Resolved: 24/Feb/21 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | 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: | Naomi Pentrel (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Days since reply: | 2 years, 50 weeks ago | ||||||||||||||||
| Epic Link: | DOCSP-9747 | ||||||||||||||||
| Story Points: | 2 | ||||||||||||||||
| Description |
DescriptionDownstream Change Summary Removed startup/runtime --setParameter maxTargetSnapshotHistoryWindowInSeconds=int (default: 5) Maximum target snapshot history window, in seconds Added startup/runtime --setParameter minSnapshotHistoryWindowInSeconds=int (default: 5) Minimum target snapshot history data to keep, in seconds. Snapshot (point-in-time) reads that read data at a version older than this will get SnapshotTooOld errors. Deleted metrics in the "snapshot-window-settings" subsection of the wiredTiger serverStatus section that are no longer relevant.
Add metric "minimum target snapshots window size in seconds" in the "snapshot-window-settings" subsection of the wiredTiger serverStatus section – this reports the minSnapshotHistoryWindowInSeconds configuration. Description of Linked TicketAdd 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
Add metric "minimum target snapshots window size in seconds". Scope of changesImpact to Other DocsMVP (Work and Date)Resources (Scope or Design Docs, Invision, etc.) |
| Comments |
| Comment by Githook User [ 24/Feb/21 ] |
|
Author: {'name': 'Naomi Pentrel', 'email': '5212232+npentrel@users.noreply.github.com', 'username': 'npentrel'}Message: |
| Comment by Lingzhi Deng [ 08/Jul/20 ] |
|
Snapshot reads that are older than minSnapshotHistoryWindowInSeconds will return SnapshotTooOld errors. |
| Comment by Lingzhi Deng [ 08/Jul/20 ] |
|
In sharded clusters, specifying minSnapshotHistoryWindowInSeconds against the config servers will also make them keep minSnapshotHistoryWindowInSeconds of chunk history. |