[SERVER-25110] Pass a flag to the ephemeral storage engine to dictate majority write behavior Created: 15/Jul/16  Updated: 06/Dec/22  Resolved: 02/Apr/20

Status: Closed
Project: Core Server
Component/s: Sharding, Storage
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Dianna Hohensee (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Operating System: ALL
Participants:

 Description   

Unit tests on the config server must run the config server as a replica set via the ReplicationCoordinatorMock because our config server code expects (and frequently checks) that it is a replica set. The ephemeral storage engine invariants that the server is not a replica set in EphemeralForTestRecoveryUnit::setReadFromMajorityCommittedSnapshot. This must be changed to accept or reject majority writes depending on a flag passed down to it from when the ephemeral storage engine is initialized for the unit test.


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