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

Make stepping up secondary in range_deleter_interacts_correctly_with_refine_shard_key.js more robust

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.1, 4.4.0-rc7
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-05-18
    • Linked BF Score:
      23

      Description

      range_deleter_interacts_correctly_with_refine_shard_key.js makes a particular secondary node primary by running replSetStepUp on it, but this can fail if the node happens to be replicating more slowly than a majority of the set. Instead, the test should use ReplSetTest.stepUp() which accounts for this by both waiting for replication before issuing the step up command and retrying on failures.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jack.mulrow Jack Mulrow
              Reporter:
              jack.mulrow Jack Mulrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: