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

Catch staleConfig errors in kill_rooted_or.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-02-05
    • 5
    • 1

      The kill_rooted_or.js test is running concurrent dropCollection and index modification commands. This test is already handling certain errors that can be bubbled up to the user when a command fails due to the collection being concurrently dropped.

      With the introduction of SERVER-80372, though, the probability of hitting a staleConfig error due to concurrent dropCollection has increased. This is because there is a longer period of time between the implicit creation of the collection and the creation of the index, making it more likely that a collection drop can start and grab the critical section while a createIndex is running.

      This ticket is to add StaleConfig to the list of accepted errors due to the collection being dropped.

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

              Created:
              Updated:
              Resolved: