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

Set $_internalListCollections as kRunOnceAnyNode instead of kLocalOnly

    • 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 2024-12-23, CAR Team 2025-01-06, CAR Team 2025-01-20

      The $_internalListCollections has temporally been set as HostTypeRequirement::kLocalOnly to make sure it was running once on the entire cluster.

      Ideally, it should have been set to HostTypeRequirement::kRunOnceAnyNode, but it didn't work as expected because:

       

      This task aims to set $_internalListCollections as HostTypeRequirement::kRunOnceAnyNode and update the logic under the aggregation machinery to make sure it's only executed once.

       

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: