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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc4, 7.3.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 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: