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

Cleanup the interface and comments of ReadThroughCache

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-01-24

      As a result of the changes for SERVER-59148, a new method has been introduced to retrieve values from the ReadThroughCache. This method neither conforms to the naming convention of the rest of the methods, nor does it explain what are the consistency guarantees that it provides with respect to concurrent in-progress look-ups or values that are newer in the store.

      Furthermore, there is a race condition, where maps are accessed without lock.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: