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

Stop exposing AutoGetCollectionForReadCommandMaybeLockFree on the AggCatalogState public API

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-01-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In order to switch aggregations to use ShardRole acquisitions instead of AutoGet, we first need to remove references to AutoGetters from the public AggCatalogState API. "virtual const AutoGetCollectionForReadCommandMaybeLockFree& getCtx() const" could be replaced by a pair of methods that return the underlying CollectionPtr or ViewDefinition.

            Assignee:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: