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

Use explicit read concern in SessionsCollection

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

      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@mongodb.com Abdul Qadeer
            Reporter:
            gabriel.marks@mongodb.com Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: