Pass a flag to the ephemeral storage engine to dictate majority write behavior

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sharding, Storage
    • None
    • Storage Execution
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: