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

Add passthrough tests for safe reconfig

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Repl 2020-02-10, Repl 2020-02-24, Repl 2020-03-09, Repl 2020-03-23, Repl 2020-04-06, Repl 2020-04-20
    • Linked BF Score:
      25

      Description

      The following passthrough test suites will be added:

      • replica_set_reconfig_jscore_passthrough
      • replica_set_reconfig_stepdown_jscore_passthrough
      • replica_set_reconfig_kill_nodes_jscore_passthrough

      We will start a 5-node replset with 3 nodes having vote: 1. The test suites periodically and randomly remove or add a node by changing the node’s vote so that the config has 1-5 voting nodes. replica_set_reconfig_kill_nodes_jscore_passthrough kills or restarts a node randomly to cover unclean shutdown and durability issues. The shutdown hook and reconfig hook will make sure a majority of nodes are alive at any time.

      These suites should be run with readConcern: majority, writeConcern: majority, causal consistency, readPreference: primary, and retryable writes so that reconfig does affect the operations.

        Attachments

          Activity

            People

            Assignee:
            pavithra.vetriselvan Pavithra Vetriselvan
            Reporter:
            siyuan.zhou Siyuan Zhou
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: