[DOCS-15230] Investigate changes in SERVER-61802: Document changeStreamOptions parameter Created: 12/Apr/22 Updated: 13/Nov/23 Resolved: 07/Jul/22 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0, 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: | Jocelyn Mendez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | mdb-world-required | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 1 year, 30 weeks, 1 day ago | ||||||||
| Epic Link: | DOCSP-19446 | ||||||||
| Description |
|
Original Downstream Change Summary This PR introduces a new cluster-wide server parameter, which will be the first one supported by the server. The parameter is called changeStreamOptions and will look as follows in 6.0: changeStreamOptions: {preAndPostImages: {expireAfterSeconds: <'off' | <integer>>}} By default, changeStreamOptions.preAndPostImages.expireAfterSeconds is 'off', meaning that the pre-image time-based retention policy is not active. It can be set to an integer, which turns on the time-based policy such that pre-images are kept on the server for 'expireAfterSeconds' seconds. Ex: to retain pre-images for change streams for 30 seconds each, invoke setClusterParameter as follows: To retrieve any cluster node's value for changeStreamOptions, run the following command: ) Description of Linked TicketIn PM-1944 a cluster-wide configuration parameter was added to provide control on how much time can pass after the change event occurrence when the system can purge any state required to provide pre- and post-images for the change event. Implement propagation throughout the cluster and persistence aspects of that parameter by leveraging mechanisms provided by PM-2502 (Mechanism for Specifying Cluster-Wide Configuration Options). Additional scope:
The parameter was introduced by |
| Comments |
| Comment by Githook User [ 12/Jul/22 ] |
|
Author: {'name': 'jocelyn-mendez1', 'email': '91144778+jocelyn-mendez1@users.noreply.github.com', 'username': 'jocelyn-mendez1'}Message:
Co-authored-by: Jocelyn Mendez <jocelyn.mendez@Jocelyns-MacBook-Pro.local> |
| Comment by Githook User [ 30/Jun/22 ] |
|
Author: {'name': 'jocelyn-mendez1', 'email': '91144778+jocelyn-mendez1@users.noreply.github.com', 'username': 'jocelyn-mendez1'}Message:
Co-authored-by: Jocelyn Mendez <jocelyn.mendez@Jocelyns-MacBook-Pro.local> |
| Comment by Jess Mokrzecki [ 12/Apr/22 ] |
|
Fix Version updated for upstream |