add replset test command to wait for primary to accept writes

XMLWordPrintableJSON

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

      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
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: