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

Ensure check_metadata_consistency.js use retriable writes when contacting config server

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.9, 8.1.0-rc0, 8.0.0-rc1, 7.3.2
    • Affects Version/s: 7.0.0, 7.3.0-rc0, 8.0.0-rc0
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0
    • CAR Team 2024-04-15
    • 14
    • 2

      change_metadata_consistency.js often attempts to access to the config server for inserts or updates in order to force an inconsistency and make sure those would be check by the command.

      MongoS will not automatically retry those writes in case there is a CSRS stepdown. There was a first attempt to fix this problem at SERVER-82706, by opening a session to the CSRS with retry writes. Apparently, there are more places in the test where we contact the CSRS without retry writes (here).

      The goal of this ticket is to use the configdb session with retriable writes on all the places in the test.

            Assignee:
            robert.sander@mongodb.com Robert Sander
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: