[DOCS-12560] Docs for SERVER-39221: Test rollback after enableMajorityReadConcern upgrade/downgrade Created: 20/Mar/19  Updated: 13/Nov/23  Resolved: 07/Aug/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.10, 4.0.10, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: docs-4.2-noop
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-39221 Test rollback after enableMajorityRea... Closed
Participants:
Days since reply: 4 years, 27 weeks, 1 day ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

This commit includes a test rollback_after_enabling_majority_reads.js that documents the behavior of entering ROLLBACK immediately after upgrading enableMajorityReadConcern to true. This can fassert if it attempts to roll back operations that were included in the last stable checkpoint when enableMajorityReadConcern was false. If this happens, the user can restart the server with enableMajorityReadConcern=false to complete the rollback, then upgrade again to enableMajorityReadConcern=true.

It might not be necessary to include this in our user-facing documentation, but I would like to ensure that TSEs know. I will inform the TSE organization of this issue.

Engineering Ticket Description:

We have coverage for toggling enableMajorityReadConcern in disable_majority_reads_restart.js. However, we do not have coverage for rollbacks after toggling. We should add test coverage to determine what the behavior is and decide whether the behavior is acceptable.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Kay Kim (Inactive) [ 07/Aug/19 ]

For now, I do not believe this specific case needs to be documented. However, will keep an eye out in case we need to revisit the decision.

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