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

add replset test command to wait for primary to accept writes

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • 0

      This is an extension of the work in SERVER-20979 where we added replset test commands (available to JS tests only) to allow tests to wait on replica set nodes to reach a certain member state or exit drain mode.

      This ticket would add a function ReplicationCoordinator::waitForPrimaryToAcceptWrites() that would be called from the admin command replSetTest.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: