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

Wait for primary after replica set restart in disable_resumable_range_deleter.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc2, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.1
    • Sharding EMEA 2022-09-05, Sharding EMEA 2022-09-19
    • 20

      In disable_resumable_range_deleter.js, the replica sets are being restarted. In one place, we are restarting the replica set and then running a bulk insert that targets that replica set. On one replica set, we call getPrimary, which waits for a primary to be elected. But on the other, we just run the bulk insert. If the primary has not yet finished stepping up, this can cause the bulk insert to fail

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: