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

drop_database_before_write_is_targeted.js is not compatible with config stepdown suites

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 5.0.29, 8.0.0-rc17, 6.0.18, 7.0.14
    • Affects Version/s: 7.0.13, 6.0.17, 5.0.29, 8.0.0-rc17
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0, v5.0
    • CAR Team 2024-08-19
    • 0

      SERVER-83146 added a retry loop on the router targete in case the createDatabase fails with a NamespaceNotFound error. However, this loop does not handle FailedToSatisfyReadPreference errors which could happen in the presence of a config server stepdowns, and it shouldn't, as it is not a retriable error. We should add a tag to the test to prevent it from running in config server stepdown suites.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: