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

Disallow overriding readConcern on $listClusterCatalog

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: 8.1.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.1, v8.0
    • CAR Team 2025-03-31
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now, any aggregation command will override its readConcern if the command runs under a session.
      However, the $listClusterCatalog command can only run with a 'local' read concern (because the listCollections command running under the hood only accepts 'local' read concern. Therefore, we should update this code, and probably this one too, to disallow the override of the read concern in this case.

      With this ticket, we should be able to remove the tag `assumes_read_concern_unchanged` from all the tests running $listClusterCatalog aggregation.

            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:
              None
              None
              None
              None