Wait for primary after replica set restart in disable_resumable_range_deleter.js

XMLWordPrintableJSON

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

      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
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: