Use explicit read concern in SessionsCollection

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding NYC 2022-06-13
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/10gen/mongo/blob/6ff7c3a190cde6d3407fd5fae9006911a2216293/src/mongo/db/sessions_collection.cpp#L241 Here, we are using the implicit default read concern when we want to use read concern local. This is not ideal since the default read concern can be changed by the client. It would be better to use the local read concern explicitly here.

            Assignee:
            Abdul Qadeer
            Reporter:
            Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: