SERVER-102582ClosedFixed

Disallow overriding readConcern on $listClusterCatalog

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|https://github.com/10gen/mongo/blob/9ca4e977abb03dbf016137dfdbab270ba2554e4b/src/mongo/shell/session.js#L161-L191], and probably [this one|https://github.com/10gen/mongo/blob/3d9399

Affected Versions
Versions known to exhibit this issue
8.1.0-rc0
Fixed Versions
Versions that include the fix
8.2.0-rc08.1.1
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.