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

Move direct connection warnings to the collection acquisition (and AutoGetCollection)

    • Catalog and Routing
    • Fully Compatible
    • v8.0, v7.3, v7.0
    • CAR Team 2024-04-01, CAR Team 2024-04-15
    • 143

      In SERVER-86796, the checks for erroring on direct connections were moved to the collection acquisitions and the auto getters. However, this left the warnings in the service entry point due to the requirement that the warning only be emitted once per hour.

      It would be preferable, though, to unify these paths so that the warnings are emitted on the same operations that will later become errors.

      In this ticket, we should unify these paths while maintaining the property that a warning should only be logged once per hour.

            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: