Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25110

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Sharding, Storage
    • None
    • Storage Execution
    • ALL

    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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: