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

Cleanup the interface and comments of ReadThroughCache

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-01-24

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: